remove stream locks where it is safe to do so

Этот коммит содержится в:
Jeff Daily committed 2019-07-22 17:38:51 +00:00
1 родитель 452ce283c8
Коммит 734c4b92c3
4 files changed
+14 -29

No files matched your search

+1 -3
Просмотреть файл
@@ -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 {