24 lines
382 B
Makefile
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
|