From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (qmail 1163 invoked from network); 18 Sep 1998 11:00:13 -0000 Received: from mail.redhat.com (199.183.24.239) by mail2.redhat.com with SMTP; 18 Sep 1998 11:00:13 -0000 Received: from bacchus.pc1.uni-duesseldorf.de (root@bacchus.pc1.uni-duesseldorf.de [134.99.152.11]) by mail.redhat.com (8.8.7/8.8.7) with ESMTP id HAA03086 for ; Fri, 18 Sep 1998 07:00:45 -0400 Received: from bacchus.pc1.uni-duesseldorf.de (jochen@localhost [127.0.0.1]) by bacchus.pc1.uni-duesseldorf.de (8.8.7/8.8.7) with SMTP id MAA00752 for ; Fri, 18 Sep 1998 12:56:29 +0200 From: Jochen Kuepper Reply-To: jochen@uni-duesseldorf.de To: axp-list@redhat.com Subject: Re: lapack, blas, gemm under linux/axp Date: Fri, 18 Sep 1998 12:56:05 +0200 X-Mailer: KMail [version 0.7.9] Content-Type: text/plain References: MIME-Version: 1.0 Message-Id: <98091812562902.00723@bacchus.pc1.uni-duesseldorf.de> Content-Transfer-Encoding: quoted-printable Sorry, whats that ? On Fri, 18 Sep 1998 Stig Telfer wrote: > >Re: lapack, blas, gemm under >linux/axp >
Greg Lindahl wrote:
>
>Do these RISC blas things have tunable parameters for block >sizes?
>
Here's a snippet from the makefile header on the ENSEEIHT BLAS >project.  The generic architecture settings expand into a whole >slew of further settings and compiler switches, including cache sizes >(but going far beyond that).  FWIW, the Meiko configuration was >the extent of my involvement with this project.
>

>
Regards,
>
Stig Telfer
>

>
# Two variables, ARCHI and >ORG, have to be set to machine-dependent values.
># ARCHI is used to set the cache size to the correct value,
># and thus the block size. The block sizes are included in
># two files blockd.h and blocks.h that give the block size
># for double and single precision, respectively. Additional
># architectures can be included by editing these two files.
>#
># The block size NB is the largest even number such that
>#
>#          >     3*(NB**2)*PREC < CS
>#
># where PREC is the number of bytes corresponding to the
># precision (4 bytes using single precision and 8 bytes
># using double precision in IEEE format) and CS the cache size in >bytes.
>#
># The valid options for ARCHI are the following:
># STANDARD, SPARC10, RS6K32, RS6K64, and DECALPHA.
># In the STANDARD option the block size
># is determined using a cache size equal to 64KB.
>#
># The valid options for ORG are NOTRIADIC or TRIADIC.
># ORG should be set to TRIADIC on
># architectures where the hardware supports triadic operations
># (for example the IBM RS6000 that implements floating-point >multiply-and-add).
># Moreover, this option should always be used except when you are >sure
># that the compiler you are using does not generate efficient code >for
># triadic operations (early SUN compilers for example).
>#
># It is important to select the correct version for the IBM since
># we use different organization of computations
># and timing procedures in these two versions.
># RS6K32 corresponds to an RS6000 using a 32KB data cache (750 or >SP1)
># and RS6K64 to processors using a 64KB cache (550 or SP2).
>#
># Finally on some DEC Alpha compilers it is necessary to use the >alternate
># call to the c preprocessor (cpp) since it is not called properly >from
># cc for this machine.  The cc call and its alternate can be >found near
># the end of the makefile.
>#
># Options for some RISC processors :
># =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D
>#
>#      - DEC Alpha EV4, CRAY T3D : ARCHI =3D >DECALPHA4,        ORG =3D TRIADIC
>#      - DEC Alpha >EV5           : >ARCHI =3D DECALPHA5,        ORG =3D >TRIADIC
>#      - HP  >PA7100         >     : ARCHI =3D >STANDARD,         ORG =3D >TRIADIC
>#      - IBM >RS6000         >     : ARCHI =3D RS6K32 or RS6K64, ORG =3D >TRIADIC
>#      - SUN SPARC10 and SPARC20 : ARCHI =3D >SPARC10,          ORG =3D >NOTRIADIC
>#      - MEIKO >CS2-HA         >   : ARCHI =3D >CS2HA,         >   ORG =3D NOTRIADIC
>#      - SGI Power >Challenge     : ARCHI =3D >SGI,          >    ORG =3D TRIADIC
>#
># By default select ARCHI =3D STANDARD and ORG =3D TRIADIC.
> >
--
>Any opinions expressed are my own and not those of Alpha Processor >Inc.
> > Greetings, Jochen ----------------------------------------------------------------------- Jochen K"upper Heinrich-Heine-Universit"at D"usseldorf jochen@uni-duesseldorf.de Institut f"ur Physikalische Chemie I Universit"atsstr. 1, Geb 26.43 Raum 02.29 phone ++49-211-8113681 40225 D"usseldorf fax ++49-211-8115195 Germany http://www-public.rz.uni-duesseldorf.de/~jochen -----------------------------------------------------------------------