tags:

views:

128

answers:

1

I discovered my computer has NVIDIA CUDA Technology and I want measure the power of processing, in CPU and GPU.

Instead of searching for a program to do this, I want have a deeper understanding of how it works. What kind of code (C/C++) I need?

+6  A: 

You need to download CUDA SDK, some samples maybe and start your GPU programming. Then you should read some info about what are FLOPS actually and how to measure them correctly (start here http://stackoverflow.com/questions/329174/what-is-flop-s-and-is-it-a-good-measure-of-performance then some googling). Then do your tests :)

PS: I want to warn about CUDA and its performance. Marketing materials about CUDA and GPUs promise minimum x10 higher speeds than of any CPUs and your tests might get these values. But they are not pure FLOPS, GPU is not that universal computational device as CPU is and you will not achieve same results on every algorithm.

Andrey