Why is my code slower on the GPU than CPU when using Parallel Computing Toolbox 6.0 (R2012a)?

I rewrote my MATLAB code for the GPU. However, I do not see any performance gains.

 채택된 답변

MathWorks Support Team
MathWorks Support Team 2021년 2월 16일
편집: MathWorks Support Team 2021년 2월 16일
Performance of GPU code is dependent on GPU hardware used, algorithm used in MATLAB, and the problem data size. In general, the more computationally intensive is the algorithm, and the larger amount of data it is working on the higher the performance gain over the CPU.
Please run gpuBench available on MATLAB Central at:
to gain better understanding of potential speedups for your computer setup.

추가 답변 (0개)

카테고리

도움말 센터File Exchange에서 GPU Computing에 대해 자세히 알아보기

제품

릴리스

R2012a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by