Skip to content

Commit

Permalink
Update cub/test/CMakeLists.txt
Browse files Browse the repository at this point in the history
Co-authored-by: Allison Piper <[email protected]>
  • Loading branch information
bernhardmgruber and alliepiper authored May 2, 2024
1 parent a2a7a6f commit 1dcecdf
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions cub/test/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,14 @@ option(METAL_BUILD_EXAMPLES OFF)
option(METAL_BUILD_TESTS OFF)
CPMAddPackage("gh:brunocodutra/[email protected]")

CPMAddPackage(NAME NVTX GITHUB_REPOSITORY NVIDIA/NVTX GIT_TAG release-v3 DOWNLOAD_ONLY True SYSTEM)
add_subdirectory(${NVTX_SOURCE_DIR}/c ${NVTX_BINARY_DIR}/c)
CPMAddPackage(
NAME NVTX
GITHUB_REPOSITORY NVIDIA/NVTX
GIT_TAG release-v3
DOWNLOAD_ONLY
SYSTEM
)
include("${NVTX_SOURCE_DIR}/c/nvtxImportedTargets.cmake")

find_package(CUDAToolkit)

Expand Down

0 comments on commit 1dcecdf

Please sign in to comment.