Loading .gitmodules +3 −0 Original line number Diff line number Diff line Loading @@ -7,3 +7,6 @@ [submodule "benchmark/bwtree/BwTree"] path = benchmark/bwtree/BwTree url = https://github.com/wangziqi2013/BwTree.git [submodule "benchmark/cuco/cuCollections"] path = benchmark/cuco/cuCollections url = https://github.com/NVIDIA/cuCollections.git benchmark/cuco/.gitignore 0 → 100644 +3 −0 Original line number Diff line number Diff line !CPM.cmake _deps CPM_modules No newline at end of file benchmark/cuco/CMakeLists.txt 0 → 100644 +20 −0 Original line number Diff line number Diff line cmake_minimum_required(VERSION 3.14) project(cuco) include(../_common/CMakeLists.txt) include(cmake/CPM.cmake) cpmaddpackage(NAME cuco GITHUB_REPOSITORY NVIDIA/cuCollections GIT_TAG dev) set(CMAKE_CXX_STANDARD 17) set(CMAKE_CXX_STANDARD_REQUIRED ON) set(CMAKE_CUDA_STANDARD 17) set(CMAKE_CUDA_STANDARD_REQUIRED ON) find_package(cuco REQUIRED) set(CMAKE_CUDA_FLAGS "${CMAKE_CUDA_FLAGS} --extended-lambda") add_executable(cuco_map cuco_map.cu) target_link_libraries(cuco_map PRIVATE cuco) benchmark/cuco/cmake/CPM.cmake 0 → 100644 +19 −0 Original line number Diff line number Diff line set(CPM_DOWNLOAD_VERSION 0.27.3) if(CPM_SOURCE_CACHE) set(CPM_DOWNLOAD_LOCATION "${CPM_SOURCE_CACHE}/cpm/CPM_${CPM_DOWNLOAD_VERSION}.cmake") elseif(DEFINED ENV{CPM_SOURCE_CACHE}) set(CPM_DOWNLOAD_LOCATION "$ENV{CPM_SOURCE_CACHE}/cpm/CPM_${CPM_DOWNLOAD_VERSION}.cmake") else() set(CPM_DOWNLOAD_LOCATION "${CMAKE_BINARY_DIR}/cmake/CPM_${CPM_DOWNLOAD_VERSION}.cmake") endif() if(NOT (EXISTS ${CPM_DOWNLOAD_LOCATION})) message(STATUS "Downloading CPM.cmake to ${CPM_DOWNLOAD_LOCATION}") file(DOWNLOAD https://github.com/TheLartians/CPM.cmake/releases/download/v${CPM_DOWNLOAD_VERSION}/CPM.cmake ${CPM_DOWNLOAD_LOCATION} ) endif() include(${CPM_DOWNLOAD_LOCATION}) cuCollections @ 0b672bbd Original line number Diff line number Diff line Subproject commit 0b672bbde7c85a79df4d7ca5f82e15e5b4a57700 Loading
.gitmodules +3 −0 Original line number Diff line number Diff line Loading @@ -7,3 +7,6 @@ [submodule "benchmark/bwtree/BwTree"] path = benchmark/bwtree/BwTree url = https://github.com/wangziqi2013/BwTree.git [submodule "benchmark/cuco/cuCollections"] path = benchmark/cuco/cuCollections url = https://github.com/NVIDIA/cuCollections.git
benchmark/cuco/.gitignore 0 → 100644 +3 −0 Original line number Diff line number Diff line !CPM.cmake _deps CPM_modules No newline at end of file
benchmark/cuco/CMakeLists.txt 0 → 100644 +20 −0 Original line number Diff line number Diff line cmake_minimum_required(VERSION 3.14) project(cuco) include(../_common/CMakeLists.txt) include(cmake/CPM.cmake) cpmaddpackage(NAME cuco GITHUB_REPOSITORY NVIDIA/cuCollections GIT_TAG dev) set(CMAKE_CXX_STANDARD 17) set(CMAKE_CXX_STANDARD_REQUIRED ON) set(CMAKE_CUDA_STANDARD 17) set(CMAKE_CUDA_STANDARD_REQUIRED ON) find_package(cuco REQUIRED) set(CMAKE_CUDA_FLAGS "${CMAKE_CUDA_FLAGS} --extended-lambda") add_executable(cuco_map cuco_map.cu) target_link_libraries(cuco_map PRIVATE cuco)
benchmark/cuco/cmake/CPM.cmake 0 → 100644 +19 −0 Original line number Diff line number Diff line set(CPM_DOWNLOAD_VERSION 0.27.3) if(CPM_SOURCE_CACHE) set(CPM_DOWNLOAD_LOCATION "${CPM_SOURCE_CACHE}/cpm/CPM_${CPM_DOWNLOAD_VERSION}.cmake") elseif(DEFINED ENV{CPM_SOURCE_CACHE}) set(CPM_DOWNLOAD_LOCATION "$ENV{CPM_SOURCE_CACHE}/cpm/CPM_${CPM_DOWNLOAD_VERSION}.cmake") else() set(CPM_DOWNLOAD_LOCATION "${CMAKE_BINARY_DIR}/cmake/CPM_${CPM_DOWNLOAD_VERSION}.cmake") endif() if(NOT (EXISTS ${CPM_DOWNLOAD_LOCATION})) message(STATUS "Downloading CPM.cmake to ${CPM_DOWNLOAD_LOCATION}") file(DOWNLOAD https://github.com/TheLartians/CPM.cmake/releases/download/v${CPM_DOWNLOAD_VERSION}/CPM.cmake ${CPM_DOWNLOAD_LOCATION} ) endif() include(${CPM_DOWNLOAD_LOCATION})
cuCollections @ 0b672bbd Original line number Diff line number Diff line Subproject commit 0b672bbde7c85a79df4d7ca5f82e15e5b4a57700