From 4fb70c6ce62b49c4c8c9dbf281d1ead2ba064853 Mon Sep 17 00:00:00 2001 From: Branislav Brzak Date: Thu, 7 Nov 2024 04:30:53 -0500 Subject: [PATCH] Revert "SWDEV-465201 - Match negative hipModuleLoad return with Cuda" This reverts commit 3b470cb0678e850a9efa06b94f697a1abf1163e0. Reason for revert: Breaking change that will be merged in at a later date Change-Id: Idd300492cc08a57c50decc22df287ddcc5463c88 [ROCm/clr commit: 6e55f403138b3b70d3fc767b8bf64beda62f8254] --- projects/clr/hipamd/src/hip_fatbin.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/projects/clr/hipamd/src/hip_fatbin.cpp b/projects/clr/hipamd/src/hip_fatbin.cpp index 1df29fcf24..b26377135e 100644 --- a/projects/clr/hipamd/src/hip_fatbin.cpp +++ b/projects/clr/hipamd/src/hip_fatbin.cpp @@ -148,7 +148,7 @@ hipError_t FatBinaryInfo::ExtractFatBinaryUsingCOMGR(const std::vectorfsize_ == 0) { - return hipErrorInvalidImage; + return hipErrorInvalidValue; } // If image_ is nullptr, then file path is passed via hipMod* APIs, so map the file.