|
IRON 0d9d245f13ac73bfe91a5cd530f8af84b35caa61
|


Public Member Functions | |
| None | __init__ (self, AIEDevice device) |
| int | cols (self) |
| int | rows (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) |
| int | get_num_source_switchbox_connections (self, Tile t) |
| int | get_num_dest_switchbox_connections (self, Tile t) |
| int | get_num_source_shim_mux_connections (self, Tile t) |
| int | get_num_dest_shim_mux_connections (self, Tile t) |
| int | get_num_connections (self, Tile tile, bool output) |
| 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) |
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.
| 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.
| int iron.device.device.Device.get_num_connections | ( | self, | |
| Tile | tile, | ||
| bool | output | ||
| ) |
Returns number of DMA input or output "channels" available on the tile.
Returns:
int: Number of connections (channels) available on the tile.
| int iron.device.device.Device.get_num_dest_shim_mux_connections | ( | self, | |
| Tile | t | ||
| ) |
Returns number of DMA dest ports in the shim mux for the given tile on the device.
Args:
t (Tile): The tile to query.
Returns:
int: Number of DMA dest ports.
| int iron.device.device.Device.get_num_dest_switchbox_connections | ( | self, | |
| Tile | t | ||
| ) |
Returns number of DMA dest ports in the switchbox for the given tile on the device.
Args:
t (Tile): The tile to query.
Returns:
int: Number of DMA dest ports.
| int iron.device.device.Device.get_num_source_shim_mux_connections | ( | self, | |
| Tile | t | ||
| ) |
Returns number of DMA source ports in the shim mux for the given tile on the device.
Args:
t (Tile): The tile to query.
Returns:
int: Number of DMA source ports.
| int iron.device.device.Device.get_num_source_switchbox_connections | ( | self, | |
| Tile | t | ||
| ) |
Returns number of DMA source ports in the switchbox for the given tile on the device.
Args:
t (Tile): The tile to query.
Returns:
int: Number of DMA source ports.
| 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.
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 |