From 15a2ce6d920bc1f06a5412b56794ae045c070e45 Mon Sep 17 00:00:00 2001 From: "Zhang, Winston" Date: Fri, 14 Feb 2025 23:30:02 +0000 Subject: [PATCH] [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 --- source/adapters/level_zero/queue.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/source/adapters/level_zero/queue.cpp b/source/adapters/level_zero/queue.cpp index aed521b605..d494bd89c7 100644 --- a/source/adapters/level_zero/queue.cpp +++ b/source/adapters/level_zero/queue.cpp @@ -1314,7 +1314,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);