SWDEV-379388 - remove check for all streams done

- cuda shows  a different behaviour and different error need more
  investigation

Signed-off-by: sdashmiz <shadi.dashmiz@amd.com>
Change-Id: I68771102ba4dff6157bca34a4135cb245f023d08
Tá an tiomantas seo le fáil i:
sdashmiz údaraithe agus Maneesh Gupta tiomanta 2023-02-23 22:56:23 -05:00
1 tuismitheoir 314bdba632
tiomantas ea5838320e
2 comhad athraithe
-9

Níor tháinig aon chomhaid le do chuardach

-3
Féach ar an gComhad
@@ -410,9 +410,6 @@ hipError_t hipEventSynchronize(hipEvent_t event) {
HIP_RETURN(hipErrorInvalidHandle);
}
if (hip::Stream::StreamCaptureOngoing() == true) {
HIP_RETURN(hipErrorStreamCaptureUnsupported);
}
hip::Event* e = reinterpret_cast<hip::Event*>(event);
HIP_RETURN(e->synchronize());
}
-6
Féach ar an gComhad
@@ -502,12 +502,6 @@ hipError_t hipStreamWaitEvent_common(hipStream_t stream, hipEvent_t event, unsig
return hipErrorContextIsDestroyed;
}
if (stream != nullptr) {
// If still capturing return error
if (hip::Stream::StreamCaptureOngoing() == true) {
HIP_RETURN(hipErrorStreamCaptureIsolation);
}
}
hip::Event* e = reinterpret_cast<hip::Event*>(event);
return e->streamWait(stream, flags);
}