diff --git a/projects/clr/hipamd/src/hip_fatbin.cpp b/projects/clr/hipamd/src/hip_fatbin.cpp index 6de8713619..722e8b2c23 100644 --- a/projects/clr/hipamd/src/hip_fatbin.cpp +++ b/projects/clr/hipamd/src/hip_fatbin.cpp @@ -210,7 +210,7 @@ hipError_t FatBinaryInfo::ExtractFatBinaryUsingCOMGR(const std::vectorfsize_ == 0) { - return hipErrorInvalidValue; + return hipErrorInvalidImage; } // If image_ is nullptr, then file path is passed via hipMod* APIs, so map the file.