Skip to content

Commit 1ee6774

Browse files
committed
[L0] Disable driver in order in command buffer
Signed-off-by: Neil R. Spruit <[email protected]>
1 parent cd8b01c commit 1ee6774

File tree

1 file changed

+9
-5
lines changed

1 file changed

+9
-5
lines changed

source/adapters/level_zero/command_buffer.cpp

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -598,12 +598,16 @@ ur_result_t createMainCommandList(ur_context_handle_t Context,
598598
*/
599599
bool canBeInOrder(ur_context_handle_t Context,
600600
const ur_exp_command_buffer_desc_t *CommandBufferDesc) {
601+
std::ignore = Context;
602+
std::ignore = CommandBufferDesc;
601603
// In-order command-lists are not available in old driver version.
602-
bool CompatibleDriver = Context->getPlatform()->isDriverVersionNewerOrSimilar(
603-
1, 3, L0_DRIVER_INORDER_MIN_VERSION);
604-
return CompatibleDriver
605-
? (CommandBufferDesc ? CommandBufferDesc->isInOrder : false)
606-
: false;
604+
// bool CompatibleDriver =
605+
// Context->getPlatform()->isDriverVersionNewerOrSimilar(
606+
// 1, 3, L0_DRIVER_INORDER_MIN_VERSION);
607+
// return CompatibleDriver
608+
// ? (CommandBufferDesc ? CommandBufferDesc->isInOrder : false)
609+
// : false;
610+
return false;
607611
}
608612

609613
/**

0 commit comments

Comments
 (0)