[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#52283] [PATCH 00/10] Tuning packages for CPU micro-architectures
From: |
Ludovic Courtès |
Subject: |
[bug#52283] [PATCH 00/10] Tuning packages for CPU micro-architectures |
Date: |
Sat, 04 Dec 2021 22:11:49 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) |
Ludovic Courtès <ludo@gnu.org> skribis:
> This is achieved not by passing ‘-march=native’, because the daemon
> might be running on a separate machine with a different CPU, but by
> identifying the ‘-march’ value corresponding to the host CPU and
> passing ‘-march’ to the compiler, via a wrapper.
Another argument in favor of this approach is verifiability, because
manifests record the argument to the ‘tune’ transformation option:
--8<---------------cut here---------------start------------->8---
$ ./pre-inst-env guix shell eigen-benchmarks --tune
guix shell: tuning for CPU micro-architecture skylake
[env]$ guix package --export-manifest -p $GUIX_ENVIRONMENT
;; This "manifest" file can be passed to 'guix package -m' to reproduce
;; the content of your profile. This is "symbolic": it only specifies
;; package names. To reproduce the exact same profile, you also need to
;; capture the channels being used, as returned by "guix describe".
;; See the "Replicating Guix" section in the manual.
(use-modules (guix transformations))
(define transform1
(options->transformation '((tune . "skylake"))))
(packages->manifest
(list (transform1
(specification->package "eigen-benchmarks"))))
--8<---------------cut here---------------end--------------->8---
Ludo’.
- [bug#52283] [PATCH 07/10] gnu: ceres-solver: Mark as tunable., (continued)
- [bug#52283] [PATCH 07/10] gnu: ceres-solver: Mark as tunable., Ludovic Courtès, 2021/12/04
- [bug#52283] [PATCH 08/10] gnu: Add ceres-solver-benchmarks., Ludovic Courtès, 2021/12/04
- [bug#52283] [PATCH 10/10] gnu: prusa-slicer: Mark as tunable., Ludovic Courtès, 2021/12/04
- [bug#52283] [PATCH 09/10] gnu: libfive: Mark as tunable., Ludovic Courtès, 2021/12/04
- [bug#52283] [PATCH 00/10] Tuning packages for CPU micro-architectures, Mathieu Othacehe, 2021/12/05
- [bug#52283] [PATCH 00/10] Tuning packages for CPU micro-architectures, Ludovic Courtès, 2021/12/06
[bug#52283] [PATCH 00/10] Tuning packages for CPU micro-architectures,
Ludovic Courtès <=
[bug#52283] [PATCH 00/10] Tuning packages for CPU micro-architectures, Ludovic Courtès, 2021/12/07
- [bug#52283] [PATCH v2 00/12] Tuning packages for CPU micro-architectures, Ludovic Courtès, 2021/12/16
- [bug#52283] [PATCH v2 02/12] gnu: gcc: Add 'compiler-cpu-architectures' property., Ludovic Courtès, 2021/12/16
- [bug#52283] [PATCH v2 04/12] transformations: Add '--tune'., Ludovic Courtès, 2021/12/16
- [bug#52283] [PATCH v2 01/12] Add (guix cpu)., Ludovic Courtès, 2021/12/16
- [bug#52283] [PATCH v2 03/12] gnu: clang: Add 'compiler-cpu-architectures' property., Ludovic Courtès, 2021/12/16
- [bug#52283] [PATCH v2 05/12] ci: Add extra jobs for tunable packages., Ludovic Courtès, 2021/12/16
- [bug#52283] [PATCH v2 06/12] gnu: Add eigen-benchmarks., Ludovic Courtès, 2021/12/16
- [bug#52283] [PATCH v2 09/12] gnu: ceres-solver: Mark as tunable., Ludovic Courtès, 2021/12/16
- [bug#52283] [PATCH v2 07/12] gnu: Add xsimd-benchmark., Ludovic Courtès, 2021/12/16