Files
kernel-lab/Makefile
2026-04-10 13:15:06 +00:00

24 lines
382 B
Makefile

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