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
[ROCm/clr commit: f07e2533df]
Esse commit está contido em:
@@ -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
|
||||
|
||||
Referência em uma Nova Issue
Bloquear um usuário