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

Change-Id: I34fb03c4f76d08278246d29028db0eb21a7aa529
Этот коммит содержится в:
Sourabh Betigeri
2023-02-23 01:17:58 +00:00
коммит произвёл Sourabh Betigeri
родитель 08c8972d97
Коммит 88dc5cd386
+4 -1
Просмотреть файл
@@ -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());