P4 to Git Change 1518569 by gandryey@gera-w8 on 2018/02/22 18:48:33

SWDEV-145750 - SSG Player drop in performance observed when using the OCL Api in 18.10
	- Keep persistent memory mapped all time for Linux and Win10

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/pal/paldevice.cpp#73 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palresource.cpp#48 edit
Este commit está contenido en:
foreman
2018-02-22 18:54:16 -05:00
padre a31d6b2e6d
commit 9018bc85cc
Se han modificado 2 ficheros con 9 adiciones y 1 borrados
+2 -1
Ver fichero
@@ -1106,7 +1106,8 @@ void Resource::free() {
}
// Sanity check for the map calls
if ((mapCount_ != 0) && (memoryType() != Remote) && (memoryType() != RemoteUSWC)) {
if ((mapCount_ != 0) && (memoryType() != Remote) &&
(memoryType() != RemoteUSWC) && (memoryType() != Persistent)) {
LogWarning("Resource wasn't unlocked, but destroyed!");
}
const bool wait =