nikileshsa / advent-of-cuda

Doing advent of code with CUDA and rust.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

About

Doing advent of code with CUDA and rust.


Languages

Language:Rust 81.7%Language:Dockerfile 18.3%