This is the mail archive of the
fortran@gcc.gnu.org
mailing list for the GNU Fortran project.
Re: Question about the current matmul code
- From: Thomas Koenig <Thomas dot Koenig at online dot de>
- To: FX Coudert <fxcoudert at gmail dot com>
- Cc: gfortran <fortran at gcc dot gnu dot org>
- Date: Mon, 3 Apr 2006 20:17:49 +0200
- Subject: Re: Question about the current matmul code
- References: <442FAC06.4090305@gmail.com>
On Sun, Apr 02, 2006 at 12:48:38PM +0200, FX Coudert wrote:
Hi FX,
> Shouldn't the (rystride == ycount) condition really be (rystride ==
> xcount)?
Yes, it should. Good catch!
Question: Do people think the (probably small) advantage in speed is
worth the extra complexity of the memset() call?
> PS: OK, I said one question, but here's another anyhow: couldn't (and
> shouldn't) the size0((array_t *) retarray)) call be replaced by (xcount
> * ycount)?
Yes, you could do that, too.
Thomas