Skip to content

Conversation

@matt-stack
Copy link

@matt-stack matt-stack commented Oct 28, 2021

(sorry for the bad naming of my branch)

nvcc defines _ _ CUDA_ARCH _ _ while nvc++ seems to defines _ _ NVCOMPILER_CUDA_ARCH _ _

This is to prevent this error from happening when compiling a test case:
Kokkos::Cuda::initialize ERROR: likely mismatch of architecture

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant