remove stream locks where it is safe to do so
[ROCm/clr commit: 734c4b92c3]
Tá an tiomantas seo le fáil i:
1 tuismitheoir
b6f429bdae
tiomantas
df457ce2bd
4 comhad athraithe
+14
-29
Níor tháinig aon chomhaid le do chuardach
@@ -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 {
|
||||
|
||||
Tagairt in Eagrán Nua
Cuir bac ar úsáideoir