We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents fb342f0 + 112089f commit 9990d44Copy full SHA for 9990d44
source/adapters/level_zero/event.cpp
@@ -367,6 +367,12 @@ UR_APIEXPORT ur_result_t UR_APICALL urEnqueueEventsWaitWithBarrier(
367
IsInternal));
368
}
369
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;
376
// Execute each command list so the barriers can be encountered.
377
for (ur_command_list_ptr_t &CmdList : CmdLists)
378
UR_CALL(Queue->executeCommandList(CmdList, false, OkToBatch));
0 commit comments