legate.core.task.PyTask.complete_registration#

PyTask.complete_registration(self) _LocalTaskID#

Complete registration for a task.

Returns:

The (context-local) task ID for the task.

Return type:

LocalTaskID

Raises:

ValueError – If the task has no registered variants.

Notes

It is safe to call this method on an already registered task (it does nothing).