Skip to content

Commit 329be61

Browse files
authored
Revert "stop batching multiple CmdList execution when waiting for barriers"
1 parent fd3b120 commit 329be61

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

source/adapters/level_zero/event.cpp

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -367,12 +367,6 @@ UR_APIEXPORT ur_result_t UR_APICALL urEnqueueEventsWaitWithBarrier(
367367
IsInternal));
368368
}
369369

370-
// When executing command lists, allowing batching simply means storing
371-
// the CmdLists as the current open batch. That's not what we want here.
372-
// Moreover, the current implementation does not allow calling
373-
// executeCommandList after an earlier getAvailableCommandList returned some
374-
// other CmdList.
375-
OkToBatch = false;
376370
// Execute each command list so the barriers can be encountered.
377371
for (ur_command_list_ptr_t &CmdList : CmdLists)
378372
UR_CALL(Queue->executeCommandList(CmdList, false, OkToBatch));

0 commit comments

Comments
 (0)