Re: Calling Fortran routines on short arrays

Nicolas Neuss <[email protected]> 24 Nov 2003 19:15:02 +0100
Newsgroups gmane.lisp.matlisp.user
Organization IWR
Message-ID <[email protected]>
[email protected] writes:

> Here are the numbers on my ACL6.1/WinXP system:

These are the culprits:

> DDOT-short: 89.36 MFLOPS
> BLAS-DDOT-short: 34.01 MFLOPS

> DAXPY-short: 75.32 MFLOPS
> BLAS-DAXPY-short: 31.33 MFLOPS

It means that calling the BLAS code results in 2-3 times slower code than
using the Lisp functions.  MFLOPS=10^6 FLOP/second. (Maybe I should have
written it as MFLOP/s?)

Interestingly this means that ACL has essentially the same problem as
CMUCL.

> and for reference here was the original figures you posted:
> 
> 
> DDOT-long: 271.15 MFLOPS
> DDOT-short: 679.58 MFLOPS
> DAXPY-long: 143.55 MFLOPS
> DAXPY-short: 488.06 MFLOPS
> 
> BLAS-DDOT-long: 267.10 MFLOPS
> BLAS-DDOT-short: 63.31 MFLOPS
> BLAS-DAXPY-long: 149.13 MFLOPS
> BLAS-DAXPY-short: 61.01 MFLOPS

Thinking about a new computer? :-) But I admit that my personal laptop is
not much faster than yours...

Nicolas.