SWDEV-413997 - Fixing multiple device cases.

Change-Id: I10ad3fbfca887e92cd81f68392fa1acf753cbd2b
This commit is contained in:
kjayapra-amd authored and Karthik Jayaprakash committed 2024-04-13 06:14:03 -04:00
1 parent 7de7da4016
commit d52d16c8e6
8 files changed
+177 -50

No files matched your search

+1 -4
View File
@@ -320,10 +320,7 @@ bool Memory::create(void* initFrom, bool sysMemAlloc, bool skipAlloc, bool force
}
}
}
// Add a VA range into VA range map
if (getMemFlags() & CL_MEM_VA_RANGE_AMD) {
amd::MemObjMap::AddVirtualMemObj(getSvmPtr(), this);
}
// Store the unique id for each memory allocation
uniqueId_ = ++numAllocs;
return true;