Skip to content

Commit 071223f

Browse files
author
Hugh Delaney
committed
Add extra synchronization
Enqueue things to L0 before calling queueFinish.
1 parent 5e1195e commit 071223f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

source/adapters/level_zero/enqueue_native.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,7 @@ ur_result_t ur_queue_handle_legacy_t_::enqueueNativeCommandExp(
6060
}
6161

6262
if (!isInOrderQueue()) {
63+
UR_CALL(Queue->executeCommandList(CommandList, false));
6364
queueFinish();
6465
// queue finish will execute the command list. Open it again so that
6566
// `zeCommandListAppendSignalEvent` can be executed.

0 commit comments

Comments
 (0)