CUDA 2.0 on Vista-64 matlab2008a test with Szeta 8800GTX on desktop and 8600MGS on laptop

CUDA 2.0 beta
this is matlab 2008a Szeta test on desktop and laptop

Hi,
For those who are interested: External Media

First machine:
Desktop Quad Core with 8800 GTX
windows performance factor 5.5 Vista-64 sp 1
4G RAM

which Szeta
C:\Program Files\MATLAB\R2008a\toolbox\Matlab_CUDA_1.1\Szeta.m
tic; FS_2Dturb(128,1,1,1); toc;

CFL =
0.1017

Gsqav =
1.1995

Elapsed time is 3.448124 seconds.

tic; FS_vortex; toc;
ans =

512
Elapsed time is 69.536027 seconds.

which Szeta
C:\Program Files\MATLAB\R2008a\toolbox\Matlab_CUDA_1.1\Szeta.mexw64

tic; FS_2Dturb(128,1,1,1); toc;

CFL =
0.1017

Gsqav =

1.1995

Elapsed time is 3.706450 seconds.

tic; FS_vortex; toc;

ans =
512
Elapsed time is 19.165827 seconds.

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

Second machine:
HP Pavilion dv9000, 4G RAM
Windows performance factor 4.8 card 8600M GS
(pain to install nvcuda.dll !!!) External Media

which Szeta
C:\Program Files\MATLAB\R2008a\toolbox\CUDA\Szeta\Szeta.m
tic; FS_2Dturb(128,1,1,1); toc;

CFL =

0.1017

Gsqav =

1.1995

Elapsed time is 4.012627 seconds.

tic; FS_vortex; toc;

ans =

512

Elapsed time is 75.294268 seconds.

which Szeta
C:\Program Files\MATLAB\R2008a\toolbox\CUDA\Szeta\Szeta.mexw64
tic; FS_2Dturb(128,1,1,1); toc;

CFL =

0.1017

Gsqav =

1.1995

Elapsed time is 10.062418 seconds.

tic; FS_vortex; toc;

ans =

512

Elapsed time is 49.365398 seconds.

FACTS:
given the dual precision on native matlab - not a great performance gain using GPU, which runs with single precision I must say…

probably Szeta is not the best example External Media

Regards,
revera

You need to increase the resolution to see better speed up. Try a 512 or a 1024.
1024 will take hours on the CPU alone

tic; FS_2Dturb(512,1,1,1); toc;

much better example, External Media

resultst are from:

8800GTX and quad core 2.4GHz machine

Vista-64 sp1

317/8.9 → ~35 times acceleration

thanks

revera

tic; FS_2Dturb(128,1,1,1); toc;

CFL =

0.1017

Gsqav =

1.1995

Elapsed time is 8.950175 seconds.

tic; FS_2Dturb(512,1,1,1); toc;

CFL =

0.1245

Gsqav =

1.2802

Elapsed time is 54.620404 seconds.

which Szeta

C:\Program Files\MATLAB\R2008a\toolbox\Matlab_CUDA_1.1\Szeta.mexw64

which Szeta

C:\Program Files\MATLAB\R2008a\toolbox\Matlab_CUDA_1.1\Szeta.m

tic; FS_2Dturb(512,1,1,1); toc;

CFL =

0.1245

Gsqav =

1.2802

Elapsed time is 317.873115 seconds.

317/8.9

ans =

35.6180