From 3d0d2cb2b88c006aa17b2a5a0dc477e6787b9e1e Mon Sep 17 00:00:00 2001 From: Mickael Ide Date: Wed, 13 Mar 2024 17:38:58 +0100 Subject: [PATCH] Revert nvtx Signed-off-by: Mickael Ide --- cpp/CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cpp/CMakeLists.txt b/cpp/CMakeLists.txt index 324a6e03cb..650bc1a059 100644 --- a/cpp/CMakeLists.txt +++ b/cpp/CMakeLists.txt @@ -259,7 +259,7 @@ endif() if(RAFT_NVTX) # This enables NVTX within the project with no option to disable it downstream. - target_link_libraries(raft INTERFACE CUDA::nvtx3) + target_link_libraries(raft INTERFACE CUDA::nvToolsExt) target_compile_definitions(raft INTERFACE NVTX_ENABLED) else() # Allow enable NVTX downstream if not set here. This creates a new option at build/install time, @@ -277,7 +277,7 @@ else() "\" OFF)" [=[ -target_link_libraries(raft::raft INTERFACE $<$:CUDA::nvtx3>) +target_link_libraries(raft::raft INTERFACE $<$:CUDA::nvToolsExt>) target_compile_definitions(raft::raft INTERFACE $<$:NVTX_ENABLED>) ]=]