Skip to content
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -188,9 +188,12 @@ if(KOKKOSTOOLS_HAS_VARIORUM)
endif()

# GPU profilers
if(Kokkos_ENABLE_CUDA)
if(KOKKOSTOOLS_HAS_NVTX)
add_subdirectory(profiling/nvtx-connector)
add_subdirectory(profiling/nvtx-focused-connector)
else()
message(STATUS "Skipping nvtx-connector: NVTX is not enabled (maybe Kokkos was not found, or not configured with the CUDA backend)")
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I feel like that the message is potentially confusing, I would do just

Suggested change
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-connector (NVTX disabled)")

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)
add_subdirectory(profiling/roctx-connector)
Expand Down
Loading