Core language constructs are used throughout a TIRx program. The optional tile layer expands through TileDispatch into core statements and expressions and native backend calls. Direct backend calls form a thin interface. All constructs share one IR, followed by layout and further lowering and code generation.
One TIRx program
Core language
T.*Loops and branches
Scalar expressions
Tensor accesses
Used throughout the program
Tile operations
T.cuda.tile.apply
Repeat a chosen PTX instruction
T.cuda.tile.ewise
Inline a scalar function
Tensor layouts and execution scope
Direct backend calls
T.cuda.* / T.ptx.*
Layout and further lowering