Skip to content

Commit

Permalink
Update kp_all.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
vlkale authored Jul 20, 2023
1 parent 56031cb commit 164f317
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions profiling/all/kp_all.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 164f317

Please sign in to comment.