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
This commit is contained in:
sdashmiz
2023-02-17 14:21:59 -05:00
committed by Maneesh Gupta
parent 314bdba632
commit ea5838320e
2 changed files with 0 additions and 9 deletions
-6
View File
@@ -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);
}