From a15e441a55e9acfb3618a6065b3afc12ad614110 Mon Sep 17 00:00:00 2001 From: Tamas Bela Feher Date: Fri, 18 Nov 2022 10:09:01 +0100 Subject: [PATCH] Suppres ptxas stack size warning in debug mode --- cpp/cmake/modules/ConfigureCUDA.cmake | 1 + 1 file changed, 1 insertion(+) 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()