Anyone can help me to benchmark this code on high end GPU (CUDA)?
Show older comments
Hello, I am struggling on the imagesc function. Let's think of the example.
A=uint8(256*rand(1000,1000,30));
figure('position',[461,41,1000,1000]);tic;
for k=1:30;
imagesc(A(:,:,k));
pause(0.01);
end;toc;
I expect to see frame rate 100Hz. But my result is only 17Hz. My core is i5 intel. I don't have GPU.
I am suspicious that my slow rate results from no GPU on my computer.
Can anyone help me to benchmark this code on high end GPU such as NVidea K80 Tesla? So that I can make sure my problem.
A=uint8(256*rand(1000,1000,30));
A=gpuArray(A);
figure('position',[461,41,1000,1000]);tic;
for k=1:30;
imagesc(A(:,:,k));
pause(0.01);
end;toc;
Accepted Answer
More Answers (0)
Categories
Find more on GPU Computing in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!