remove stream locks where it is safe to do so

[ROCm/clr commit: 734c4b92c3]
Tá an tiomantas seo le fáil i:
Jeff Daily tiomanta 2019-07-22 17:38:51 +00:00
1 tuismitheoir b6f429bdae
tiomantas df457ce2bd
4 comhad athraithe
+14 -29

Níor tháinig aon chomhaid le do chuardach

+1 -3
Féach ar an gComhad
@@ -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 {