Skip to content

Commit 4a97fa7

Browse files
[L0] Fixed doubled execution of cmdlist
During executeAllCommandList we check if all events associated with list has been signaled, if so we do not execute commandlist. Signed-off-by: Winston Zhang <[email protected]>
1 parent 3b92549 commit 4a97fa7

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

source/adapters/level_zero/event.cpp

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -825,9 +825,6 @@ urEventWait(uint32_t NumEvents, ///< [in] number of events in the event list
825825
Queues.insert(Q);
826826
}
827827
}
828-
// Added to prevent race condition when using counter-based events.
829-
if (Event->CounterBasedEventsEnabled)
830-
std::this_thread::sleep_for(std::chrono::nanoseconds(1));
831828
}
832829
}
833830

0 commit comments

Comments
 (0)