Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Converts cuTile GPU kernels (@ct.kernel) to Triton (@triton.jit), including dual-layout kernels and debugging of failed translations.
Use this skill ↓68% 82%+14 ptsof test cases passed
Passed 18 of 22 test cases with the skill, and 15 of 22 without it.
3 of 3 safety checks passed
Not used yet
Import & Decorator Indexing Memory Operations Tensor Creation Reductions Matrix Operations Type Operations Math Operations Comparison & Logic Bitwise Operations Debug Operations Atomic Operations Synchronization Host Functions Data Types Launch Patterns cuTile → Triton Gotchas Quick Reference Card TensorDescriptor Pattern (ct.load/ct.store → Triton TMA) Multi-dimensional Indexing Array.slice → Triton (Ragged Tensors) ct.gather().item() → Triton (Runtime Index TMA)
This document provides cuTile → Triton mappings for converting @ct.kernel code to @triton.jit. Source column is cuTile; target column is Triton.
| cuTile | Triton | Notes (c2t) |
|---|---|---|
| N/A | import triton | Add top-level triton import in Triton file |
import cuda.tile as ct | import triton.language as tl | Replace ct with tl; remove cuda.tile |
@ct.kernel | @triton.jit | Symmetric |
BLOCK: ct.Constant[int] | BLOCK: tl.constexpr | Symmetric (ConstInt → constexpr) |
Skills that do similar work, with their benchmark result.
Next to this one in the catalogue, plus more from the same author.