Skip to content

Commit

Permalink
Begin supporting nvcc+xl on darwin P9. (#1134)
Browse files Browse the repository at this point in the history
  • Loading branch information
KineticTheory authored Sep 14, 2021
1 parent 0a0a951 commit 3b81b75
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion config/unix-cuda.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,8 @@ if(NOT CUDA_FLAGS_INITIALIZED)
if(CMAKE_CXX_COMPILER_ID MATCHES "XL")
string(APPEND CMAKE_CUDA_FLAGS " -DCUB_IGNORE_DEPRECATED_CPP_DIALECT"
" -DTHRUST_IGNORE_DEPRECATED_CPP_DIALECT")
string(APPEND CMAKE_CUDA_FLAGS " -ccbin ${CMAKE_CXX_COMPILER} -Xcompiler -std=c++14")
string(APPEND CMAKE_CUDA_FLAGS " -ccbin ${CMAKE_CXX_COMPILER} -Xcompiler -std=c++14"
" -Xcompiler -qxflag=disable__cplusplusOverride")
if(EXISTS /usr/gapps)
# ATS-2
string(APPEND CMAKE_CUDA_FLAGS " -Xcompiler --gcc-toolchain=/usr/tce/packages/gcc/gcc-8.3.1"
Expand Down

0 comments on commit 3b81b75

Please sign in to comment.