This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [patch, fortran, RFC] First steps towards inlining matmul
- From: Thomas Koenig <tkoenig at netcologne dot de>
- To: Dominique d'Humières <dominiq at lps dot ens dot fr>
- Cc: gcc-patches at gcc dot gnu dot org, fortran at gcc dot gnu dot org, jvdelisle at charter dot com
- Date: Sun, 05 Apr 2015 22:37:48 +0200
- Subject: Re: [patch, fortran, RFC] First steps towards inlining matmul
- Authentication-results: sourceware.org; auth=none
- References: <20150405135519 dot AF21A105 at mailhost dot lps dot ens dot fr> <552147A3 dot 7000603 at netcologne dot de> <4DA1047C-92D3-485A-9457-61655ED14681 at lps dot ens dot fr>
Hi Dominique,
> which means that -fexternal-blas should disable the inlining.
It is not surprising that a higly tuned BLAS library is better than
a simple inlining for large matrices.
I did some tests by adjusting n; it seems the inline version is
faster for n<=22, which is not too bad.
Regarding your other test case: This tests matrix*vector
multiplication, which is not implemented yet :-)
Regards,
Thomas