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: Tatsuro MATSUOKA
Subject: Re: MinGW libblas [WAS: Re: Octave 3.6.0 on Windows XP plot fails.]
Date: Mon, 20 Feb 2012 19:04:42 +0900 (JST)

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
>


reply via email to

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