Skip to content

Commit 85dc207

Browse files
authored
Merge pull request #905 from StewMH/fix_rocprim_version_to_6.1.1
Fix rocprim version to 6.1.1
1 parent 1de0fab commit 85dc207

File tree

2 files changed

+14
-1
lines changed

2 files changed

+14
-1
lines changed

Diff for: .github/workflows/builds.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ jobs:
8181
- platform:
8282
name: "ALPAKA_HIP_SYCL"
8383
container: ghcr.io/acts-project/ubuntu2404_rocm_oneapi:69
84-
options: --preset alpaka-fp32 -Dalpaka_ACC_GPU_HIP_ENABLE=ON -DCMAKE_PREFIX_PATH=/opt/rocm/lib/cmake/ -Dalpaka_DISABLE_VENDOR_RNG=ON -DTRACCC_USE_ROOT=OFF
84+
options: --preset alpaka-fp32 -Dalpaka_ACC_GPU_HIP_ENABLE=ON -DCMAKE_PREFIX_PATH=/opt/rocm/lib/cmake/ -Dalpaka_DISABLE_VENDOR_RNG=ON -DTRACCC_USE_ROOT=OFF -DTRACCC_SETUP_ROCTHRUST=ON -DTRACCC_BUILD_HIP=ON
8585
run_tests: false
8686
build: Release
8787
- platform:

Diff for: extern/rocThrust/rocm-6.1.1.patch

+13
Original file line numberDiff line numberDiff line change
@@ -24,3 +24,16 @@ diff -ur rocThrust-rocm-6.1.1-orig/CMakeLists.txt rocThrust-rocm-6.1.1-fixed/CMa
2424
# Build options
2525
# Disable -Werror
2626
option(DISABLE_WERROR "Disable building with Werror" ON)
27+
diff --git a/cmake/Dependencies.cmake b/cmake/Dependencies.cmake
28+
index 218f6122..6394bfec 100644
29+
--- a/cmake/Dependencies.cmake
30+
+++ b/cmake/Dependencies.cmake
31+
@@ -21,7 +21,7 @@ if(NOT rocprim_FOUND)
32+
download_project(
33+
PROJ rocprim
34+
GIT_REPOSITORY https://github.com/ROCmSoftwarePlatform/rocPRIM.git
35+
- GIT_TAG develop
36+
+ GIT_TAG rocm-6.1.1
37+
INSTALL_DIR ${CMAKE_CURRENT_BINARY_DIR}/deps/rocprim
38+
CMAKE_ARGS -DBUILD_TEST=OFF -DCMAKE_INSTALL_PREFIX=<INSTALL_DIR> -DCMAKE_PREFIX_PATH=/opt/rocm
39+
LOG_DOWNLOAD TRUE

0 commit comments

Comments
 (0)