2
0

P4 to Git Change 1202371 by mbareghe@mbareghe_stg_win30 on 2015/10/21 18:22:36

SWDEV-79399 - OpenCL printf does not print correctly when the printf builtin function is called twice - clear the local printf info each time

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpukernel.cpp#305 edit
Este cometimento está contido em:
foreman
2015-10-21 18:35:09 -04:00
ascendente 0bb91b89ba
cometimento 6800b9f003
+1
Ver ficheiro
@@ -3302,6 +3302,7 @@ HSAILKernel::initPrintf(const aclPrintfFmt* aclPrintf)
printf_.resize(index + 1);
}
std::string pfmt = aclPrintf->fmtStr;
info.fmtString_.clear();
size_t pos = 0;
for (size_t i = 0; i < pfmt.size(); ++i) {
char symbol = pfmt[pos++];