From: "Ludovic Courtès" <ludovic.courtes@inria.fr>
To: Romain GARBAGE <romain.garbage@inria.fr>
Cc: 74791-done@debbugs.gnu.org
Subject: bug#74791: [PATCH] transformations: Add tuning wrapper for gfortran.
Date: Thu, 12 Dec 2024 11:09:59 +0100 [thread overview]
Message-ID: <87cyhxfc08.fsf@inria.fr> (raw)
In-Reply-To: <20241211160833.16079-1-romain.garbage@inria.fr> (Romain GARBAGE's message of "Wed, 11 Dec 2024 17:06:17 +0100")
Hello comrade,
Romain GARBAGE <romain.garbage@inria.fr> skribis:
> guix/transformations.scm (tuning-compiler): Add gfortran to the list
> of wrapped compilers.
>
> Change-Id: Ic7eaa07acbb5ea013af0d515686e961106a6bbbb
I added the ‘tunable?’ property to ‘lapack’ and confirmed that this
works in a crude but reliable way:
--8<---------------cut here---------------start------------->8---
$ pgrep -fa fortran |grep -e -march
26008 /gnu/store/piai5ba5fx901hr7pwnz2b9vysrrjmlh-gfortran-11.4.0/bin/gfortran -Dblas_EXPORTS -O2 -g -DNDEBUG -fPIC -c /tmp/guix-build-lapack-3.9.0.drv-0/lapack-3.9.0/BLAS/SRC/zher2.f -o CMakeFiles/blas.dir/zher2.f.o -march=skylake
26016 /gnu/store/piai5ba5fx901hr7pwnz2b9vysrrjmlh-gfortran-11.4.0/bin/gfortran -Dblas_EXPORTS -O2 -g -DNDEBUG -fPIC -c /tmp/guix-build-lapack-3.9.0.drv-0/lapack-3.9.0/BLAS/SRC/zhpr2.f -o CMakeFiles/blas.dir/zhpr2.f.o -march=skylake
26019 /gnu/store/piai5ba5fx901hr7pwnz2b9vysrrjmlh-gfortran-11.4.0/bin/gfortran -Dblas_EXPORTS -O2 -g -DNDEBUG -fPIC -c /tmp/guix-build-lapack-3.9.0.drv-0/lapack-3.9.0/BLAS/SRC/zgemm.f -o CMakeFiles/blas.dir/zgemm.f.o -march=skylake
--8<---------------cut here---------------end--------------->8---
Thanks!
Ludo’.
prev parent reply other threads:[~2024-12-12 10:11 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-12-11 16:06 [bug#74791] [PATCH] transformations: Add tuning wrapper for gfortran Romain GARBAGE
2024-12-12 10:09 ` Ludovic Courtès [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87cyhxfc08.fsf@inria.fr \
--to=ludovic.courtes@inria.fr \
--cc=74791-done@debbugs.gnu.org \
--cc=romain.garbage@inria.fr \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.