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
Este cometimento está contido em:
foreman cometeu 2018-04-03 18:05:03 -04:00
1 ascendente 94513e1ac9
cometimento 99e65b393e
1 ficheiro modificado
+1 -1
+1 -1
Ver ficheiro
@@ -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();