File tree Expand file tree Collapse file tree 2 files changed +8
-21
lines changed Expand file tree Collapse file tree 2 files changed +8
-21
lines changed Original file line number Diff line number Diff line change @@ -177,8 +177,8 @@ include(cmake/modules/ConfigureCUDA.cmake)
177
177
rapids_cpm_init ()
178
178
179
179
if (NOT BUILD_CPU_ONLY )
180
- # thrust before rmm/cuco so we get the right version of thrust/cub
181
- include (cmake/thirdparty/get_thrust .cmake )
180
+ # CCCL before rmm/cuco so we get the right version of CCCL
181
+ include (cmake/thirdparty/get_cccl .cmake )
182
182
include (cmake/thirdparty/get_rmm.cmake )
183
183
include (cmake/thirdparty/get_cutlass.cmake )
184
184
@@ -206,7 +206,7 @@ target_include_directories(
206
206
207
207
if (NOT BUILD_CPU_ONLY )
208
208
# Keep RAFT as lightweight as possible. Only CUDA libs and rmm should be used in global target.
209
- target_link_libraries (raft INTERFACE rmm::rmm cuco::cuco nvidia::cutlass::cutlass raft::Thrust )
209
+ target_link_libraries (raft INTERFACE rmm::rmm cuco::cuco nvidia::cutlass::cutlass CCCL::CCCL )
210
210
endif ()
211
211
212
212
target_compile_features (raft INTERFACE cxx_std_17 $< BUILD_INTERFACE:cuda_std_17> )
@@ -628,16 +628,6 @@ Imported Targets:
628
628
629
629
set (code_string ${nvtx_export_string} )
630
630
631
- string (
632
- APPEND
633
- code_string
634
- [=[
635
- if(NOT TARGET raft::Thrust)
636
- thrust_create_target(raft::Thrust FROM_OPTIONS)
637
- endif()
638
- ]=]
639
- )
640
-
641
631
string (
642
632
APPEND
643
633
code_string
Original file line number Diff line number Diff line change 12
12
# the License.
13
13
# =============================================================================
14
14
15
- # Use CPM to find or clone thrust
16
- function (find_and_configure_thrust )
17
- include (${rapids-cmake-dir}/cpm/thrust.cmake )
18
-
19
- rapids_cpm_thrust ( NAMESPACE raft
20
- BUILD_EXPORT_SET raft-exports
21
- INSTALL_EXPORT_SET raft-exports )
15
+ # Use CPM to find or clone CCCL
16
+ function (find_and_configure_cccl )
17
+ include (${rapids-cmake-dir}/cpm/cccl.cmake )
18
+ rapids_cpm_cccl (BUILD_EXPORT_SET raft-exports INSTALL_EXPORT_SET raft-exports )
22
19
endfunction ()
23
20
24
- find_and_configure_thrust ()
21
+ find_and_configure_cccl ()
You can’t perform that action at this time.
0 commit comments