SWDEV-378778 - Returns with error logged when compiled for a diffferent gpu arch

Change-Id: I34fb03c4f76d08278246d29028db0eb21a7aa529


[ROCm/clr commit: 88dc5cd386]
Tá an tiomantas seo le fáil i:
Sourabh Betigeri
2023-02-23 01:17:58 +00:00
tiomanta ag Sourabh Betigeri
tuismitheoir 02a3fcff26
tiomantas 23aa33200c
+4 -1
Féach ar an gComhad
@@ -662,7 +662,10 @@ void PlatformState::init() {
initialized_ = true;
for (auto& it : statCO_.modules_) {
hipError_t err = digestFatBinary(it.first, it.second);
assert(err == hipSuccess);
if (err != hipSuccess) {
HIP_ERROR_PRINT(err);
return;
}
}
for (auto& it : statCO_.vars_) {
it.second->resize_dVar(g_devices.size());