SWDEV-246565 - Remove passing -msram-ecc to Comgr

Change-Id: I1604a0014186a5779561da3ec3eefec65aff5c37
Цей коміт міститься в:
Jason Tang committed 2020-08-06 12:48:53 -04:00
1 джерело 2f3df8e691
коміт f8f6bc16a1
4 files changed
+4 -30

No files matched your search

+1 -14
Переглянути файл
@@ -970,22 +970,9 @@ bool Device::populateOCLDeviceConstants() {
info_.gfxipMinor_ = deviceInfo_.gfxipMinor_;
info_.gfxipStepping_ = deviceInfo_.gfxipStepping_;
// TODO: gfxipVersion_ and sramEccEnabled_ will be removed when Target ID
// feature is fully implemented
// TODO: gfxipVersion_ will be removed when Target ID feature is fully implemented
info_.gfxipVersion_ = info_.gfxipMajor_ * 100 + info_.gfxipMinor_ * 10 + info_.gfxipStepping_;
if ((info_.gfxipMajor_ == 9) && (info_.gfxipMinor_ == 0)) {
switch (info_.gfxipStepping_) {
case 6:
case 8:
info_.sramEccEnabled_ = true;
break;
default:
info_.sramEccEnabled_ = false;
break;
}
}
char device_name[64] = {0};
if (HSA_STATUS_SUCCESS == hsa_agent_get_info(_bkendDevice,
(hsa_agent_info_t)HSA_AMD_AGENT_INFO_PRODUCT_NAME,