Allowed (Recommended) Resources

Command Line

Download cli.py into an empty folder, make it executable and run it:

curl -o cli.py https://zetatron.thinkinrocks.com/cli.py
chmod +x cli.py
./cli.py setup

It downloads every problem's statement and starter code, and saves your pincode for submitting. To submit a solution and watch its results, give the problem's name, or just its first letters:

./cli.py s argmax

FAQ

Q: Can I use Autotuners/Bayesian Optimisers/Parameter Search?

A: You, you can, but if you find yourself needing that to speed your solution up, you are optimising the wrong thing.

Q: What hardware are the programs ran on?

A: NVidia RTX 5070, 12 Gb VRAM, Blackwell.

Q: Can I use printf?

A: Yes! It is only visible when a test has failed, but we welcome it. Remember to remove them from the final submission.

Problems

A small set of GPU exercises. Each problem is self-contained: open it, read the statement, then implement the solution in CUDA.

All problems