Skip to content

Commit

Permalink
Add status message when roctx-connector is not built
Browse files Browse the repository at this point in the history
Signed-off-by: Carl Pearson <[email protected]>
  • Loading branch information
cwpearson committed Jan 16, 2025
1 parent 8db3a27 commit 356bb4a
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -195,8 +195,10 @@ else()
message(STATUS "Skipping nvtx-connector: NVTX is not enabled (maybe Kokkos was not found, or not configured with the CUDA backend)")
message(STATUS "Skipping nvtx-focused-connector: NVTX is not enabled (maybe Kokkos was not found, or not configured with the CUDA backend)")
endif()
if(Kokkos_ENABLE_HIP)
if(KOKKOSTOOLS_HAS_ROCTX)
add_subdirectory(profiling/roctx-connector)
else()
message(STATUS "Skipping roctx-connector: ROCTX is not enabled (maybe Kokkos was not found, or not configured with the HIP backend)")
endif()

if(KOKKOSTOOLS_HAS_VTUNE)
Expand Down

0 comments on commit 356bb4a

Please sign in to comment.