tags:

views:

61

answers:

2

I have some knowledge of C/C++ programming and want to learn CUDA. I'm also on a mac. So what is the best way to learn CUDA?

+1  A: 

Think up a numerical problem and try to implement it. Make sure that you have an NVIDIA card first. :) Download the SDK from NVIDIA web site. Read the "CUDA programming guide", it's less than 200 pages long and sufficiently well written that you should be able to do it in one pass. Pick a sufficiently simple sample and start modifying/rewriting it.

+3  A: 

Download the dev kit, take one of the examples, and modify it. Then write something from scatch.

you can consult these resources

CUDA SDK Code Samples

CUDA by Example: An Introduction to General-Purpose GPU Programming

Azhar