remove stream locks where it is safe to do so
[ROCm/clr commit: 734c4b92c3]
Cette révision appartient à :
1 Parent
b6f429bdae
révision
df457ce2bd
4 fichiers modifiés
+14
-29
Aucun fichier ne correspond à votre recherche
@@ -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 {
|
||||
|
||||
Référencer dans un nouveau ticket
Bloquer un utilisateur