diff options
| author | David Elsing <david.elsing@posteo.net> | 2026-02-03 21:33:21 +0100 |
|---|---|---|
| committer | Ludovic Courtès <ludo@gnu.org> | 2026-02-10 23:46:37 +0100 |
| commit | 4012f1a1349de8e446818293c71720a046e87f6a (patch) | |
| tree | 6043a77e0e633e3a8b9ef72c09d503f0da2e274d /gnu | |
| parent | 82f539812a4ff2e38320e8191c70da892e3f7d43 (diff) | |
gnu: Add hipcub.
* gnu/packages/rocm-libs.scm (hipcub): New variable.
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
Diffstat (limited to 'gnu')
| -rw-r--r-- | gnu/packages/rocm-libs.scm | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/gnu/packages/rocm-libs.scm b/gnu/packages/rocm-libs.scm index 48a9cff140b..0e49180cf5a 100644 --- a/gnu/packages/rocm-libs.scm +++ b/gnu/packages/rocm-libs.scm @@ -681,3 +681,27 @@ in particular via rocSOLVER for AMD GPUs.") algorithms on GPUs, in particular via rocRAND, rocBLAS, rocSPARSE and rocSOLVER for AMD GPUs.") (license license:expat))) + +(define-public hipcub + (package + (name "hipcub") + (version %rocm-version) + (source (rocm-library-source "hipcub")) + (build-system cmake-build-system) + (arguments + (list + #:tests? #f + #:build-type "Release" + #:configure-flags + #~(list + "-DCMAKE_CXX_COMPILER=hipcc" + #$(string-append "-DAMDGPU_TARGETS=" + (current-amd-gpu-targets-string))))) + (inputs (list rocm-hip-runtime rocprim)) + (native-inputs (list rocm-cmake rocm-toolchain)) + (properties `((amd-gpu-targets . ,%default-amd-gpu-targets))) + (home-page %rocm-libraries-url) + (synopsis "Parallel primitives library with multiple supported backends") + (description "This package contains a wrapper library with HIP parallel +primitives, in particular via rocPRIM for AMD GPUs.") + (license license:bsd-3))) |
