|
|
|
Ask HN: Best way to learn GPU programming?
|
|
55 points
by hazard
896 days ago
|
|
I'd like to learn GPU programming but I'm having difficulty finding high-quality resources. I tried a class at coursera and was severely disappointed by both quality and content. What are the best resources for learning things like GPU architecture, CUDA, Triton, etc? My goal is to do be able to do something like take a description of Flash Attention and implement it from scratch, or optimize existing CUDA code. |
|
If you like lecture videos, I would recommend Hajj's YouTube playlist of 2021 lectures [2]. He works through a subset of the textbook.
This will give you a good foundation of GPU hardware architecture and CUDA programming. The knowledge is somewhat transferable to other areas of high-performance computing.
[1] https://www.amazon.com/Programming-Massively-Parallel-Proces...
[2] https://www.youtube.com/playlist?list=PLRRuQYjFhpmubuwx-w8X9...