File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -211,7 +211,7 @@ if(WITH_ILUVATAR)
211211 # `-x ivcore` must not be in `CMAKE_CUDA_FLAGS` — CMake passes those flags
212212 # to both compile and link steps. During linking, `-x ivcore` causes
213213 # `clang++` to re-parse `.o` files as source code.
214- set (CMAKE_CUDA_FLAGS "--cuda-gpu-arch=${ILUVATAR_ARCH} -fPIC -Wno-error=unused-variable -Wno-error=unused-private-field -Wno-unused-variable" CACHE STRING "Iluvatar CUDA flags" )
214+ set (CMAKE_CUDA_FLAGS "--cuda-gpu-arch=${ILUVATAR_ARCH} -fPIC -Wno-error=unused-variable -Wno-error=unused-private-field -Wno-unused-variable -std=c++17 " CACHE STRING "Iluvatar CUDA flags" )
215215 set (CMAKE_CUDA_SEPARABLE_COMPILATION OFF CACHE BOOL "Disable RDC for Iluvatar" )
216216 set (CMAKE_CUDA_ARCHITECTURES OFF CACHE STRING "Iluvatar CUDA architectures (passed via CMAKE_CUDA_FLAGS)" )
217217 # Iluvatar does not ship `libcudadevrt`, which CMake's compiler test
You can’t perform that action at this time.
0 commit comments