From 0771369002a74744cf86b8666c47f12200b8d4b4 Mon Sep 17 00:00:00 2001 From: Piotr Balcer Date: Mon, 23 Sep 2024 16:55:27 +0200 Subject: [PATCH] Fix urEnqueueEventsWaitWithBarrier when used with interop events This patch partially reverts changes made in #2087 and allows all events to be appended for waiting. --- source/adapters/level_zero/event.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/adapters/level_zero/event.cpp b/source/adapters/level_zero/event.cpp index f58db37753..4fc92f76fc 100644 --- a/source/adapters/level_zero/event.cpp +++ b/source/adapters/level_zero/event.cpp @@ -198,7 +198,7 @@ ur_result_t urEnqueueEventsWaitWithBarrier( !Queue->isProfilingEnabled()) { // If we are using driver in order lists, then append wait on events // is unnecessary and we can signal the event created. - if (EventWaitList.Length && !CmdList->second.IsInOrderList) { + if (EventWaitList.Length) { ZE2UR_CALL(zeCommandListAppendWaitOnEvents, (CmdList->first, EventWaitList.Length, EventWaitList.ZeEventList));