Loading skill
Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Adds a new cuTile GPU kernel operator to TileGym, covering dispatch, backend, exports, tests, and benchmark.
Use this skill ↓22% 83%+61 ptsof test cases passed
Passed 19 of 23 test cases with the skill, and 5 of 23 without it.
3 of 3 safety checks passed
38 agent runs
End-to-end workflow for adding a new operator (e.g., my_op) with cuTile backend.
MUST follow these rules strictly:
completed after finishing, in_progress when startingcompleted with a note, do NOT silently skipMUST copy this checklist to TodoWrite at the start:
- [ ] Step 1: Register dispatch interface in ops.py
- [ ] Step 2: Implement cuTile backend
- [ ] Step 3: Register in __init__.py (cutile)
- [ ] Step 4: Add tests
- [ ] Step 5: Add benchmark to tests/benchmark
- [ ] Step 6: Verify (run pytest + lint)
File: src/tilegym/ops/ops.py
Add a @dispatch function — this is the single entry point for all backends.
@dispatch(
"my_op",
)
def my_op(
input: torch.Tensor,
out: Optional[torch.Tensor] = None,
**kwargs: Any,
Next to this one in the catalogue, plus more from the same author.