I recently acquired a GPU, a graphics processing unit. It's called a GPU because such processors were originally intended to speed up graphics. But MATLAB uses it to speed up computation. Let's see how the gpuArray
object benchmarks on my machine.
I have been doing computer benchmarks for years. I like to do profiles where I vary the size of a task and see how the amount of memory required affects performance. I always learn something unexpected when I do these profiles.
Ben Todoroff is on the MathWorks Parallel Processing team. Last year he contributed #34080, gpuBench
to the MATLAB Central File Exchange. He has been able to compare several different GPUs. I am going to consider the performance of only one GPU, but in more detail.
This is only about double precision. Single precision is another story.
... 更多内容 >>