diff --git a/rocclr/runtime/device/gpu/gpuprintf.cpp b/rocclr/runtime/device/gpu/gpuprintf.cpp index 03cafde33b..0baf68f76f 100644 --- a/rocclr/runtime/device/gpu/gpuprintf.cpp +++ b/rocclr/runtime/device/gpu/gpuprintf.cpp @@ -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(); diff --git a/rocclr/runtime/device/pal/palprintf.cpp b/rocclr/runtime/device/pal/palprintf.cpp index 3b0f1d4b14..c1dbfca483 100644 --- a/rocclr/runtime/device/pal/palprintf.cpp +++ b/rocclr/runtime/device/pal/palprintf.cpp @@ -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();