|
IRON 1.0
|


Public Member Functions | |
| None | __init__ (self, int col, int row) |
| None | resolve (self, ir.Location|None loc=None, ir.InsertionPoint|None ip=None, str|None allocation_scheme=None) |
| TileOp | op (self) |
| op (self, TileOp op) | |
Protected Attributes | |
| _op | |
| _col | |
| _row | |
Interior class for tiles objects owned by a particular device. This is needed to ensure we don't generate more than one MLIR operation corresponding to the same logical tile within a device.
| None iron.device.device.Device.__DeviceTile.__init__ | ( | self, | |
| int | col, | ||
| int | row | ||
| ) |
| TileOp iron.device.device.Device.__DeviceTile.op | ( | self | ) |
| iron.device.device.Device.__DeviceTile.op | ( | self, | |
| TileOp | op | ||
| ) |
| None iron.device.device.Device.__DeviceTile.resolve | ( | cls, | |
| ir.Location | None | loc = None, |
||
| ir.InsertionPoint | None | ip = None, |
||
| str | None | allocation_scheme = 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.
|
protected |
|
protected |
|
protected |