From e42dab4fa8133dc42d51def80930864d1882737b Mon Sep 17 00:00:00 2001 From: "Neil R. Spruit" Date: Wed, 4 Dec 2024 09:32:58 -0800 Subject: [PATCH] [L0] Disable drver in order in command buffer Signed-off-by: Neil R. Spruit --- source/adapters/level_zero/command_buffer.cpp | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/source/adapters/level_zero/command_buffer.cpp b/source/adapters/level_zero/command_buffer.cpp index eccdc5e4d2..bfe00baa60 100644 --- a/source/adapters/level_zero/command_buffer.cpp +++ b/source/adapters/level_zero/command_buffer.cpp @@ -598,12 +598,16 @@ ur_result_t createMainCommandList(ur_context_handle_t Context, */ bool canBeInOrder(ur_context_handle_t Context, const ur_exp_command_buffer_desc_t *CommandBufferDesc) { + std::ignore = Context; + std::ignore = CommandBufferDesc; // In-order command-lists are not available in old driver version. - bool CompatibleDriver = Context->getPlatform()->isDriverVersionNewerOrSimilar( - 1, 3, L0_DRIVER_INORDER_MIN_VERSION); - return CompatibleDriver - ? (CommandBufferDesc ? CommandBufferDesc->isInOrder : false) - : false; + // bool CompatibleDriver = + // Context->getPlatform()->isDriverVersionNewerOrSimilar( + // 1, 3, L0_DRIVER_INORDER_MIN_VERSION); + // return CompatibleDriver + // ? (CommandBufferDesc ? CommandBufferDesc->isInOrder : false) + // : false; + return false; } /**