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 e59f62f2be..1a991ac08c 100644 --- a/gnu/packages/cpp.scm +++ b/gnu/packages/cpp.scm @@ -1948,6 +1948,38 @@ hierarchies and multiple types of execution resources.") (license license:asl2.0))) ; With LLVM exception +(define-public kokkos-kernels + (package + (name "kokkos-kernels") + ;; Synchronize with Kokkos version. + (version (package-version kokkos)) + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/kokkos/kokkos-kernels") + (commit version))) + (file-name (git-file-name name version)) + (sha256 + ;; Version 4.6.02. + (base32 "05g4dp1359rsx0y2wrg2yv4zx3aq5anxr8jgb2c5f1ay3nq3639s")))) + (build-system cmake-build-system) + (arguments + (list #:configure-flags + #~(list "-DBUILD_SHARED_LIBS=ON"))) + (inputs + (list kokkos + openblas)) + (properties '((tunable? . #t))) + (home-page "https://kokkos.org") + (synopsis + "Math kernels for Kokkos") + (description "KokkosKernels implements local computational kernels for +linear algebra and graph operations, using the Kokkos shared-memory parallel +programming model. \"Local\" means not using MPI, or running within a +single MPI process without knowing about MPI.") + (license license:asl2.0))) ;with LLVM exception + (define-public kokkos-fft (package (name "kokkos-fft") |