We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 68c3656 commit 46040caCopy full SHA for 46040ca
1 file changed
hipamd/src/hip_fatbin.cpp
@@ -200,11 +200,11 @@ hipError_t FatBinaryInfo::ExtractFatBinaryUsingCOMGR(const std::vector<hip::Devi
200
if (isCompressed || HIP_ALWAYS_USE_NEW_COMGR_UNBUNDLING_ACTION) {
201
size_t major = 0, minor = 0;
202
amd::Comgr::get_version(&major, &minor);
203
- if (major >= 2 && minor >= 8) {
+ if ((major == 2 && minor >= 8) || major > 2) {
204
hip_status = ExtractFatBinaryUsingCOMGR(image_, devices);
205
break;
206
} else if (isCompressed) {
207
- LogPrintfError("comgr %zu.%zu cannot support commpressed mode which need comgr 2.8+", major,
+ LogPrintfError("comgr %zu.%zu cannot support compressed mode which requires comgr 2.8+", major,
208
minor);
209
hip_status = hipErrorNotSupported;
210
0 commit comments