|
IRON 1a5eed49d3c0721a318ac369f725acc96b7c4584
|


Public Member Functions | |
| __init__ (self, tile, Iterable[DmaChannel] channels) | |
| tile (self) | |
| all_tiles (self) | |
| all_buffers_and_locks (self) | |
| None | resolve (self, ir.Location|None loc=None, ir.InsertionPoint|None ip=None) |
Public Member Functions inherited from iron.resolvable.Resolvable | |
| list | tiles (self) |
Protected Member Functions | |
| _region_decorator (self) | |
Protected Attributes | |
| _tile | |
| _resolved | |
Per-tile DMA program — lowers to an ``aie.mem`` (compute tile),
``aie.memtile_dma`` (memtile), or ``aie.shim_dma`` (shim tile) region
based on the tile's type.
Args:
tile: the tile whose DMA hardware this program targets.
channels: ordered list of :class:`DmaChannel` entries.
| iron.dataflow.tile_dma.TileDma.__init__ | ( | self, | |
| tile, | |||
| Iterable[DmaChannel] | channels | ||
| ) |
|
protected |
Pick the right ``aie`` region-opening decorator for the tile type.
| iron.dataflow.tile_dma.TileDma.all_buffers_and_locks | ( | self | ) |
Iterate every Buffer + Lock this program touches — Program uses this to make sure they're all resolved before us.
| iron.dataflow.tile_dma.TileDma.all_tiles | ( | self | ) |
| None iron.dataflow.tile_dma.TileDma.resolve | ( | self, | |
| ir.Location | None | loc = None, |
||
| ir.InsertionPoint | None | ip = None |
||
| ) |
Resolve the current object into one or more MLIR operations.
Should only be called within an MLIR context.
Args:
loc (ir.Location | None, optional): Location is used by MLIR object during construction in some cases. Defaults to None.
ip (ir.InsertionPoint | None, optional): InsertionPoint is used by MLIR object during construction in some cases. Defaults to None.
Reimplemented from iron.resolvable.Resolvable.
| iron.dataflow.tile_dma.TileDma.tile | ( | self | ) |
|
protected |
|
protected |