File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -61,13 +61,13 @@ if(USE_CUDA)
6161 message (STATUS "No CUDA-capable GPU found. Skipping CUDA target." )
6262 endif ()
6363 else ()
64- message (FATAL_ERROR "No CUDA found" )
64+ message (STATUS "No CUDA found" )
6565 endif ()
6666
67- set (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -g -O4 -Wall -Wextra" )
68- set (CMAKE_CUDA_FLAGS "${CMAKE_CUDA_FLAGS} -g -O4 -Wall -Wextra -rdc=true --extended-lambda -Xcompiler -std=c++17" )
6967
7068 if (BUILD_GPU_TARGET)
69+ set (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -g -O4 -Wall -Wextra" )
70+ set (CMAKE_CUDA_FLAGS "${CMAKE_CUDA_FLAGS} -g -O4 -Wall -Wextra -rdc=true --extended-lambda -Xcompiler -std=c++17" )
7171 set (SRC_FILES src/tree_generation.cu
7272 src/placement.cu
7373 src/mash.cu
@@ -135,7 +135,7 @@ elseif(USE_HIP)
135135 message (STATUS "No AMD GPU detected. Skipping HIP target." )
136136 endif ()
137137 else ()
138- message (FATAL_ERROR "No HIP found" )
138+ message (STATUS "No HIP found" )
139139 endif ()
140140endif ()
141141
You can’t perform that action at this time.
0 commit comments