Documentation

GPU Computing

通过运行在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 usegpuArrayto transfer input data to the GPU, and callgatherto retrieve the output data from the GPU. For information about supported features and performance for GPU computing in Parallel Computing Toolbox™, seeGPU Capabilities and Performance.

Featured Examples

Was this topic helpful?