Closed Fuad-HH closed 6 months ago
If compiled with Kokkos SERIAL, /particle_structs/test/sortTest.cpp doesn't compile and throws the following error:
/particle_structs/test/sortTest.cpp
/lore/hasanm4/wsources/pumirelated/pumi-pic/particle_structs/test/sortTest.cpp: In lambda function: /lore/hasanm4/wsources/pumirelated/pumi-pic/particle_structs/test/sortTest.cpp:80:12: error: 'thrustSorted' was not declared in this scope 80 | assert(thrustSorted(i) == kokkosSorted(i)); | ^~~~~~~~~~~~ gmake[2]: *** [particle_structs/test/CMakeFiles/sortTest.dir/build.make:76: particle_structs/test/CMakeFiles/sortTest.dir/sortTest.cpp.o] Error 1
I have moved this assertion inside the PP_USE_CUDA section.
PP_USE_CUDA
If compiled with Kokkos SERIAL,
/particle_structs/test/sortTest.cpp
doesn't compile and throws the following error:I have moved this assertion inside the
PP_USE_CUDA
section.