remove stream locks where it is safe to do so

Tento commit je obsažen v:
Jeff Daily
2019-07-10 20:11:41 +00:00
rodič 866cc4e646
revize f096a3239e
4 změnil soubory, kde provedl 14 přidání a 29 odebrání
+1 -3
Zobrazit soubor
@@ -191,10 +191,8 @@ hipError_t hipEventSynchronize(hipEvent_t event) {
ctx->locked_syncDefaultStream(true, true);
return ihipLogStatus(hipSuccess);
} else {
ecd._stream->locked_eventWaitComplete(
ecd.marker(), (event->_flags & hipEventBlockingSync) ? hc::hcWaitModeBlocked
ecd.marker().wait((event->_flags & hipEventBlockingSync) ? hc::hcWaitModeBlocked
: hc::hcWaitModeActive);
return ihipLogStatus(hipSuccess);
}
} else {