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