SWDEV-413997 - Fixing multiple device cases.
Change-Id: I10ad3fbfca887e92cd81f68392fa1acf753cbd2b
This commit is contained in:
committed by
Karthik Jayaprakash
parent
7de7da4016
commit
d52d16c8e6
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user