public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
From: dominiq@lps.ens.fr (Dominique Dhumieres)
To: tkoenig@netcologne.de
Cc: gcc-patches@gcc.gnu.org, fortran@gcc.gnu.org, jvdelisle@charter.com
Subject: Re: [patch, fortran, RFC] First steps towards inlining matmul
Date: Sun, 05 Apr 2015 13:55:00 -0000	[thread overview]
Message-ID: <20150405135519.AF21A105@mailhost.lps.ens.fr> (raw)

> > So, what do you think about this?
>
> I am curious about what performance gain results from this?
> I can see saving a library call to our runtime libraries.
> Do you have some timing results?
>
> Jerry

IMO the inlining of MATMUL should be restricted to small matrices (less than 4x4, 9x9
or 16x16 depending of your field!-). I have a variant of the polyhedron test induct.f90
in which I have replaced three dot products by the equivalent matmul and which executes
ten times slower than the original test.

Dominique

             reply	other threads:[~2015-04-05 13:55 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-04-05 13:55 Dominique Dhumieres [this message]
2015-04-05 14:33 ` Thomas Koenig
2015-04-05 18:25   ` Dominique d'Humières
2015-04-05 20:37     ` Thomas Koenig
2015-04-05 23:15       ` Dominique d'Humières
2015-04-06 12:18         ` Dominique d'Humières
2015-04-09 22:18           ` Thomas Koenig
2015-04-10 14:15             ` Dominique d'Humières
2015-04-10 16:57               ` Dominique d'Humières
2015-04-11 12:24               ` Thomas Koenig
2015-04-11 13:43                 ` Mikael Morin
2015-04-11 17:01                   ` Thomas Koenig
  -- strict thread matches above, loose matches on Subject: below --
2015-04-05 12:32 Thomas Koenig
2015-04-05 13:20 ` Jerry DeLisle
2015-04-05 13:48   ` Thomas Koenig
2015-04-07 19:24 ` David Malcolm

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=20150405135519.AF21A105@mailhost.lps.ens.fr \
    --to=dominiq@lps.ens.fr \
    --cc=fortran@gcc.gnu.org \
    --cc=gcc-patches@gcc.gnu.org \
    --cc=jvdelisle@charter.com \
    --cc=tkoenig@netcologne.de \
    /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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).