Skip to content

Commit d028945

Browse files
committed
CMake support for CUB headers download
1 parent 40b2201 commit d028945

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

CMakeLists.txt

+5
Original file line numberDiff line numberDiff line change
@@ -91,3 +91,8 @@ caffe_print_configuration_summary()
9191

9292
# ---[ Export configs generation
9393
caffe_generate_export_configs()
94+
95+
# ---[ CUB Memory Manager
96+
set(CUB_VERSION "1.5.2")
97+
set(THIRDPARTY_DIR ./3rdparty)
98+
execute_process(COMMAND ${THIRDPARTY_DIR}/getCUB.sh ${CUB_VERSION})

0 commit comments

Comments
 (0)