civodul pushed a commit to branch master
in repository guix.

commit 5f71a9872e81f8c549657f97cba04d5c3928afbc
Author: Ludovic Courtès <[email protected]>
AuthorDate: Thu Oct 3 09:11:53 2024 +0200

    gnu: kokkos: Mark as tunable.
    
    * gnu/packages/cpp.scm (kokkos)[properties]: New field.
    
    Change-Id: I763828ab23547dd519c2fe104ef2ac0b31e1add7
---
 gnu/packages/cpp.scm | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/cpp.scm b/gnu/packages/cpp.scm
index b4a02a2060..b32b6da1cc 100644
--- a/gnu/packages/cpp.scm
+++ b/gnu/packages/cpp.scm
@@ -2,7 +2,7 @@
 ;;; Copyright © 2017 Ethan R. Jones <[email protected]>
 ;;; Copyright © 2018–2021 Tobias Geerinckx-Rice <[email protected]>
 ;;; Copyright © 2018 Fis Trivial <[email protected]>
-;;; Copyright © 2018, 2021, 2023 Ludovic Courtès <[email protected]>
+;;; Copyright © 2018, 2021, 2023-2024 Ludovic Courtès <[email protected]>
 ;;; Copyright © 2019, 2020, 2022 Mathieu Othacehe <[email protected]>
 ;;; Copyright © 2019 Pierre Neidhardt <[email protected]>
 ;;; Copyright © 2019 Jan Wielkiewicz <[email protected]>
@@ -1368,6 +1368,11 @@ hierarchies and multiple types of execution resources.")
     ;; Code exhibits integer size mismatches when compiled on 32-bit systems.
     (supported-systems %64bit-supported-systems)
 
+    ;; This code can benefit from SIMD optimizations; tuning gives an effect
+    ;; equivalent to setting the 'KOKKOS_ARCH_NATIVE' CMake flag, except for
+    ;; the configuration metadata recorded in 'Kokkos_Core.cpp'.
+    (properties '((tunable? . #t)))
+
     (license license:asl2.0))) ; With LLVM exception
 
 (define-public tweeny

Reply via email to