guix_mirror_bot pushed a commit to branch master
in repository guix.
commit 0c5708c6fb8f4a9ccc673ddedc7f9ba962e82038
Author: Romain GARBAGE <[email protected]>
AuthorDate: Thu Jul 24 11:05:09 2025 +0200
gnu: cpp: Add kokkos-kernels.
* gnu/packages/cpp.scm (kokkos-kernels): New variable.
Change-Id: Id6a4406f8a8a5d6710a7171ac8990f280be29cc8
Signed-off-by: Andreas Enge <[email protected]>
---
gnu/packages/cpp.scm | 32 ++++++++++++++++++++++++++++++++
1 file changed, 32 insertions(+)
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")