Skip to content

Avoid depending on Kokkos configuration to enable tools #268

@dalg24

Description

@dalg24

Prompted by spack/spack#45382 (comment)
We should build the NVTX or ROC-TX just based whether we can detect CUDA or ROCm, respectively. It makes little sense to tie this to the setting of Kokkos.

kokkos-tools/CMakeLists.txt

Lines 190 to 197 in 7604355

# GPU profilers
if(Kokkos_ENABLE_CUDA)
add_subdirectory(profiling/nvtx-connector)
add_subdirectory(profiling/nvtx-focused-connector)
endif()
if(Kokkos_ENABLE_HIP)
add_subdirectory(profiling/roctx-connector)
endif()

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions