SWDEV-474617 SWDEV-464679 - Fix segfault in palvirtual due to peer memory access
Change-Id: Ib8b641712d78acf8bc073ca5705dea97af6f944a
Dieser Commit ist enthalten in:
committet von
Rahul Manocha
Ursprung
f6a68b3c2e
Commit
432bdd7bf2
@@ -1418,6 +1418,11 @@ bool VirtualGPU::copyMemory(cl_command_type type, amd::Memory& srcMem, amd::Memo
|
||||
pal::Memory* dstMemory = dev().getGpuMemory(&dstMem);
|
||||
pal::Memory* srcMemory = dev().getGpuMemory(&srcMem);
|
||||
|
||||
if(dstMemory == nullptr || srcMemory == nullptr){
|
||||
LogError("submitcopyMemory Failed!");
|
||||
return false;
|
||||
}
|
||||
|
||||
// Synchronize source and destination memory
|
||||
device::Memory::SyncFlags syncFlags;
|
||||
syncFlags.skipEntire_ = entire;
|
||||
|
||||
In neuem Issue referenzieren
Einen Benutzer sperren