News for hackers. Stuff that matters.
Re:Ask HN: Resources for General Purpose GPU development on ... by aleinin on Wednesday December 25, 2024 @02:25PM (#42510610)
If you're looking for a high level introduction to GPU development on Apple silicon I would recommend learning Metal. It's Apple's GPU acceleration language similar to CUDA for Nvidia hardware. I ported a set of puzzles for CUDA called GPU-Puzzles (a collection of exercises designed to teach GPU programming fundamentals)[1] to Metal [2]. I think it's a very accessible introduction to Metal and writing GPU kernels.

[1] https://github.com/srush/GPU-Puzzles

[2] https://github.com/abeleinin/Metal-Puzzles

Re:Ask HN: Resources for General Purpose GPU development on ... by dylan604 on Wednesday December 25, 2024 @02:28PM (#42510624)
After a quick scan through the [2] link, I have added this to the list of things to look into in 2025
Re:Ask HN: Resources for General Purpose GPU development on ... by Jiahang on Thursday December 26, 2024 @01:48AM (#42513550)
Curious about the others in your list
Re:Ask HN: Resources for General Purpose GPU development on ... by singlepaynews on Wednesday December 25, 2024 @07:32PM (#42512256)
Can anyone recommend a CUDA equivalent of (2)? That’s a spectacular learning resource and I’d like to use a similar one to upskill for CUDA
Re:Ask HN: Resources for General Purpose GPU development on ... by dagmx on Wednesday December 25, 2024 @08:02PM (#42512384)
Isn’t the link right before it exactly what you’re asking for? Since 2 is a port of 1