Skip to content

Commit 00aab49

Browse files
smaslov-intelbb-sycl
authored andcommitted
[SYCL][L0] Add a barrier before signal of host-visible proxy (intel#1357)
Signed-off-by: Sergey V Maslov <[email protected]>
1 parent 2b72d5c commit 00aab49

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

SYCL/Plugin/level_zero_device_scope_events.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
//
2525
// MODE2: ze_event_pool_desc_t flags set to: 1
2626
// MODE2: ZE ---> zeEventCreate(ZeEventPool, &ZeEventDesc, &ZeEvent)
27-
// MODE2: ZE ---> zeCommandListAppendSignalEvent(CommandList->first, HostVisibleEvent->ZeEvent)
27+
// MODE2: ZE ---> zeCommandListAppendBarrier(CommandList->first, HostVisibleEvent->ZeEvent, 0, nullptr)
2828
// MODE2: ZE ---> zeCommandListClose(CommandList->first)
2929
// MODE2: ZE ---> zeCommandQueueExecuteCommandLists(ZeCommandQueue, 1, &ZeCommandList, CommandList->second.ZeFence)
3030
// clang-format on

0 commit comments

Comments
 (0)