Skip to content

Find{Threads,MPI}: Add support for CUDA with Clang

Tobias Ribizel requested to merge upsj/cmake:fix_clang_cuda_pthreads into master

Currently CMake passes -Xcompiler -pthread flags to CUDA compilers irrespective of the actual CUDA compiler ID. This MR makes sure the additional -Xcompiler flag is only used with nvcc.

Topic-rename: cuda-clang-pthreads

Edited by Brad King

Merge request reports