diff --git a/cpp/cmake/modules/ConfigureCUDA.cmake b/cpp/cmake/modules/ConfigureCUDA.cmake index 9b029a5242..5e68ca5bc4 100644 --- a/cpp/cmake/modules/ConfigureCUDA.cmake +++ b/cpp/cmake/modules/ConfigureCUDA.cmake @@ -47,4 +47,5 @@ endif() if(CMAKE_BUILD_TYPE MATCHES Debug) message(VERBOSE "RAFT: Building with debugging flags") list(APPEND RAFT_CUDA_FLAGS -G -Xcompiler=-rdynamic) + list(APPEND RAFT_CUDA_FLAGS -Xptxas --suppress-stack-size-warning) endif()