@@ -20,17 +20,16 @@ include(FetchContent)
2020FetchContent_Declare(
2121 fmt
2222 GIT_REPOSITORY https://github.com/fmtlib/fmt.git
23- GIT_TAG master
24- GIT_SHALLOW TRUE
23+ GIT_TAG 11.1.2
2524)
2625FetchContent_MakeAvailable(fmt)
2726
28- # Fetch GBenchmark and surpress internal tests.
27+ # Fetch GBenchmark and suppress internal tests.
2928# https://github.com/google/benchmark/blob/main/docs/user_guide.md#using-register-benchmark
3029FetchContent_Declare(
3130 benchmark
3231 GIT_REPOSITORY https://github.com/google/benchmark.git
33- GIT_TAG v1.8.3
32+ GIT_TAG v1.9.1
3433)
3534set (BENCHMARK_ENABLE_TESTING OFF )
3635set (BENCHMARK_ENABLE_INSTALL OFF )
@@ -44,19 +43,19 @@ FetchContent_MakeAvailable(benchmark)
4443# Nvidia CCCL can be configured with Intel TBB.
4544# https://github.com/rapidsai/cuml/issues/3540
4645FetchContent_Declare(
47- cccl
46+ CCCL
4847 GIT_REPOSITORY https://github.com/nvidia/cccl.git
49- GIT_TAG v2.2 .0
48+ GIT_TAG v2.7 .0
5049 GIT_SHALLOW TRUE
5150)
52- FetchContent_MakeAvailable(cccl )
51+ FetchContent_MakeAvailable(CCCL )
5352
5453# We need TBB for Parallel CPU Algorithms in GCC.
5554# https://github.com/oneapi-src/oneTBB/blob/onetbb_2021/cmake/README.md
5655FetchContent_Declare(
5756 TBB
5857 GIT_REPOSITORY https://github.com/oneapi-src/oneTBB.git
59- GIT_TAG v2021.11 .0
58+ GIT_TAG v2022.0 .0
6059 GIT_SHALLOW TRUE
6160)
6261set (TBB_TEST OFF CACHE BOOL "Do not build TBB tests" FORCE)
@@ -69,7 +68,7 @@ set(CMAKE_CUDA_FLAGS_RELEASE "${CMAKE_CXX_FLAGS_RELEASE} -O2")
6968
7069set (CMAKE_GCC_FLAGS "${CMAKE_GCC_FLAGS} -march=native -fopenmp" )
7170
72- # Add CUDA and cccl dependencies
71+ # Add CUDA and CCCL dependencies
7372find_package (Threads REQUIRED)
7473
7574add_executable (reduce_bench reduce_bench.cpp)
@@ -87,7 +86,7 @@ if(OpenCL_FOUND)
8786 target_link_libraries (reduce_bench OpenCL::OpenCL)
8887endif ()
8988
90- # List of all possibkle compiler IDs:
89+ # List of all possible compiler IDs:
9190# https://cmake.org/cmake/help/latest/variable/CMAKE_LANG_COMPILER_ID.html
9291if (CMAKE_CUDA_COMPILER_ID STREQUAL "NVIDIA" OR CMAKE_CUDA_COMPILER_ID STREQUAL "NVHPC" )
9392 enable_language (CUDA)
0 commit comments