Temporary fix for SWDEV-459354

Change-Id: I13d7d600ab72d873d1dbc5d5e9b72c2ca5941488


[ROCm/rocprofiler commit: b6576393a2]
Этот коммит содержится в:
Ammar ELWazir
2024-05-13 18:04:00 -05:00
коммит произвёл Ammar Elwazir
родитель 3a1edf9a2d
Коммит a36338a7a6
+4 -1
Просмотреть файл
@@ -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;