|
IRON 1.0
|


Public Member Functions | |
| __init__ (self, RuntimeTaskGroup|None task_group=None) | |
| RuntimeTaskGroup|None | task_group (self) |
| None | resolve (self, ir.Location|None loc=None, ir.InsertionPoint|None ip=None) |
Protected Attributes | |
| _task_group | |
A RuntimeTask is a task to be performed during runtime. A task may be synchronous or asynchronous.
| iron.runtime.task.RuntimeTask.__init__ | ( | self, | |
| RuntimeTaskGroup | None | task_group = None |
||
| ) |
Construct a RuntimeTask. It may be associated with a RuntimeTaskGroup.
Args:
task_group (RuntimeTaskGroup | None, optional): The TaskGroup associated with this task. Defaults to None.
Reimplemented in iron.runtime.task.InlineOpRuntimeTask, iron.runtime.dmatask.DMATask, iron.runtime.task.FinishTaskGroupTask, and iron.runtime.task.RuntimeStartTask.
| None iron.runtime.task.RuntimeTask.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.
Reimplemented in iron.runtime.dmatask.DMATask, and iron.runtime.task.InlineOpRuntimeTask.
| RuntimeTaskGroup | None iron.runtime.task.RuntimeTask.task_group | ( | self | ) |
The RuntimeTaskGroup associated with this task.
|
protected |