From 679bbd3645d0033fa91d7f44a8f6bde5dbcb7015 Mon Sep 17 00:00:00 2001 From: Vivek Kale Date: Thu, 24 Aug 2023 11:48:50 -0700 Subject: [PATCH] Kokkos Tools CMakeLists.txt: nvtx filename, KOKKOSTOOLS_HAS_NVTX env variable --- CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index bf815472c..428402c1a 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -95,7 +95,7 @@ endif() include(cmake/configure_variorum.cmake) set(KOKKOSTOOLS_HAS_CALIPER ${KokkosTools_ENABLE_CALIPER}) -set(KOKKOSTOOLS_HAS_NVPROF ${Kokkos_ENABLE_CUDA}) # we assume that enabling CUDA for Kokkos program means nvprof should be available +set(KOKKOSTOOLS_HAS_NVTX ${Kokkos_ENABLE_CUDA}) # we assume that enabling CUDA for Kokkos program means nvtx should be available if(DEFINED ENV{VTUNE_HOME}) set(VTune_ROOT $ENV{VTUNE_HOME}) @@ -180,7 +180,7 @@ endif() # GPU profilers if(Kokkos_ENABLE_CUDA) add_subdirectory(profiling/nvtx-connector) - add_subdirectory(profiling/nvprof-focused-connector) + add_subdirectory(profiling/nvtx-focused-connector) endif() if(Kokkos_ENABLE_HIP) add_subdirectory(profiling/roctx-connector)