IRON
1.0
|
Public Member Functions | |
def | __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) |
Private Attributes | |
_task_group | |
A RuntimeTask is a task to be performed during runtime. A task may be synchronous or asynchronous.
def 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.
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.task.InlineOpRuntimeTask, and iron.runtime.dmatask.DMATask.
RuntimeTaskGroup | None iron.runtime.task.RuntimeTask.task_group | ( | self | ) |
The RuntimeTaskGroup associated with this task.
|
private |