diff options
| author | Romain GARBAGE <romain.garbage@inria.fr> | 2025-07-17 15:37:28 +0200 |
|---|---|---|
| committer | Andreas Enge <andreas@enge.fr> | 2025-07-24 10:52:25 +0200 |
| commit | f78626656d72b1f46c75812d1a74e3314f685a1e (patch) | |
| tree | 3d55520a0b20da788bcd72bfe40625e872c9af03 /gnu/packages/cpp.scm | |
| parent | a3cb5f185aa886c58cef9021acdeffb989ca6ff1 (diff) | |
gnu: cpp: Add kokkos-fft.
* gnu/packages/cpp.scm (kokkos-fft): New variable.
Change-Id: Ic01fe0184442e6ed53eaf806ebbe9f9ebc8f7799
Signed-off-by: Andreas Enge <andreas@enge.fr>
Diffstat (limited to 'gnu/packages/cpp.scm')
| -rw-r--r-- | gnu/packages/cpp.scm | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/gnu/packages/cpp.scm b/gnu/packages/cpp.scm index 16ffed8ba10..e59f62f2bee 100644 --- a/gnu/packages/cpp.scm +++ b/gnu/packages/cpp.scm | |||
| @@ -46,6 +46,7 @@ | |||
| 46 | ;;; Copyright © 2025 Sergio Pastor Pérez <sergio.pastorperez@gmail.com> | 46 | ;;; Copyright © 2025 Sergio Pastor Pérez <sergio.pastorperez@gmail.com> |
| 47 | ;;; Copyright © 2025 Ashish SHUKLA <ashish.is@lostca.se> | 47 | ;;; Copyright © 2025 Ashish SHUKLA <ashish.is@lostca.se> |
| 48 | ;;; Copyright © 2025 Nicolas Graves <ngraves@ngraves.fr> | 48 | ;;; Copyright © 2025 Nicolas Graves <ngraves@ngraves.fr> |
| 49 | ;;; Copyright © 2025 Romain Garbage <romain.garbage@inria.fr> | ||
| 49 | ;;; Copyright © 2024, 2025 Janneke Nieuwenhuizen <janneke@gnu.org> | 50 | ;;; Copyright © 2024, 2025 Janneke Nieuwenhuizen <janneke@gnu.org> |
| 50 | ;;; | 51 | ;;; |
| 51 | ;;; This file is part of GNU Guix. | 52 | ;;; This file is part of GNU Guix. |
| @@ -79,6 +80,7 @@ | |||
| 79 | #:use-module (guix modules) | 80 | #:use-module (guix modules) |
| 80 | #:use-module (guix gexp) | 81 | #:use-module (guix gexp) |
| 81 | #:use-module (gnu packages) | 82 | #:use-module (gnu packages) |
| 83 | #:use-module (gnu packages algebra) | ||
| 82 | #:use-module (gnu packages assembly) | 84 | #:use-module (gnu packages assembly) |
| 83 | #:use-module (gnu packages audio) | 85 | #:use-module (gnu packages audio) |
| 84 | #:use-module (gnu packages autotools) | 86 | #:use-module (gnu packages autotools) |
| @@ -1946,6 +1948,39 @@ hierarchies and multiple types of execution resources.") | |||
| 1946 | 1948 | ||
| 1947 | (license license:asl2.0))) ; With LLVM exception | 1949 | (license license:asl2.0))) ; With LLVM exception |
| 1948 | 1950 | ||
| 1951 | (define-public kokkos-fft | ||
| 1952 | (package | ||
| 1953 | (name "kokkos-fft") | ||
| 1954 | (version "0.3.0") | ||
| 1955 | (source | ||
| 1956 | (origin | ||
| 1957 | (method git-fetch) | ||
| 1958 | (uri (git-reference | ||
| 1959 | (url "https://github.com/kokkos/kokkos-fft") | ||
| 1960 | (commit (string-append "v" version)))) | ||
| 1961 | (file-name (git-file-name name version)) | ||
| 1962 | (sha256 (base32 "0skajkzkrmlsfzrzkvspzqf6z9wqvs529cmknzhk4mhn917pykh6")))) | ||
| 1963 | (build-system cmake-build-system) | ||
| 1964 | (arguments | ||
| 1965 | (list #:configure-flags | ||
| 1966 | #~(list "-DKokkosFFT_DEPENDENCY_POLICIES=INSTALLED" | ||
| 1967 | "-DKokkosFFT_ENABLE_TESTS=ON"))) | ||
| 1968 | (inputs | ||
| 1969 | (list kokkos | ||
| 1970 | fftw | ||
| 1971 | fftwf)) | ||
| 1972 | (native-inputs | ||
| 1973 | (list googletest)) | ||
| 1974 | (home-page "https://kokkosfft.readthedocs.io/") | ||
| 1975 | (synopsis "Shared-memory FFT for the Kokkos ecosystem") | ||
| 1976 | (description "Kokkos-fft is an experimental FFT interface for the | ||
| 1977 | Kokkos C++ environment. It implements local interfaces between Kokkos | ||
| 1978 | and FFT libraries such as FFTW, cufft, hipfft (rocfft), and oneMKL. | ||
| 1979 | \"Local\" means not using MPI, or running within a single MPI process | ||
| 1980 | without knowing about MPI.") | ||
| 1981 | ;; dual licensed, asl2.0 with LLVM exception | ||
| 1982 | (license (list license:expat license:asl2.0)))) | ||
| 1983 | |||
| 1949 | (define-public tweeny | 1984 | (define-public tweeny |
| 1950 | (package | 1985 | (package |
| 1951 | (name "tweeny") | 1986 | (name "tweeny") |
