3 ms·
They're also not amenable to all problem types. If, for example, your problem requires performing relatively light computations on large amounts of data, there
by scott_s 16y ago
They're also not amenable to all problem types. If, for example, your problem requires performing relatively light computations on large amounts of data, there is not much data reuse, and you constantly require new answers, GPUs aren't a good fit [1].
One simple question to ask is: how many computations am I going to perform on each element I transfer? For example, if you're doing a matrix multiplication of NxN matrices, each element will be used in 2N computations. (I think. Someone check my mental analysis.) So, matrix multiplication is a pretty good fit. But what if you're just summing a vector of size N? Then each element will be used once. Probably not a good fit.
[1] http://people.cs.vt.edu/~scschnei/papers/debs2010.pdf http://people.cs.vt.edu/~scschnei/papers/debs2010.pdf