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:49:16 +0100 |
| commit | f87a0fc347d644d10b5caf27c862481867c5bf0d (patch) | |
| tree | e87d5c734704f5494fee309f090d6fce33c6da98 /gnu | |
| parent | dea0a3842b80c036f071b84893f19c8ce38fc7c2 (diff) | |
gnu: Add rocfft.
* gnu/packages/rocm-libs.scm (rocfft): New variable.
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
Diffstat (limited to 'gnu')
| -rw-r--r-- | gnu/packages/rocm-libs.scm | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/gnu/packages/rocm-libs.scm b/gnu/packages/rocm-libs.scm index 0d63415e0a3..a0f679a0d31 100644 --- a/gnu/packages/rocm-libs.scm +++ b/gnu/packages/rocm-libs.scm @@ -871,3 +871,28 @@ operations on this type.") machine learning primitives. This package contains the HIP version based on ROCm.") (license license:expat))) + +(define-public rocfft + (package + (name "rocfft") + (version %rocm-version) + (source (rocm-library-source "rocfft")) + (build-system cmake-build-system) + (arguments + (list + #:tests? #f ; requires GPU + #:build-type "Release" + #:configure-flags + #~(list "-DCMAKE_CXX_COMPILER=hipcc" + "-DCMAKE_C_COMPILER=hipcc" + #$(string-append "-DAMDGPU_TARGETS=" + (current-amd-gpu-targets-string)) + "-DSQLITE_USE_SYSTEM_PACKAGE=ON"))) + (inputs (list rocm-hip-runtime sqlite-next)) ;needs sqlite >= 3.50.2 + (native-inputs (list python rocm-cmake rocm-toolchain)) + (properties `((amd-gpu-targets . ,%default-amd-gpu-targets))) + (home-page %rocm-libraries-url) + (synopsis "FFT library for the HIP programming language") + (description "This package contains a HIP library for computing fast +Fourier transforms.") + (license license:expat))) |
