Skip to content

Commit

Permalink
General: Bump required thrust version to 1.13.1
Browse files Browse the repository at this point in the history
  • Loading branch information
stotko committed Aug 19, 2024
1 parent 1d29bb6 commit d57a490
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
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

0 comments on commit d57a490

Please sign in to comment.