SWDEV-301667 - Remove guarantee
Remove guarantee from AddMemObj as one can call it multiple times for
different devices
Change-Id: I49dd76068b3c4c709f17541159052302dcdb374d
[ROCm/clr commit: 3bf1d5ac97]
Tá an tiomantas seo le fáil i:
1 tuismitheoir
1a50452b4c
tiomantas
4a9f9f1671
1 comhad athraithe
-1
@@ -276,7 +276,6 @@ void MemObjMap::AddMemObj(const void* k, amd::Memory* v) {
|
||||
if (!rval.second) {
|
||||
DevLogPrintfError("Memobj map already has an entry for ptr: 0x%x",
|
||||
reinterpret_cast<uintptr_t>(k));
|
||||
guarantee(false, "Memobj map already has an entry for ptr");
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Tagairt in Eagrán Nua
Cuir bac ar úsáideoir