SWDEV-418360 - Continue parsing modules even when some module don't have

right binaries built for current device

Change-Id: Icc6a4233fbcede9b2dc6feb78e6bfbd761684c7f
This commit is contained in:
Rahul Garg
2023-08-28 16:28:07 +00:00
parent 209525d6e4
commit c9cf3bdc16
+3 -1
View File
@@ -668,7 +668,9 @@ void PlatformState::init() {
initialized_ = true;
for (auto& it : statCO_.modules_) {
hipError_t err = digestFatBinary(it.first, it.second);
if (err != hipSuccess) {
if (err == hipErrorNoBinaryForGpu) {
HIP_ERROR_PRINT(err, "continue parsing remaining modules");
} else if (err != hipSuccess) {
HIP_ERROR_PRINT(err);
return;
}