Temporary fix for SWDEV-459354

Change-Id: I13d7d600ab72d873d1dbc5d5e9b72c2ca5941488
Cette révision appartient à :
Ammar ELWazir a créé et Ammar Elwazir a révisé 2024-05-24 10:39:32 -04:00
1 Parent 654a8a27f8
révision b6576393a2
1 fichier modifié
+4 -1
+4 -1
Voir le fichier
@@ -628,7 +628,10 @@ class InterceptQueue {
const InterceptQueue* obj = it->second;
assert(queue == obj->queue_);
delete obj;
obj_map_.erase(it);
// TODO(aelwazir): This doesn't work anymore with the latest update from HIP Runtime
// when they delete their queues, that causes double free.
// We need another way to solve this issue.
// obj_map_.erase(it);
status = HSA_STATUS_SUCCESS;
}
return status;