diff --git a/hipamd/src/hip_fatbin.cpp b/hipamd/src/hip_fatbin.cpp index c18f65397e..9ddf1fcda5 100644 --- a/hipamd/src/hip_fatbin.cpp +++ b/hipamd/src/hip_fatbin.cpp @@ -200,12 +200,12 @@ hipError_t FatBinaryInfo::ExtractFatBinaryUsingCOMGR(const std::vector= 2 && minor >= 8) { + if ((major == 2 && minor >= 8) || major > 2) { hip_status = ExtractFatBinaryUsingCOMGR(image_, devices); break; } else if (isCompressed) { - LogPrintfError("comgr %zu.%zu cannot support commpressed mode which need comgr 2.8+", major, - minor); + LogPrintfError("comgr %zu.%zu cannot support compressed mode which requires comgr 2.8+", + major, minor); hip_status = hipErrorNotSupported; break; } else if (HIP_ALWAYS_USE_NEW_COMGR_UNBUNDLING_ACTION) {