From a33cb9f07a08d1e3268cbbb3dfa53de15d7ebd21 Mon Sep 17 00:00:00 2001 From: Igor Chorazewicz Date: Mon, 25 Nov 2024 22:01:35 +0000 Subject: [PATCH] [L0 v2] Add missing queueFinish() to queueRelease() --- source/adapters/level_zero/v2/queue_immediate_in_order.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/source/adapters/level_zero/v2/queue_immediate_in_order.cpp b/source/adapters/level_zero/v2/queue_immediate_in_order.cpp index a77903525d..519b0ffc1e 100644 --- a/source/adapters/level_zero/v2/queue_immediate_in_order.cpp +++ b/source/adapters/level_zero/v2/queue_immediate_in_order.cpp @@ -153,6 +153,8 @@ ur_result_t ur_queue_immediate_in_order_t::queueRelease() { if (!RefCount.decrementAndTest()) return UR_RESULT_SUCCESS; + UR_CALL(queueFinish()); + delete this; return UR_RESULT_SUCCESS; }