Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

General: Bump required thrust version to 1.13.1 #429

Merged
merged 1 commit into from
Aug 19, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions docs/getting_started/building_from_source.md
Original file line number Diff line number Diff line change
Expand Up @@ -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: <https://developer.nvidia.com/cuda-downloads>
- CUDA Toolkit 11.5: <https://developer.nvidia.com/cuda-downloads>
- CMake 3.18: `sudo apt install cmake`

:::
Expand All @@ -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: <https://github.com/NVIDIA/thrust>
- thrust 1.13.1: <https://github.com/NVIDIA/thrust>

:::

Expand Down Expand Up @@ -69,7 +69,7 @@ Before building the library, please make sure that all required development tool
- MSVC 19.20 (Visual Studio 2019) <https://visualstudio.microsoft.com/downloads/>
- CUDA compiler
- NVCC (Already included in CUDA Toolkit)
- CUDA Toolkit 11.0: <https://developer.nvidia.com/cuda-downloads>
- CUDA Toolkit 11.5: <https://developer.nvidia.com/cuda-downloads>
- CMake 3.18: <https://cmake.org/download>

:::
Expand All @@ -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) <https://visualstudio.microsoft.com/downloads/>
- CMake 3.18: <https://cmake.org/download>
- thrust 1.9.9: <https://github.com/NVIDIA/thrust>
- thrust 1.13.1: <https://github.com/NVIDIA/thrust>

:::

Expand Down
4 changes: 2 additions & 2 deletions src/stdgpu/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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)
")


Expand Down
4 changes: 2 additions & 2 deletions src/stdgpu/cuda/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -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
Expand Down