P4 to Git Change 1344715 by lmoriche@lmoriche_opencl_dev on 2016/11/22 13:34:55
SWDEV-80874 - Fixed ORCA RT HSA printf buffer indexing issues
Integrate gpuprintf.cpp@1208448,1208448 into rocprintf.cpp
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocprintf.cpp#4 edit
[ROCm/clr commit: 39e5a8ba13]
Αυτή η υποβολή περιλαμβάνεται σε:
@@ -440,7 +440,6 @@ bool PrintfDbg::output(VirtualGPU& gpu, bool printfEnabled,
|
||||
std::vector<uint>::const_iterator ita;
|
||||
uint sb = 0;
|
||||
uint sbt = 0;
|
||||
size_t idx = 1;
|
||||
|
||||
// parse the debug buffer
|
||||
while (sbt < offsetSize) {
|
||||
@@ -452,6 +451,7 @@ bool PrintfDbg::output(VirtualGPU& gpu, bool printfEnabled,
|
||||
sb += *ita;
|
||||
}
|
||||
|
||||
size_t idx = 1;
|
||||
// There's something in the debug buffer
|
||||
outputDbgBuffer(info, dbgBufferPtr, idx);
|
||||
|
||||
|
||||
Αναφορά σε νέο ζήτημα
Block a user