Hi all, thanks for showing interest in this issue.

I uploaded my test code so that you can test on your PC. 
Following is the instruction.

1. download my source codes.
http://people.freebsd.org/~maho/dgemm/Makefile
http://people.freebsd.org/~maho/dgemm/dgemm.cpp
check md5.
% md5 Makefile dgemm.cpp 
MD5 (Makefile) = b408ab1e1f5bf8b923cae5ec9f9f0f07
MD5 (dgemm.cpp) = 0d774a456a665429c67c2b07fd24c64c

2. install ports/math/gotoblas (manual download required)
 make install 

3. compile dgemm.cpp
just type make
% make
g++44 -pthread -static -O2 -o dgemm dgemm.cpp  -L/usr/local/lib -lgoto2p
g++44 -pthread -static -O2 -o dgemm_ref dgemm.cpp  -L/usr/local/lib -lblas 
-lgfortran

4. run dgemm. 
% ./dgemm
n: 3000
time : 134.648208 or 16.910525 
Mflops : 31943.419695
n: 3100
time : 148.122279 or 18.615284 
Mflops : 32017.357408
n: 3200
time : 162.488885 or 20.430651 
Mflops : 32087.318295
n: 3300
time : 178.497079 or 22.446093 
Mflops : 32030.420499
n: 3400
time : 195.550715 or 24.586152 
Mflops : 31981.873273
n: 3500
time : 213.403379 or 26.825058 
Mflops : 31975.513363
n: 3600
...
above output is on Core i7 920 (2.66GHz; TurboBoost on)

Thanks
-- Nakata Maho http://accc.riken.jp/maho/ , http://ja.openoffice.org/ 
   Nakata Maho's PGP public keys: http://accc.riken.jp/maho/maho.pgp.txt
_______________________________________________
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"

Reply via email to