Skip to content

Commit

Permalink
Add cuco::cuco to list of linked libraries (#279)
Browse files Browse the repository at this point in the history
  • Loading branch information
trxcllnt authored Jun 24, 2021
1 parent caa44e6 commit 03e666e
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
1 change: 1 addition & 0 deletions cpp/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -131,6 +131,7 @@ INTERFACE
CUDA::cudart
CUDA::cusparse
rmm::rmm
cuco::cuco
)

target_compile_features(raft INTERFACE cxx_std_17 $<BUILD_INTERFACE:cuda_std_17>)
Expand Down
10 changes: 8 additions & 2 deletions cpp/cmake/thirdparty/get_cuco.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,17 @@

function(find_and_configure_cuco VERSION)

if(TARGET cuco::cuco)
return()
endif()

rapids_cpm_find(cuco ${VERSION}
GLOBAL_TARGETS cuco cuco::cuco
BUILD_EXPORT_SET raft-exports
INSTALL_EXPORT_SET raft-exports
CPM_ARGS
GIT_REPOSITORY https://github.com/NVIDIA/cuCollections.git
GIT_TAG e5e2abe55152608ef449ecf162a1ef52ded19801
GIT_REPOSITORY https://github.com/trxcllnt/cuCollections.git
GIT_TAG dev
OPTIONS "BUILD_TESTS OFF"
"BUILD_BENCHMARKS OFF"
"BUILD_EXAMPLES OFF"
Expand Down

0 comments on commit 03e666e

Please sign in to comment.