Usenet comp.os.linux.alpha (1997-2013)
 help / color / mirror / Atom feed
* fast dgemm routine
@ 1998-06-07  4:00 Kazushige Goto
  1998-06-08  4:00 ` Xiaoguang Zhang
  0 siblings, 1 reply; 3+ messages in thread
From: Kazushige Goto @ 1998-06-07  4:00 UTC (permalink / raw)



Hi,

I made fast dgemm routine.  It's a little bit faster than before.
And also includes C version dgemm routine.

  C :=  alpha * A x B  + beta * C

 double a[m][k],  b[k][n], c[m][n];
 double alpha, beta

We can call easily like Fortran dgemm routine.

  dgemm("Non Transpose", "Non Transpose", m, n, k,
         alpha, a, lda, b, ldb, beta, c, ldc);
                   ~~~<- sizeof(a[m])

Of course, Transposed routine is also available and fast.

This routine works both Linux/Alpha and Digital UNIX.
Now I'm trying to work on NT/Alpha but fail.  Does anyone know about
this? 

Please see,

 ftp://ftp.eni.co.jp/.2/Linux-Alpha-JP/ftp.statabo.rim.or.jp/BLAS

Thanks,
  goto@statabo.rim.or.jp



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: fast dgemm routine
  1998-06-07  4:00 fast dgemm routine Kazushige Goto
@ 1998-06-08  4:00 ` Xiaoguang Zhang
  1998-06-10  4:00   ` Kazushige Goto
  0 siblings, 1 reply; 3+ messages in thread
From: Xiaoguang Zhang @ 1998-06-08  4:00 UTC (permalink / raw)



Thanks for the routine. It worked great under Linux, but I got
more than 1,000 MFLOPS under DU with check1 (I didn't know that
I had a machine that fast -- It's a 333MHz machine :-).
Xiaogaung Zhang



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: fast dgemm routine
  1998-06-08  4:00 ` Xiaoguang Zhang
@ 1998-06-10  4:00   ` Kazushige Goto
  0 siblings, 0 replies; 3+ messages in thread
From: Kazushige Goto @ 1998-06-10  4:00 UTC (permalink / raw)



Hi,

In article <6lhdn0$3ct$2@sws1.ctd.ornl.gov> 
	xgz@gmsds.ms.ornl.gov (Xiaoguang Zhang) writes:

   Thanks for the routine. It worked great under Linux, but I got
   more than 1,000 MFLOPS under DU with check1 (I didn't know that
   I had a machine that fast -- It's a 333MHz machine :-).


It's not correct.  I think 333MHz machine shows about 450 MFlops.
Please define USE_CLOCK and modify your CPU clock frequency in
myhead.h.  Then you can calculate time with RPCC routines.
(I do not check whether my check routine works on DU, but should work
 dgemm routine on DU.)

goto@statabo.rim.or.jp



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~1998-06-10  4:00 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1998-06-07  4:00 fast dgemm routine Kazushige Goto
1998-06-08  4:00 ` Xiaoguang Zhang
1998-06-10  4:00   ` Kazushige Goto

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox