IRON 1.0
|
Classes | |
class | __DeviceTile |
Public Member Functions | |
None | __init__ (self, AIEDevice device) |
int | rows (self) |
int | cols (self) |
list[Tile] | get_shim_tiles (self) |
list[Tile] | get_mem_tiles (self) |
list[Tile] | get_compute_tiles (self) |
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 (cls, ir.Location|None loc=None, ir.InsertionPoint|None ip=None) |
Protected Attributes | |
_device | |
A base class for representations of a device of a specific type. Note: this class is abstract because it does not implement Resolve
None iron.device.device.Device.__init__ | ( | self, | |
AIEDevice | device | ||
) |
Initialize a representation of a device. Args: device (AIEDevice): aie device
Reimplemented in iron.device.device.NPUBase.
int iron.device.device.Device.cols | ( | self | ) |
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.
Reimplemented in iron.device.device.NPUBase.
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.
Reimplemented in iron.device.device.NPUBase.
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.
Reimplemented in iron.device.device.NPUBase.
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 | ) |
|
protected |