P4 to Git Change 1536332 by gandryey@gera-w8 on 2018/04/03 17:53:18

SWDEV-148749 - VM freezes in Horizon View
	- Fix a typo when memory references are removed from the destroyed queue. If null is sent to PAL, then PAL removes references from all available queues, but runtime logic needs only for the destroyed queue.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palvirtual.cpp#83 edit


[ROCm/clr commit: 99e65b393e]
Tento commit je obsažen v:
foreman
2018-04-03 18:05:03 -04:00
rodič b3d1b17119
revize 960d4f2002
+1 -1
Zobrazit soubor
@@ -129,7 +129,7 @@ VirtualGPU::Queue::~Queue() {
memRef.push_back(it.first->iMem());
}
if (memRef.size() != 0) {
iDev_->RemoveGpuMemoryReferences(memRef.size(), &memRef[0], NULL);
iDev_->RemoveGpuMemoryReferences(memRef.size(), &memRef[0], iQueue_);
}
memReferences_.clear();