legate.core.Runtime.create_auto_task#

Runtime.create_auto_task(
self,
Library library,
_LocalTaskID task_id,
) AutoTask#

Creates an auto task.

Parameters:
  • library (Library) – Library to which the task id belongs

  • task_id (LocalTaskID) – Task id. Scoped locally within the library; i.e., different libraries can use the same task id. There must be a task implementation corresponding to the task id.

Returns:

A new automatically parallelized task

Return type:

AutoTask