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) |
TileOp | op (self) |
def | op (self, TileOp op) |
Private Attributes | |
_op | |
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 | ) |
def 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 |
||
) |
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.
|
private |