td-test - Tensor-Descriptor Kernel Test Generation
Writes numerical equivalence tests comparing a tensor-descriptor kernel against its original implementation, saving to tests/triton/test_<name>_td.py.
Tags
Updated: 2026-09-15Capabilities
Typical Inputs
Typical Outputs
What this skill does
- Write numerical equivalence tests
- Consult preflight knowledge base
- Reuse wrapper launch logic
- Test non-divisible and edge shapes
Inputs
- Preflight knowledge base file
- Tensor-descriptor kernel file
- Kernel wrapper file
- Original kernel test file
Outputs
- Generated test file tests/triton/test_<name>_td.py
Requirements
- CUDA GPU device
- PyTorch library
- Pytest framework
