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 Computing

Accelerate your code by running it on a GPU

If your code is still too slow after you have profiled and vectorized it, you can try to use your computer’s GPU to speed up your calculations. If all the functions that you want to use are supported on the GPU, you can simply use gpuArray to transfer input data to the GPU, and call gather to retrieve the output data from the GPU. For information about supported features and performance for GPU computing in Parallel Computing Toolbox™, see GPU Capabilities and Performance.

Featured Examples

Was this topic helpful?