IRON 1a5eed49d3c0721a318ac369f725acc96b7c4584
Loading...
Searching...
No Matches
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
iron.dataflow.tile_dma.TileDma Class Reference
Inheritance diagram for iron.dataflow.tile_dma.TileDma:
Inheritance graph
[legend]
Collaboration diagram for iron.dataflow.tile_dma.TileDma:
Collaboration graph
[legend]

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
 

Detailed Description

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.

Constructor & Destructor Documentation

◆ __init__()

iron.dataflow.tile_dma.TileDma.__init__ (   self,
  tile,
Iterable[DmaChannel channels 
)

Member Function Documentation

◆ _region_decorator()

iron.dataflow.tile_dma.TileDma._region_decorator (   self)
protected
Pick the right ``aie`` region-opening decorator for the tile type.

◆ all_buffers_and_locks()

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.

◆ all_tiles()

iron.dataflow.tile_dma.TileDma.all_tiles (   self)

◆ resolve()

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.

◆ tile()

iron.dataflow.tile_dma.TileDma.tile (   self)

Member Data Documentation

◆ _resolved

iron.dataflow.tile_dma.TileDma._resolved
protected

◆ _tile

iron.dataflow.tile_dma.TileDma._tile
protected

The documentation for this class was generated from the following file: