dpctl.SyclQueue.submit_barrier

SyclQueue.submit_barrier(dependent_events=None)

Submits a barrier to this queue.

Parameters:

dependent_events

List[dpctl.SyclEvent]:

List or tuple of events that must complete before this task may begin execution.

Returns:

Event associated with the submitted task

Return type:

dpctl.SyclEvent