Live data from Hacker News

Micrograd-CUDA: adapting Karpathy's tiny autodiff engine for GPU acceleration

github.com

11–14 of 14 posts

Re: Micrograd-CUDA: adapting Karpathy's tiny autodiff engine for GPU acceleration

#11
post #2

I recently decided to turbo-teach myself basic cuda with a proper project. I really enjoyed Karpathy’s micrograd ( https://github.com/karpathy/micrograd ), so I extended it with cuda kernels and 2D tensor logic. It’s a bit longer than the original project, but it’s still very readable for anyone wanting to quickly learn about gpu acceleration in practice.

Lovely project, what did you find as the beat place to learn about cuda?

Thanks! I highly recommend the book Programming Massively Parallel Processors

Re: Micrograd-CUDA: adapting Karpathy's tiny autodiff engine for GPU acceleration

#12
post #10
post #2

I recently decided to turbo-teach myself basic cuda with a proper project. I really enjoyed Karpathy’s micrograd ( https://github.com/karpathy/micrograd ), so I extended it with cuda kernels and 2D tensor logic. It’s a bit longer than the original project, but it’s still very readable for anyone wanting to quickly learn about gpu acceleration in practice.

If you ever feel like improving your matmul kernel you can check this blog https://siboehm.com/articles/22/CUDA-MMM

Thanks! I will probably do that this weekend

Re: Micrograd-CUDA: adapting Karpathy's tiny autodiff engine for GPU acceleration

#14

Earlier quoted context omitted.

Lovely project, what did you find as the beat place to learn about cuda?

Thanks! I highly recommend the book Programming Massively Parallel Processors

This is the second time this week that people have recommended this boot while I was searching for information about CUDA. Thanks!
Post reply on HN