legate.core.task.PyTask.task_id#

PyTask.task_id#

_LocalTaskID

Return the context-local task ID for this task.

Returns:

The local task ID of the task.

Return type:

LocalTaskID

Raises:

RuntimeError – If the task has not completed registration.

Type:

PyTask.task_id