From 6e55f403138b3b70d3fc767b8bf64beda62f8254 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 68e5aeb93d11a0d6bdf6c61197e683d9171a1cbc. Reason for revert: Breaking change that will be merged in at a later date Change-Id: Idd300492cc08a57c50decc22df287ddcc5463c88 --- 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 1df29fcf24..b26377135e 100644 --- a/hipamd/src/hip_fatbin.cpp +++ b/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.