Skip to content

Commit

Permalink
Fix urEnqueueEventsWaitWithBarrier when used with interop events
Browse files Browse the repository at this point in the history
This patch partially reverts changes made in oneapi-src#2087 and allows
all events to be appended for waiting.
  • Loading branch information
pbalcer committed Sep 23, 2024
1 parent 6ab07b9 commit 0771369
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/adapters/level_zero/event.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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));
Expand Down

0 comments on commit 0771369

Please sign in to comment.