SWDEV-461702 - Disable interprocess for >3GBs local memory due to PAL failure.
Change-Id: I211d4de2e04a45148b92d256378516d2f79e210a
This commit is contained in:
کامیت شده توسط
Jaydeepkumar Patel
والد
d44f44a5b1
کامیت
c03ccdb9b9
@@ -1684,6 +1684,10 @@ pal::Memory* Device::createBuffer(amd::Memory& owner, bool directAccess) const {
|
||||
}
|
||||
}
|
||||
params.interprocess_ = (owner.getMemFlags() & ROCCLR_MEM_INTERPROCESS) ? true : false;
|
||||
// Disable interprocess for >3GBs local memory due to PAL failure.
|
||||
if ((type == Resource::Local || type == Resource::Persistent) && owner.getSize() > 3 * Gi) {
|
||||
params.interprocess_ = false;
|
||||
}
|
||||
if (owner.ipcShared()) {
|
||||
type = Resource::IpcMemory;
|
||||
}
|
||||
|
||||
مرجع در شماره جدید
Block a user