This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English version of the page.

Note: This page has been translated by MathWorks. Click here to see
To view all translated materials including this page, select Country from the country navigator on the bottom of this page.

GPU Capabilities and Performance

Capabilities

Parallel Computing Toolbox™ enables you to program MATLAB to use your computer’s graphics processing unit (GPU) for matrix operations. In many cases, execution in the GPU is faster than in the CPU, so this feature might offer improved performance.

Toolbox capabilities with the GPU let you:

Performance Benchmarking

You can use gputimeit to measure the execution time of functions that run on the GPU. For more details, see Measure and Improve GPU Performance.

The MATLAB® Central file exchange offers a function called gpuBench, which measures the execution time for various MATLAB GPU tasks and estimates the peak performance of your GPU. See https://www.mathworks.com/matlabcentral/fileexchange/34080-gpubench.