P4 to Git Change 1344871 by lmoriche@lmoriche_opencl_dev on 2016/11/22 16:52:17
SWDEV-108024 - [ROCm CQE] Printf broken on ROCm , LC and HSAIL path A zero-lenth printfBuffer is not an error. Even if a printfInfo is present, it does not mean that the kernel is going to call printf. Return true if offsetSize is 0. Affected files ... ... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocprintf.cpp#5 edit
Tá an tiomantas seo le fáil i:
@@ -426,8 +426,7 @@ bool PrintfDbg::output(VirtualGPU& gpu, bool printfEnabled,
|
||||
offsetSize = *dbgBufferPtr;
|
||||
|
||||
if (offsetSize == 0) {
|
||||
LogError("\n The printf buffer is empty!");
|
||||
return false;
|
||||
return true;
|
||||
}
|
||||
|
||||
// Get a pointer to the buffer data
|
||||
|
||||
Tagairt in Eagrán Nua
Cuir bac ar úsáideoir