|
IRON dda37d5934b525fc5832d3d5e94037a8931956aa
|


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 | ||
| ) |
Construct a _BarrierSetOp.
Args:
barrier (WorkerRuntimeBarrier): The barrier whose value will be set.
value (int): The value to set.
| None iron.worker._BarrierSetOp.resolve | ( | self, | |
| 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 |