SWDEV-342067 - Fixes a minor coding error to loop through all the entries in the map
Change-Id: I837cb4868de2acd3e71ca9a745a62ed0bb2d1400
Cette révision appartient à :
révisé par
Sourabh Betigeri
Parent
7b38ee1574
révision
5ad38a32bf
@@ -122,8 +122,8 @@ bool Heap::ReleaseAllMemory(hip::Stream* stream) {
|
||||
|
||||
// ================================================================================================
|
||||
void Heap::RemoveStream(hip::Stream* stream) {
|
||||
for (auto it = allocations_.begin(); it != allocations_.end();) {
|
||||
it->second.safe_streams_.erase(stream);
|
||||
for (auto it : allocations_) {
|
||||
it.second.safe_streams_.erase(stream);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Référencer dans un nouveau ticket
Bloquer un utilisateur