help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: MinGW libblas [WAS: Re: Octave 3.6.0 on Windows XP plot fails.]


From: Xianyi Zhang
Subject: Re: MinGW libblas [WAS: Re: Octave 3.6.0 on Windows XP plot fails.]
Date: Mon, 20 Feb 2012 20:44:41 +0800
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:10.0.2) Gecko/20120216 Thunderbird/10.0.2

Hi Tatsuro,

I usually used wall time, e.g. gettimeofday();

Thanks

Xianyi

Tatsuro MATSUOKA write:Sent: 12-2-20 Afternoon 6:04
Hello

Please tell me which is correct to measure the performance.

1. n=2000; A=randn(n); B=randn(n);tic; C=A*B; t=toc, MFLOPS=2*n^3/t*1e-6

2. n=2000; A=randn(n); B=randn(n);ta=cputime; C=A*B; t=cputime-ta, 
MFLOPS=2*n^3/t*1e-6

Case 1 gives two - four times faster than that of the case 2.

Example
octave:2>  n=2000; A=randn(n); B=randn(n);tic; C=A*B; t=toc, MFLOPS=2*n^3/t*1e-6
t =  0.70904
MFLOPS = 2.2566e+004
octave:3>  n=2000; A=randn(n); B=randn(n);ta=cputime; C=A*B; t=cputime-ta, 
MFLOPS=2*n^3/t*1e-6
t =  1.4040
MFLOPS = 1.1396e+004


Which test is correct to check the performance.

Regards

Tatsuro

--- On Mon, 2012/2/20, Tatsuro MATSUOKA  wrote:

Hello

I have been misled. OpenBLAS can be built msys+MinGW tool chain.
However,  I feel that fluctuation of simple performance test of larger than 
that built on cygwin.  I will continue further test.

Perhaps

Regards

Tatsuro

--- On Mon, 2012/2/20, nitnit  wrote:

xianyi wrote
Hi Nitzan,

What's the version of OpenBLAS?

I just released 0.1 alpha2.5 version including some patches for MingW
64-bit.



Hi xianyi,

It was 2.4-2. I have seen your latest 2.5 release and will try it later
today.

Nitzan

--
View this message in context: 
http://octave.1599824.n4.nabble.com/Re-Octave-3-6-0-on-Windows-XP-plot-fails-tp4392652p4403360.html
Sent from the Octave - General mailing list archive at Nabble.com.
_______________________________________________
Help-octave mailing list
address@hidden
https://mailman.cae.wisc.edu/listinfo/help-octave

_______________________________________________
Help-octave mailing list
address@hidden
https://mailman.cae.wisc.edu/listinfo/help-octave

_______________________________________________
Help-octave mailing list
address@hidden
https://mailman.cae.wisc.edu/listinfo/help-octave



reply via email to

[Prev in Thread] Current Thread [Next in Thread]