|
IRON 1.0
|


Public Member Functions | |
| __init__ (self, WorkerRuntimeBarrier barrier, int value) | |
| None | resolve (self, ir.Location|None loc=None, ir.InsertionPoint|None ip=None) |
Public Attributes | |
| value | |
A resolvable instance of a WorkerRuntimeBarrier. This should not be used directly.
| iron.worker._BarrierSetOp.__init__ | ( | self, | |
| WorkerRuntimeBarrier | barrier, | ||
| int | value | ||
| ) |
| None iron.worker._BarrierSetOp.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.
| iron.worker._BarrierSetOp.value |