开发者

What kind of computations can be offloaded to the GPU?

I've seen software being labeled as "GPU accelerated", but I wonder what that means in practice.

I read that graphics(duh) and number crunching are good use cases, but by what criteria?

In the end, graphics are just arrays of bits visualized. So could you use the GPU for linear algebra, or maybe even MapReduce?

Number crunching is a broad term. Can I use th开发者_开发技巧e GPU to calculate prime numbers or fibonacci numbers?

Bonus points for sketching out the broader picture(cell processors, quantum computing, etc.).


I read that graphics(duh) and number crunching are good use cases, but by what criteria?

Recent GPUs tend to have hundreds of core, many more than CPU. This would boost program performance when used efficiently (read: correctly parallelized).

So could you use the GPU for linear algebra, or maybe even MapReduce? Number crunching is a broad term. Can I use the GPU to calculate prime numbers or fibonacci numbers?

As long as it involves pure computation (no I/O, sockets, or anything else), yes. I've made some programs (including prime number generations) using CUDA when I took parallel computing class at college.


There are some 3D intrinsics (called 3DNow) which are intended to be used mainly by game programmers. Some of this functions may be used for other type of computation (like algebra or fibo), but don't expect to be easy.

You can take a look in header file "mm3dnow.h" to make an idea. or on msdn

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜