Skip to content

Commit 1507468

Browse files
committed
Allow invalid CUDA kernels in the short term
1 parent f64d46f commit 1507468

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

cpp/cmake/modules/ConfigureCUDA.cmake

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,12 @@ if(CMAKE_COMPILER_IS_GNUCXX)
2929
if(CMAKE_CUDA_COMPILER_VERSION VERSION_GREATER_EQUAL 11.2.0)
3030
list(APPEND RAFT_CUDA_FLAGS -Werror=all-warnings)
3131
endif()
32+
33+
# Allow invalid CUDA kernels in the short term
34+
if(CMAKE_CUDA_COMPILER_VERSION VERSION_GREATER_EQUAL 12.8.0)
35+
list(APPEND RAFT_CUDA_FLAGS -static-global-template-stub=false )
36+
endif()
37+
3238
endif()
3339

3440
if(CUDA_LOG_COMPILE_TIME)

0 commit comments

Comments
 (0)