advent-of-cuda
I want to get better at writing cuda kernels so I plan on doing advent of code with cuda.
You can follow along here.
This for advent of code 2023.
Some days problems wont be able to be solved this way, but we will just take them as we go! Probably will modify the problems just to learn things.
You will need cuda installed and llvm, see here.
The kernels themselves are in the gpu/
directory. Then I test them from the code in src/
.
This repo depends on a super old toolchain because of the rust cuda sdk. In areas the rust cuda sdk won't work for what we want, we can wrap c++ in rust.