Using KOKKOS_CLASS_LAMBDA in a class with Kokkos::Random_XorShift64_Pool member data #1696
Labels
Bug
Broken / incorrect code; it could be Kokkos' responsibility, or others’ (e.g., Trilinos)
Milestone
It seems to me that in order to use KOKKOS_CLASS_LAMBDA on device code, say CUDA, the class copy constructor has to be
KOKKOS_FUNCTION
. But the memberKokkos::Random_XorShift64_Pool
data doesn't haveKOKKOS_FUNCTION
copy ctor so I'm stuck. Consider the following code for example:This gives error in clang 6 + cuda 9:
Is there a way around this? @ibaned I saw your https://github.com/ibaned/lambda_users_guide post but am I missing something here?
The text was updated successfully, but these errors were encountered: