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


[ROCm/clr commit: d13211639d]
This commit is contained in:
foreman
2016-11-22 17:25:03 -05:00
parent d0a607aae2
commit f9e24f9b20
2 changed files with 4 additions and 4 deletions
@@ -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();