legate.core.context.Context.create_auto_task#

Context.create_auto_task(task_id: int, mapper_id: int = 0) AutoTask#

Type safe version of Context.create_task. Always returns an AutoTask.

Parameters:
  • task_id (int) – Task id

  • mapper_id (int, optional) – Mapper id

  • launch_domain (Rect, optional) – Launch domain of the task.

Returns:

A new manually parallelized task

Return type:

AutoTask