From 7a357800ddcb3818a8ad2a60491db342f6c17584 Mon Sep 17 00:00:00 2001 From: "Brzak, Branislav" Date: Wed, 21 May 2025 17:39:07 +0200 Subject: [PATCH] SWDEV-508979 - Match hipModuleLoad negative return with Cuda (#326) --- hipamd/src/hip_fatbin.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hipamd/src/hip_fatbin.cpp b/hipamd/src/hip_fatbin.cpp index 6de8713619..722e8b2c23 100644 --- a/hipamd/src/hip_fatbin.cpp +++ b/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.