Skip to content

Commit b848900

Browse files
committed
Removed unecessary driver workaround
Signed-off-by: Neil R. Spruit <[email protected]>
1 parent e9ca018 commit b848900

File tree

1 file changed

+0
-16
lines changed

1 file changed

+0
-16
lines changed

source/adapters/level_zero/event.cpp

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -223,22 +223,6 @@ ur_result_t urEnqueueEventsWaitWithBarrierExt(
223223
if (Queue->isInOrderQueue() && InOrderBarrierBySignal &&
224224
!Queue->isProfilingEnabled()) {
225225
if (EventWaitList.Length) {
226-
if (CmdList->second.IsInOrderList) {
227-
for (unsigned i = EventWaitList.Length; i-- > 0;) {
228-
// If the event is a multidevice event, then given driver in
229-
// order lists, we cannot include this into the wait event list
230-
// due to driver limitations.
231-
if (EventWaitList.UrEventList[i]->IsMultiDevice) {
232-
EventWaitList.Length--;
233-
if (EventWaitList.Length != i) {
234-
std::swap(EventWaitList.UrEventList[i],
235-
EventWaitList.UrEventList[EventWaitList.Length]);
236-
std::swap(EventWaitList.ZeEventList[i],
237-
EventWaitList.ZeEventList[EventWaitList.Length]);
238-
}
239-
}
240-
}
241-
}
242226
ZE2UR_CALL(zeCommandListAppendWaitOnEvents,
243227
(CmdList->first, EventWaitList.Length,
244228
EventWaitList.ZeEventList));

0 commit comments

Comments
 (0)