SWDEV-380703 - sync all streams individually

Avoid syncing blocking streams with the default stream,
since that introduces extra command dependencies and
doesn't allow to destroy memory after last submission

Change-Id: I618e9bd2091c4cf9157125612d8c4759030c5a80


[ROCm/clr commit: 1e88d2c52f]
Cette révision appartient à :
German
2023-03-22 19:14:15 -04:00
révisé par Maneesh Gupta
Parent 235eb22491
révision 56dedad98b
7 fichiers modifiés avec 49 ajouts et 71 suppressions
+1 -1
Voir le fichier
@@ -578,7 +578,7 @@ struct hipGraphExec {
// terminated after it complete execution
for (auto stream : parallel_streams_) {
if (stream != nullptr) {
stream->release();
hip::Stream::Destroy(stream);
}
}
for (auto it = clonedNodes_.begin(); it != clonedNodes_.end(); it++) delete it->second;