From d57a4905f64fea0e06c56194131ad7a1c7291a16 Mon Sep 17 00:00:00 2001 From: Patrick Stotko Date: Mon, 19 Aug 2024 11:11:17 +0200 Subject: [PATCH] General: Bump required thrust version to 1.13.1 --- docs/getting_started/building_from_source.md | 8 ++++---- src/stdgpu/CMakeLists.txt | 4 ++-- src/stdgpu/cuda/CMakeLists.txt | 4 ++-- 3 files changed, 8 insertions(+), 8 deletions(-) diff --git a/docs/getting_started/building_from_source.md b/docs/getting_started/building_from_source.md index af7857399..8ab2594fc 100644 --- a/docs/getting_started/building_from_source.md +++ b/docs/getting_started/building_from_source.md @@ -24,7 +24,7 @@ Before building the library, please make sure that all required development tool - CUDA compiler - NVCC (Already included in CUDA Toolkit) - Clang 10: `sudo apt install clang` -- CUDA Toolkit 11.0: +- CUDA Toolkit 11.5: - CMake 3.18: `sudo apt install cmake` ::: @@ -36,7 +36,7 @@ Before building the library, please make sure that all required development tool - GCC 9: `sudo apt install g++` - Clang 10: `sudo apt install clang libomp-dev` - CMake 3.18: `sudo apt install cmake` -- thrust 1.9.9: +- thrust 1.13.1: ::: @@ -69,7 +69,7 @@ Before building the library, please make sure that all required development tool - MSVC 19.20 (Visual Studio 2019) - CUDA compiler - NVCC (Already included in CUDA Toolkit) -- CUDA Toolkit 11.0: +- CUDA Toolkit 11.5: - CMake 3.18: ::: @@ -80,7 +80,7 @@ Before building the library, please make sure that all required development tool - C++17 compiler including OpenMP 2.0 - MSVC 19.20 (Visual Studio 2019) - CMake 3.18: -- thrust 1.9.9: +- thrust 1.13.1: ::: diff --git a/src/stdgpu/CMakeLists.txt b/src/stdgpu/CMakeLists.txt index 06aab8ae1..fc3a95aaa 100644 --- a/src/stdgpu/CMakeLists.txt +++ b/src/stdgpu/CMakeLists.txt @@ -4,10 +4,10 @@ set(STDGPU_BUILD_INCLUDE_DIR "${CMAKE_CURRENT_BINARY_DIR}/include") set(STDGPU_BUILD_CMAKE_DIR "${CMAKE_CURRENT_BINARY_DIR}/cmake") # Setup dependencies -find_package(thrust 1.9.9 REQUIRED MODULE) +find_package(thrust 1.13.1 REQUIRED MODULE) set(STDGPU_DEPENDENCIES_INIT " -find_dependency(thrust 1.9.9 REQUIRED MODULE) +find_dependency(thrust 1.13.1 REQUIRED MODULE) ") diff --git a/src/stdgpu/cuda/CMakeLists.txt b/src/stdgpu/cuda/CMakeLists.txt index 5920deb7e..781d420b0 100644 --- a/src/stdgpu/cuda/CMakeLists.txt +++ b/src/stdgpu/cuda/CMakeLists.txt @@ -1,8 +1,8 @@ -find_package(CUDAToolkit 11.0 REQUIRED MODULE) +find_package(CUDAToolkit 11.5 REQUIRED MODULE) set(STDGPU_DEPENDENCIES_BACKEND_INIT " -find_dependency(CUDAToolkit 11.0 REQUIRED MODULE) +find_dependency(CUDAToolkit 11.5 REQUIRED MODULE) " PARENT_SCOPE) target_sources(stdgpu PRIVATE impl/device.cpp