You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am building an application off of a cuda-enabled trilinos and getting a zillion kokkos-related warnings similar to
/projects/draco/vendors/trilinos-12.14.1/power9-gcc-7.3.0-openmpi-3.1.3-cuda-10.1-b/include/Kokkos_MemoryPool.hpp(314): warning: __device__ annotation is ignored on a function("MemoryPool") that is explicitly defaulted on its first declaration
I mentioned this in the kokkos slack and Christian suggested this is a Cuda 10.1 thing.
Looks like someone was seeing similar warnings in #1985
The text was updated successfully, but these errors were encountered:
@crtrott I think the latest CUDA versions (10.1) do generate the right device code for defaulted member functions, so I think when CUDA is new enough we should just not mark defaulted functions with __host__ __device__. Then we can also omit the diagnostic suppression flag.
@ibaned@crtrott@berselius The current version (develop - Release 3.0) of Makefile.kokkos and cmake/kokkos_arch.cmake automatically add the --diag_suppress=esa_on_defaulted_function_ignored if the compiler version is greater than 9.0
I am building an application off of a cuda-enabled trilinos and getting a zillion kokkos-related warnings similar to
/projects/draco/vendors/trilinos-12.14.1/power9-gcc-7.3.0-openmpi-3.1.3-cuda-10.1-b/include/Kokkos_MemoryPool.hpp(314): warning: __device__ annotation is ignored on a function("MemoryPool") that is explicitly defaulted on its first declaration
I mentioned this in the kokkos slack and Christian suggested this is a Cuda 10.1 thing.
Looks like someone was seeing similar warnings in #1985
The text was updated successfully, but these errors were encountered: