SVD speed in CPU and GPU
问题 I'm testing svd in Matlab R2014a and it seems that there is no CPU vs GPU speedup. I'm using a GTX 460 card and a Core 2 duo E8500 . Here is my code: %test SVD n=10000; %host Mh= rand(n,1000); tic %[Uh,Sh,Vh]= svd(Mh); svd(Mh); toc %device Md = gpuArray.rand(n,1000); tic %[Ud,Sd,Vd]= svd(Md); svd(Md); toc Also, the run times are different from run to run, but the CPU and GPU versions are about the same. Why there is no speedup? Here are some tests for i=1:10 clear; m= 10000; n= 100; %host Mh=