Where can I find the Cuda / PyCuda for Dummies tutorial

I want to learn how to program a GPU during the summer, and I am open to all languages ​​/ libraries, but PyCuda is most interested.

I am not a strong programmer; I can hit most of the programs I want in Java and understand the beginnings of C, but when I try something complicated in the latter, the problem of segfault or malloc is almost certain.

So I really need a dummy tutorial / manual / documentation. Ideally, the manual will work from the very beginning of GPU programming to fairly complex scientific / numerical programming, explaining every detail with clarity and depth that does not take for granted any prior knowledge.

+3
source share
1 answer

Starting with PyCUDA, the need to understand how CUDA works and how to program the GPU has not been eliminated. Actually, you probably need to do all of the following in the following order:

  • Learn enough C to at least understand the syntax and complete understanding of the concepts of pointers and memory. The latter is really important because in CUDA you always work with a heterogeneous address space. There are many dragons if you cannot understand why pointers are not portable, and the indirectness of pointers in the wrong memory space cannot work.
  • Do something like CUDA with an example to get a basic idea of ​​CUDA programming and how the APIs work.
  • , , Python. " Python " "numpy for dummies" , .

PyCUDA . , PyCUDA, , , CUDA Python numpy.

+3

All Articles