tvm_tirx.backend.cuda.tile.exec_context#
ExecContext: per-program-point active-thread state.
The active thread set is represented as a TileLayout: active axes live in
layout.shard and per-axis lower bounds live in layout.offset. Filters
narrow that layout; scope switches derive the current inter/intra view.
Classes#
Raised on structural violations of the ExecContext model. |
|
|
An active slice offset + stride * [0, extent) on one TileLayout axis. |
|
Active thread set represented by a TileLayout. |
|
Resolution of a user-declared CUDA index binding to one active-set axis. |
|
A scope_switch split of A. |
|
Per-program-point compiler state: active set + scope kind + split. |
Functions#
|
Build A at Function device entry: all threads active, offsets all zero. |
|
Intersect A's binding axis with [lo, hi). |
|
Intersect an active-set axis with |
|
Split A into (inter, intra) for the target scope kind. |