kokkos / kokkos-tutorials

Tutorials for the Kokkos C++ Performance Portability Programming Ecosystem
https://kokkos.org
Other
298 stars 100 forks source link

Fix Begin for advanced_reductions and parallel_scan #104

Open masterleinad opened 2 days ago

masterleinad commented 2 days ago

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.