diff options
| author | Romain GARBAGE <romain.garbage@inria.fr> | 2025-07-24 11:05:09 +0200 |
|---|---|---|
| committer | Andreas Enge <andreas@enge.fr> | 2025-07-24 11:05:09 +0200 |
| commit | 0c5708c6fb8f4a9ccc673ddedc7f9ba962e82038 (patch) | |
| tree | 7a37b62aa9eab358c6da48cef4e01724aeb42a99 /gnu/packages/cpp.scm | |
| parent | f78626656d72b1f46c75812d1a74e3314f685a1e (diff) | |
gnu: cpp: Add kokkos-kernels.
* gnu/packages/cpp.scm (kokkos-kernels): New variable.
Change-Id: Id6a4406f8a8a5d6710a7171ac8990f280be29cc8
Signed-off-by: Andreas Enge <andreas@enge.fr>
Diffstat (limited to 'gnu/packages/cpp.scm')
| -rw-r--r-- | gnu/packages/cpp.scm | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/gnu/packages/cpp.scm b/gnu/packages/cpp.scm index e59f62f2bee..1a991ac08c2 100644 --- a/gnu/packages/cpp.scm +++ b/gnu/packages/cpp.scm | |||
| @@ -1948,6 +1948,38 @@ hierarchies and multiple types of execution resources.") | |||
| 1948 | 1948 | ||
| 1949 | (license license:asl2.0))) ; With LLVM exception | 1949 | (license license:asl2.0))) ; With LLVM exception |
| 1950 | 1950 | ||
| 1951 | (define-public kokkos-kernels | ||
| 1952 | (package | ||
| 1953 | (name "kokkos-kernels") | ||
| 1954 | ;; Synchronize with Kokkos version. | ||
| 1955 | (version (package-version kokkos)) | ||
| 1956 | (source | ||
| 1957 | (origin | ||
| 1958 | (method git-fetch) | ||
| 1959 | (uri (git-reference | ||
| 1960 | (url "https://github.com/kokkos/kokkos-kernels") | ||
| 1961 | (commit version))) | ||
| 1962 | (file-name (git-file-name name version)) | ||
| 1963 | (sha256 | ||
| 1964 | ;; Version 4.6.02. | ||
| 1965 | (base32 "05g4dp1359rsx0y2wrg2yv4zx3aq5anxr8jgb2c5f1ay3nq3639s")))) | ||
| 1966 | (build-system cmake-build-system) | ||
| 1967 | (arguments | ||
| 1968 | (list #:configure-flags | ||
| 1969 | #~(list "-DBUILD_SHARED_LIBS=ON"))) | ||
| 1970 | (inputs | ||
| 1971 | (list kokkos | ||
| 1972 | openblas)) | ||
| 1973 | (properties '((tunable? . #t))) | ||
| 1974 | (home-page "https://kokkos.org") | ||
| 1975 | (synopsis | ||
| 1976 | "Math kernels for Kokkos") | ||
| 1977 | (description "KokkosKernels implements local computational kernels for | ||
| 1978 | linear algebra and graph operations, using the Kokkos shared-memory parallel | ||
| 1979 | programming model. \"Local\" means not using MPI, or running within a | ||
| 1980 | single MPI process without knowing about MPI.") | ||
| 1981 | (license license:asl2.0))) ;with LLVM exception | ||
| 1982 | |||
| 1951 | (define-public kokkos-fft | 1983 | (define-public kokkos-fft |
| 1952 | (package | 1984 | (package |
| 1953 | (name "kokkos-fft") | 1985 | (name "kokkos-fft") |
