diff options
author | Ludovic Courtès <ludovic.courtes@inria.fr> | 2024-10-03 09:11:53 +0200 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2024-10-04 17:23:12 +0200 |
commit | 5f71a9872e81f8c549657f97cba04d5c3928afbc (patch) | |
tree | 88ef5616b11b3beac47c9cd835e9cab0357d68e9 | |
parent | 725e57a56a677c9c80b20d074d27106b757764af (diff) | |
download | guix-5f71a9872e81f8c549657f97cba04d5c3928afbc.tar.gz guix-5f71a9872e81f8c549657f97cba04d5c3928afbc.zip |
gnu: kokkos: Mark as tunable.
* gnu/packages/cpp.scm (kokkos)[properties]: New field.
Change-Id: I763828ab23547dd519c2fe104ef2ac0b31e1add7
-rw-r--r-- | gnu/packages/cpp.scm | 7 |
1 files changed, 6 insertions, 1 deletions
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 <doubleplusgood23@gmail.com> ;;; Copyright © 2018–2021 Tobias Geerinckx-Rice <me@tobias.gr> ;;; Copyright © 2018 Fis Trivial <ybbs.daans@hotmail.com> -;;; Copyright © 2018, 2021, 2023 Ludovic Courtès <ludo@gnu.org> +;;; Copyright © 2018, 2021, 2023-2024 Ludovic Courtès <ludo@gnu.org> ;;; Copyright © 2019, 2020, 2022 Mathieu Othacehe <m.othacehe@gmail.com> ;;; Copyright © 2019 Pierre Neidhardt <mail@ambrevar.xyz> ;;; Copyright © 2019 Jan Wielkiewicz <tona_kosmicznego_smiecia@interia.pl> @@ -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 |