Anyone can help me to benchmark this code on high end GPU (CUDA)?
Afficher commentaires plus anciens
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;
Réponse acceptée
Plus de réponses (0)
Catégories
En savoir plus sur Get Started with GPU Coder dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!