Skip to content

Repository files navigation

Advent of Code 2025

This year, I did each day in a different programming model targeting GPU execution!

Solutions

DayProgramming ModelRun Command
01CuTeuv run python day01.py
02cupyuv run python day02.py
03warpuv run python day03.py
04cudfuv run --with "cudf-cu13=25.10.*" python day04.py
05cuda.cccluv run python day05.py
06numba-cudauv run python day06.py
07C++ Standard Parallelism./build/day07 (after building)
08CUDA with CCCL./build/day08 (after building)
09OpenMP./build/day09 (after building)
10CUDA./build/day10 (after building)
11C++ std::execution./build/day11 (after building)
12OpenACC./build/day12 (after building)

I also did Day 04 in OpenACC and Day 12 in cudf.

Dependencies

  • uv with Python >= 3.13 installed
  • CUDA >= 13.0
  • NVIDIA HPC SDK >= 2025.09
  • NVIDIA GPU with driver supporting CUDA 13
  • CMake >= 4.0

Building

Run/modify ./build_all.sh as you see fit:

./build_all.sh

Running

Assuming you have all prerequisites in place and you already compiled the C++ solutions, simply invoke:

./run_all.sh

About

My solutions to https://adventofcode.com/2025/

Resources

Stars

8 stars

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages