News for hackers. Stuff that matters.
Re:Ask HN: Best way to learn GPU programming? by boberoni on Wednesday January 03, 2024 @08:24PM (#38862016)
If you like textbooks, I would recommend "Programming Massively Parallel Processors" by Hwu, Kirk, and Hajj. [1] The most recent edition was published in 2022.

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...

Re:Ask HN: Best way to learn GPU programming? by qwertox on Friday January 05, 2024 @04:35PM (#38885292)
Thank you, that lecture is really great. Basically the second lecture shows you exactly how it's done, at least the basics with a minimal example, very well explained. Im looking forward to watch the entire playlist.