IRON
1.0
|
Public Member Functions | |
None | __init__ (self) |
None | resolve (self, ir.Location|None loc=None, ir.InsertionPoint|None ip=None) |
Public Member Functions inherited from iron.device.device.NPUBase | |
None | __init__ (self, int cols, int rows) |
list[Tile] | get_shim_tiles (self) |
list[Tile] | get_mem_tiles (self) |
list[Tile] | get_compute_tiles (self) |
Public Member Functions inherited from iron.device.device.Device | |
int | rows (self) |
int | cols (self) |
None | resolve_tile (self, Tile tile, ir.Location|None loc=None, ir.InsertionPoint|None ip=None) |
A representation of a device that resolves to AIEDevice.npu1_2col
None iron.device.device.NPU1Col2.__init__ | ( | self | ) |
None iron.device.device.NPU1Col2.resolve | ( | cls, | |
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.