From b6cb70a45a9bb051d16292c943b5c9b0a4b8a481 Mon Sep 17 00:00:00 2001 From: "Zhang, Winston" Date: Wed, 19 Feb 2025 20:11:14 -0800 Subject: [PATCH] [UR][L0] executeCommandlist returning early for blocking batching SYCL_UR_TRACE makes urEnqueueUSMMemcpy non-blocking even though blocking is set to true. This patch fixes the issue. Signed-off-by: Zhang, Winston --- unified-runtime/source/adapters/level_zero/queue.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/unified-runtime/source/adapters/level_zero/queue.cpp b/unified-runtime/source/adapters/level_zero/queue.cpp index da900b3ce5a64..93f024d040058 100644 --- a/unified-runtime/source/adapters/level_zero/queue.cpp +++ b/unified-runtime/source/adapters/level_zero/queue.cpp @@ -1318,7 +1318,6 @@ ur_queue_handle_t_::executeCommandList(ur_command_list_ptr_t CommandList, if (CommandList->second.size() < CommandBatch.QueueBatchSize) { CommandBatch.OpenCommandList = CommandList; - return UR_RESULT_SUCCESS; } adjustBatchSizeForFullBatch(UseCopyEngine);