News for hackers. Stuff that matters.
Re:Ask HN: Best way to learn GPU programming? by the__alchemist on Wednesday January 03, 2024 @10:40PM (#38862709)
Step 1: Identify a task in your project of choice that could benefit from it; ie SIMD.

Step 2: Figure out how to set up the FFI bindings if required for your project's language.

Step 3: Read this article to learn kernel syntax, block/thread/stride management etc: https://developer.nvidia.com/blog/even-easier-introduction-c...

Step 4: Ask ChatGPT to translate your code into modern C++, or perhaps even directly into Kernels

Don't bother with Vulkan compute and shaders etc. It works, but is high friction compared to CUDA.

There are no comments on this comment yet.