From 16aefe62f64e7eb1e1bd3d2f15bfff437a2da2f1 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) [ROCm/clr commit: 7a357800ddcb3818a8ad2a60491db342f6c17584] --- 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 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.