File tree Expand file tree Collapse file tree 1 file changed +0
-16
lines changed
source/adapters/level_zero Expand file tree Collapse file tree 1 file changed +0
-16
lines changed Original file line number Diff line number Diff 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 ));
You can’t perform that action at this time.
0 commit comments