Skip to content

Commit 4a17e23

Browse files
Graph tests adjustment with allowDriverInOrderLists(true)
Signed-off-by: Zhang, Winston <[email protected]>
1 parent 2933b3d commit 4a17e23

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

unified-runtime/source/adapters/level_zero/command_buffer.cpp

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,8 @@ bool checkCounterBasedEventsSupport(ur_device_handle_t Device) {
7777
}();
7878

7979
return Device->ImmCommandListUsed &&
80-
Device->Platform->allowDriverInOrderLists() &&
80+
Device->Platform->allowDriverInOrderLists(
81+
true /*Only Allow Driver In Order List if requested*/) &&
8182
useDriverCounterBasedEvents &&
8283
Device->Platform->ZeDriverEventPoolCountingEventsExtensionFound;
8384
}
@@ -649,7 +650,8 @@ ur_result_t createMainCommandList(ur_context_handle_t Context,
649650
bool canBeInOrder(ur_context_handle_t Context,
650651
const ur_exp_command_buffer_desc_t *CommandBufferDesc) {
651652
bool CanUseDriverInOrderLists =
652-
Context->getPlatform()->allowDriverInOrderLists();
653+
Context->getPlatform()->allowDriverInOrderLists(
654+
true /*Only Allow Driver In Order List if requested*/);
653655
return CanUseDriverInOrderLists ? CommandBufferDesc->isInOrder : false;
654656
}
655657

0 commit comments

Comments
 (0)