File tree Expand file tree Collapse file tree 1 file changed +1
-1
lines changed
Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Original file line number Diff line number Diff line change @@ -53,7 +53,7 @@ if(ENABLE_CUDA)
5353
5454 # Forward CXX flags to CUDA C++ Host compiler (for warnings, gdb, etc.)
5555 STRING (REGEX REPLACE "\- std=[^ ]*" "" CMAKE_CXX_FLAGS_NOSTD ${CMAKE_CXX_FLAGS} ) # Need to strip c++17 imposed by alidist defaults
56- set (CMAKE_CUDA_FLAGS "${CMAKE_CUDA_FLAGS} -Xcompiler \" ${CMAKE_CXX_FLAGS_NOSTD} \" --expt-relaxed-constexpr --extended-lambda -Xptxas -v" )
56+ set (CMAKE_CUDA_FLAGS "${CMAKE_CUDA_FLAGS} -Xcompiler \" ${CMAKE_CXX_FLAGS_NOSTD} \" --expt-relaxed-constexpr --extended-lambda --allow-unsupported-compiler - Xptxas -v" )
5757 set (CMAKE_CUDA_FLAGS_DEBUG "${CMAKE_CUDA_FLAGS_DEBUG} -lineinfo -Xcompiler \" ${CMAKE_CXX_FLAGS_DEBUG} \" -Xptxas -O0 -Xcompiler -O0" )
5858 if (NOT CMAKE_BUILD_TYPE STREQUAL "DEBUG" )
5959 set (CMAKE_CUDA_FLAGS_${CMAKE_BUILD_TYPE} "${CMAKE_CUDA_FLAGS_${CMAKE_BUILD_TYPE} } -Xcompiler \" ${CMAKE_CXX_FLAGS_${CMAKE_BUILD_TYPE} }\" -Xptxas -O4 -Xcompiler -O4 -use_fast_math --ftz=true" )
You can’t perform that action at this time.
0 commit comments