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

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
 

Detailed Description

A RuntimeTask is a task to be performed during runtime. A task may be synchronous or asynchronous.

Constructor & Destructor Documentation

◆ __init__()

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.

Member Function Documentation

◆ resolve()

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.

◆ task_group()

RuntimeTaskGroup | None iron.runtime.task.RuntimeTask.task_group (   self)
The RuntimeTaskGroup associated with this task.

Member Data Documentation

◆ _task_group

iron.runtime.task.RuntimeTask._task_group
private

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