legate.core.Runtime.issue_execution_fence#

Runtime.issue_execution_fence(self, bool block=False) void#

Issue an execution fence.

An execution fence is a join point in the task graph. All operations prior to a fence must finish before any of the subsequent operations start.

All execution fences are mapping fences by definition; i.e., an execution fence not only prevents the downstream operations from being mapped ahead of itself but also precedes their execution.

Parameters:

block (bool (False)) – Whether to block control code on the fence. If True, this routine does not return until the scheduling pipeline has been fully flushed, and all tasks on it have finished executing.