Related to https://github.com/kokkos/kokkos-tutorials/pull/101/files#r1854601705. The point is to write the interfaces so that the calls to parallel_reduce and parallel_scan compile and are correct. Hence, we shouldn't actually call them in Begin so that the example still compiles.
Related to https://github.com/kokkos/kokkos-tutorials/pull/101/files#r1854601705. The point is to write the interfaces so that the calls to
parallel_reduce
andparallel_scan
compile and are correct. Hence, we shouldn't actually call them inBegin
so that the example still compiles.