Initial project scaffold
This commit is contained in:
23
Makefile
Normal file
23
Makefile
Normal 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
|
||||
Reference in New Issue
Block a user