Examples from goldens
The repository includes golden-file tests that render code and compare against expected CUDA/C++ output in tests/golden/
.
Suggested reading:
- Python inputs: tests/test_api.py
- Generated outputs: tests/golden/*.golden
These are great reference examples for: - Minimal kernels and control flow - Inline PTX shapes - Index tools and scoped equations - PyTorch tensor params and allocations - ScopeFns (decorator and class)