Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What is the best way to learn CUDA? [closed]

Tags:

cuda

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?

like image 464
Yasser Souri Avatar asked Oct 24 '10 07:10

Yasser Souri


2 Answers

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

nvidia

like image 146
Azhar Avatar answered Oct 03 '22 16:10

Azhar


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.

like image 32
Eugene Smith Avatar answered Oct 03 '22 17:10

Eugene Smith