IRON  1.0
Public Member Functions | Private Attributes | List of all members
iron.device.device.Device.__DeviceTile Class Reference
Inheritance diagram for iron.device.device.Device.__DeviceTile:
Inheritance graph
[legend]
Collaboration diagram for iron.device.device.Device.__DeviceTile:
Collaboration graph
[legend]

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
 

Detailed Description

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.

Constructor & Destructor Documentation

◆ __init__()

None iron.device.device.Device.__DeviceTile.__init__ (   self,
int  col,
int  row 
)

Member Function Documentation

◆ op() [1/2]

TileOp iron.device.device.Device.__DeviceTile.op (   self)

◆ op() [2/2]

def iron.device.device.Device.__DeviceTile.op (   self,
TileOp  op 
)

◆ resolve()

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.

Member Data Documentation

◆ _op

iron.device.device.Device.__DeviceTile._op
private

The documentation for this class was generated from the following file: