P4 to Git Change 1344886 by gandryey@gera-w8 on 2016/11/22 17:15:18

SWDEV-108024 - [ROCm CQE] Printf broken on ROCm , LC and HSAIL path
	- Update GSL and PAL backends to reflect a change in ROCM (CL#1344871)

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpuprintf.cpp#43 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palprintf.cpp#4 edit
Este commit está contenido en:
foreman
2016-11-22 17:25:03 -05:00
padre f07e2533df
commit d13211639d
Se han modificado 2 ficheros con 4 adiciones y 4 borrados
+2 -2
Ver fichero
@@ -658,9 +658,9 @@ PrintfDbgHSA::output(
xferBufRead_->unmap(&gpu);
if (offsetSize == 0) {
LogError("\n The printf buffer is empty!");
LogInfo("The printf buffer is empty!");
dev().xferRead().release(gpu, *xferBufRead_);
return false;
return true;
}
size_t bufSize = dev().xferRead().bufSize();
+2 -2
Ver fichero
@@ -651,9 +651,9 @@ PrintfDbgHSA::output(
xferBufRead_->unmap(&gpu);
if (offsetSize == 0) {
LogError("\n The printf buffer is empty!");
LogInfo("The printf buffer is empty!");
dev().xferRead().release(gpu, *xferBufRead_);
return false;
return true;
}
size_t bufSize = dev().xferRead().bufSize();