|
IRON 1a5eed49d3c0721a318ac369f725acc96b7c4584
|


Public Member Functions | |
| None | __init__ (self, AIEDevice device) |
| int | cols (self) |
| int | rows (self) |
| AIEArch | arch (self) |
| AIETileType | get_tile_type (self, col, row) |
| Generator[Tile, None, None] | tile_iterator (self) |
| list[Tile] | get_shim_tiles (self) |
| list[Tile] | get_mem_tiles (self) |
| list[Tile] | get_compute_tiles (self) |
| bool | is_mem_accessible (self, Tile source_tile, list[Tile] tiles) |
| None | resolve_tile (self, Tile tile, ir.Location|None loc=None, ir.InsertionPoint|None ip=None) |
Public Member Functions inherited from iron.resolvable.Resolvable | |
| None | resolve (self, ir.Location|None loc=None, ir.InsertionPoint|None ip=None) |
| list | tiles (self) |
Protected Member Functions | |
| _validate_coordinates (self, col, row) | |
Protected Attributes | |
| _device | |
| _tm | |
A representation of a device of a specific type. Provides device metadata (column/row counts) and emits aie.logical_tile ops for Tile objects during resolve.
| None iron.device.device.Device.__init__ | ( | self, | |
| AIEDevice | device | ||
| ) |
|
protected |
Raise ValueError if coordinates are outside the device grid.
| AIEArch iron.device.device.Device.arch | ( | self | ) |
AIE architecture of the device (AIE1, AIE2, or AIE2p).
| int iron.device.device.Device.cols | ( | self | ) |
Number of columns in the device tile array.
| list[Tile] iron.device.device.Device.get_compute_tiles | ( | self | ) |
Returns a list of all compute tiles on the device.
Returns:
list[Tile]: A list of compute tiles.
| list[Tile] iron.device.device.Device.get_mem_tiles | ( | self | ) |
Returns a list of all mem tiles on the device.
Returns:
list[Tile]: A list of mem tiles.
| list[Tile] iron.device.device.Device.get_shim_tiles | ( | self | ) |
Returns a list of all shim tiles on the device.
Returns:
list[Tile]: A list of shim tiles.
| AIETileType iron.device.device.Device.get_tile_type | ( | self, | |
| col, | |||
| row | |||
| ) |
Return the AIETileType for the given device coordinates.
| bool iron.device.device.Device.is_mem_accessible | ( | self, | |
| Tile | source_tile, | ||
| list[Tile] | tiles | ||
| ) |
Returns whether there exists a memory region on source_tile which all destination tiles can access.
Returns:
bool: True if the given source tile has a memory region accessible by all destination tiles.
| None iron.device.device.Device.resolve_tile | ( | self, | |
| Tile | tile, | ||
| ir.Location | None | loc = None, |
||
| ir.InsertionPoint | None | ip = None |
||
| ) |
| int iron.device.device.Device.rows | ( | self | ) |
Number of rows in the device tile array.
| Generator[Tile, None, None] iron.device.device.Device.tile_iterator | ( | self | ) |
Iterates over the device tiles deterministically
|
protected |
|
protected |