SWDEV-246565 - Remove passing -msram-ecc to Comgr
Change-Id: I1604a0014186a5779561da3ec3eefec65aff5c37
Tá an tiomantas seo le fáil i:
1 tuismitheoir
2f3df8e691
tiomantas
f8f6bc16a1
4 comhad athraithe
+4
-30
Níor tháinig aon chomhaid le do chuardach
@@ -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,
|
||||
|
||||
Tagairt in Eagrán Nua
Cuir bac ar úsáideoir