gnu: cpp: Add kokkos-kernels.

* gnu/packages/cpp.scm (kokkos-kernels): New variable.

Change-Id: Id6a4406f8a8a5d6710a7171ac8990f280be29cc8
Signed-off-by: Andreas Enge <andreas@enge.fr>
This commit is contained in:
Romain GARBAGE 2025-07-24 11:05:09 +02:00 committed by Andreas Enge
parent f78626656d
commit 0c5708c6fb
No known key found for this signature in database
GPG key ID: F7D5C9BF765C61E3

View file

@ -1948,6 +1948,38 @@ hierarchies and multiple types of execution resources.")
(license license:asl2.0))) ; With LLVM exception (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 (define-public kokkos-fft
(package (package
(name "kokkos-fft") (name "kokkos-fft")