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:
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 http://www.mathworks.com/matlabcentral/fileexchange/34080-gpubench.