From 2335c92a1aaeeb58f7100b8f267deb63dedb095c Mon Sep 17 00:00:00 2001 From: kjayapra-amd Date: Wed, 3 Apr 2024 10:46:56 -0400 Subject: [PATCH] SWDEV-455041 - Continue processing fat binary even if other code object bundle processing fail. Change-Id: Iea553ab0265c08341f915644075ce2b6ed9b3200 [ROCm/clr commit: 863c56262e5ea5955cdcbce5423302521ee1e44a] --- projects/clr/hipamd/src/hip_platform.cpp | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/projects/clr/hipamd/src/hip_platform.cpp b/projects/clr/hipamd/src/hip_platform.cpp index fcad87b020..3c02198c9e 100644 --- a/projects/clr/hipamd/src/hip_platform.cpp +++ b/projects/clr/hipamd/src/hip_platform.cpp @@ -711,11 +711,8 @@ void PlatformState::init() { initialized_ = true; for (auto& it : statCO_.modules_) { hipError_t err = digestFatBinary(it.first, it.second); - if (err == hipErrorNoBinaryForGpu) { + if (err != hipSuccess) { HIP_ERROR_PRINT(err, "continue parsing remaining modules"); - } else if (err != hipSuccess) { - HIP_ERROR_PRINT(err); - return; } } for (auto& it : statCO_.vars_) {