Initial project scaffold

This commit is contained in:
wjh
2026-04-10 13:15:06 +00:00
commit a4a6b1f1c8
94 changed files with 3964 additions and 0 deletions

23
Makefile Normal file
View File

@@ -0,0 +1,23 @@
PYTHON ?= python
KERNEL_LAB_CUDA_ARCH ?= 120
.PHONY: sync env info test bench build-cuda-ext
sync:
uv sync
env:
$(PYTHON) tools/check_env.py
info:
$(PYTHON) tools/print_device_info.py
test:
pytest -q
bench:
./tools/run_all_benchmarks.sh
build-cuda-ext:
cmake -S kernels/cuda -B build/cuda -DCMAKE_CUDA_ARCHITECTURES=$(KERNEL_LAB_CUDA_ARCH)
cmake --build build/cuda -j