Re: disappointing CUDA speed
- To: mathgroup at smc.vnet.net
- Subject: [mg114249] Re: disappointing CUDA speed
- From: Pierre Albarede <pa.news at free.fr>
- Date: Sun, 28 Nov 2010 06:56:02 -0500 (EST)
- References: <iclfde$l9u$1@smc.vnet.net>
Hi Gianluca
On Nov 25, 11:56 am, Gianluca Gorni <gianluca.go... at fastwebnet.it>
wrote:
> I have a 1 year old Apple MacBookPro. I installed
> the cudadriver_3.1.17_macos and then tried the first
> examples in the documentation:
>
> Needs["CUDALink`"]
> CUDAQ[]
> True
> randM = RandomReal[1, {3000, 3000}];
> AbsoluteTiming[randM.randM;]
> {2.688389,Null}
>
> AbsoluteTiming[CUDADot[randM, randM];]
> {7.328353,Null}
>
> Quite a letdown.
> Did I do something wrong?
>
Mee too.
If you continue the tutorial you will have better results when the
matrix has been saved into the GPU.