GPU Computing
Transfer data between MATLAB® and a graphics processing
unit (GPU); run code on a GPU
You can use your computer's GPU for matrix operations.
In many cases, execution on a GPU is faster than on the CPU, so the
techniques described here might offer improved performance. For information
about supported features and performance for GPU computing in Parallel Computing Toolbox™,
see GPU Capabilities and Performance
.
Functions
gpuArray |
Create array on GPU |
gather |
Transfer distributed array or gpuArray to local workspace |
existsOnGPU |
Determine if gpuArray or CUDAKernel is available on GPU |
arrayfun |
Apply function to each element of array on GPU |
bsxfun |
Binary singleton expansion function for gpuArray |
pagefun |
Apply function to each page of array on GPU |
C Functions
mxInitGPU |
Initialize MATLAB GPU library on currently selected device |