diff --git a/rocclr/runtime/device/device.cpp b/rocclr/runtime/device/device.cpp index b201b9b759..62322d9af7 100644 --- a/rocclr/runtime/device/device.cpp +++ b/rocclr/runtime/device/device.cpp @@ -1026,10 +1026,7 @@ cl_int Program::build(const std::string& sourceCode, const char* origOptions, } if (!buildLog_.empty()) { - // LogError() has the size limit for the message - if (buildLog_.size() < 768) { - LogError(buildLog_.c_str()); - } + LogError(buildLog_.c_str()); } return buildError();