From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 111c93,5f20b0a37f8ca9fe,start X-Google-Attributes: gid111c93,public From: goto@statabo.rim.or.jp (Kazushige Goto) Subject: dgemm,sgemm compatible routine Date: 1998/09/15 Message-ID: #1/1 X-Deja-AN: 391354310 Followup-To: comp.os.linux.alpha Content-Type: text/plain; charset=US-ASCII Organization: Kamimizo UUCP Station Mime-Version: 1.0 (generated by tm-edit 7.103) Newsgroups: comp.os.linux.alpha Hi, I improved dgemm(BLAS) compatible routine. This time, it runs about 800MFlops(21164A, 600MHz, 2MB 3rd cache, about 20 to 30MFlops faster than before my routine. Especially, Transposed routine is pretty improved). Now, I also made sgemm routine. It runs about 940MFlops with any matrix sizes(RPCC says 974MFlops(!!) on 1000x1000). This gemm routine is also available for C program(the interface is similar to FOTRAN gemm). You can get from ftp://ftp.eni.co.jp/.2/Linux-Alpha-JP/ftp.statabo.rim.or.jp/BLAS table 1.The ability of FORTRAN SGEMM routine (21164A 600MHz + 2MB L3 cache, MFLOPS) --------------------------------------------- Matrix Sizes | N x N | N x T | T x N | T x T -------------+-------+-------+-------+------- 200 x 200 | 952 | 956 | 952 | 941 400 x 400 | 955 | 941 | 948 | 941 600 x 600 | 947 | 952 | 954 | 941 1000 x 1000 | 948 | 950 | 947 | 943 2000 x 2000 | 946 | 947 | 943 | 941 3000 x 3000 | 946 | 951 | 945 | 943 4000 x 4000 | 943 | 946 | 943 | 939 --------------------------------------------- table 2.The ability of FORTRAN DGEMM routine (21164A 600MHz + 2MB L3 cache, MFLOPS) --------------------------------------------- Matrix Sizes | N x N | N x T | T x N | T x T -------------+-------+-------+-------+------- 200 x 200 | 800 | 842 | 842 | 800 400 x 400 | 795 | 805 | 795 | 815 600 x 600 | 793 | 791 | 796 | 796 1000 x 1000 | 798 | 799 | 809 | 799 2000 x 2000 | 793 | 779 | 795 | 784 3000 x 3000 | 776 | 786 | 792 | 789 --------------------------------------------- note: There are maximal value for several times. Thanks, goto@statabo.rim.or.jp