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(
145
145
std::unique_lock<ur_shared_mutex> Lock (Queue->Mutex );
146
146
resetCommandLists (Queue);
147
147
}
148
- if (OutEvent && (*OutEvent)->Completed ) {
149
- UR_CALL (CleanupCompletedEvent ((*OutEvent), false , false ));
150
- UR_CALL (urEventReleaseInternal ((*OutEvent)));
151
- }
152
148
153
149
return UR_RESULT_SUCCESS;
154
150
}
@@ -795,7 +791,7 @@ urEventWait(uint32_t NumEvents, ///< [in] number of events in the event list
795
791
//
796
792
ur_event_handle_t_ *Event = ur_cast<ur_event_handle_t_ *>(e);
797
793
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" );
799
795
800
796
ze_event_handle_t ZeHostVisibleEvent;
801
797
if (auto Res = Event->getOrCreateHostVisibleEvent (ZeHostVisibleEvent))
You can’t perform that action at this time.
0 commit comments