From 5f71a9872e81f8c549657f97cba04d5c3928afbc Mon Sep 17 00:00:00 2001 From: Ludovic Courtès Date: Thu, 3 Oct 2024 09:11:53 +0200 Subject: 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 ;;; Copyright © 2018–2021 Tobias Geerinckx-Rice ;;; Copyright © 2018 Fis Trivial -;;; Copyright © 2018, 2021, 2023 Ludovic Courtès +;;; Copyright © 2018, 2021, 2023-2024 Ludovic Courtès ;;; Copyright © 2019, 2020, 2022 Mathieu Othacehe ;;; Copyright © 2019 Pierre Neidhardt ;;; Copyright © 2019 Jan Wielkiewicz @@ -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 -- cgit v1.2.3