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]
Αυτή η υποβολή περιλαμβάνεται σε:
foreman
2016-11-22 17:25:03 -05:00
γονέας d0a607aae2
υποβολή f9e24f9b20
2 αρχεία άλλαξαν με 4 προσθήκες και 4 διαγραφές
@@ -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();
@@ -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();