From 164f317f445127665a78fbd91a5889990e92df3f Mon Sep 17 00:00:00 2001 From: Vivek Kale <11766050+vlkale@users.noreply.github.com> Date: Thu, 20 Jul 2023 15:09:28 -0700 Subject: [PATCH] Update kp_all.cpp --- profiling/all/kp_all.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/profiling/all/kp_all.cpp b/profiling/all/kp_all.cpp index d6bc5e283..b60f61d5a 100644 --- a/profiling/all/kp_all.cpp +++ b/profiling/all/kp_all.cpp @@ -46,7 +46,7 @@ KOKKOSTOOLS_EXTERN_EVENT_SET(VTuneFocusedConnector) #ifdef KOKKOSTOOLS_HAS_VARIORUM KOKKOSTOOLS_EXTERN_EVENT_SET(VariorumConnector) #endif -#ifdef KOKKOSTOOLS_HAS_NVPROF +#ifdef KOKKOSTOOLS_HAS_NVTX KOKKOSTOOLS_EXTERN_EVENT_SET(NVProfConnector) KOKKOSTOOLS_EXTERN_EVENT_SET(NVTXFocusedConnector) #endif @@ -86,7 +86,7 @@ EventSet get_event_set(const char* profiler, const char* config_str) { #ifdef KOKKOSTOOLS_HAS_CALIPER handlers["caliper"] = cali::get_kokkos_event_set(config_str); #endif -#ifdef KOKKOSTOOLS_HAS_NVPROF +#ifdef KOKKOSTOOLS_HAS_NVTX handlers["nvprof-connector"] = NVProfConnector::get_event_set(); handlers["nvtx-focused-connector"] = NVTXFocusedConnector::get_event_set(); #endif