Skip to content

Commit

Permalink
Kokkos Tools CMakeLists.txt: nvtx filename, KOKKOSTOOLS_HAS_NVTX env …
Browse files Browse the repository at this point in the history
…variable
  • Loading branch information
vlkale committed Aug 24, 2023
1 parent 3d77484 commit 679bbd3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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})
Expand Down Expand Up @@ -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)
Expand Down

0 comments on commit 679bbd3

Please sign in to comment.