File tree Expand file tree Collapse file tree 1 file changed +1
-5
lines changed
source/adapters/level_zero Expand file tree Collapse file tree 1 file changed +1
-5
lines changed Original file line number Diff line number Diff line change @@ -145,10 +145,6 @@ ur_result_t urEnqueueEventsWait(
145145 std::unique_lock<ur_shared_mutex> Lock (Queue->Mutex );
146146 resetCommandLists (Queue);
147147 }
148- if (OutEvent && (*OutEvent)->Completed ) {
149- UR_CALL (CleanupCompletedEvent ((*OutEvent), false , false ));
150- UR_CALL (urEventReleaseInternal ((*OutEvent)));
151- }
152148
153149 return UR_RESULT_SUCCESS;
154150}
@@ -795,7 +791,7 @@ urEventWait(uint32_t NumEvents, ///< [in] number of events in the event list
795791 //
796792 ur_event_handle_t_ *Event = ur_cast<ur_event_handle_t_ *>(e);
797793 if (!Event->hasExternalRefs ())
798- die (" urEventsWait must not be called for an internal event" );
794+ die (" urEventWait must not be called for an internal event" );
799795
800796 ze_event_handle_t ZeHostVisibleEvent;
801797 if (auto Res = Event->getOrCreateHostVisibleEvent (ZeHostVisibleEvent))
You can’t perform that action at this time.
0 commit comments