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

Change-Id: I1604a0014186a5779561da3ec3eefec65aff5c37
This commit is contained in:
Jason Tang
2020-07-30 17:50:49 -04:00
parent 2f3df8e691
commit f8f6bc16a1
4 changed files with 4 additions and 30 deletions
+1 -3
View File
@@ -532,8 +532,6 @@ void NullDevice::fillDeviceInfo(const Pal::DeviceProperties& palProp,
info_.maxConstantBufferSize_ = info_.maxMemAllocSize_;
info_.maxConstantArgs_ = MaxConstArguments;
info_.sramEccEnabled_ = palProp.gfxipProperties.shaderCore.flags.eccProtectedGprs;
// Image support fields
if (settings().imageSupport_) {
info_.imageSupport_ = CL_TRUE;
@@ -578,7 +576,7 @@ void NullDevice::fillDeviceInfo(const Pal::DeviceProperties& palProp,
if (hwInfo()->xnackEnabled_) {
::strcat(info_.name_, "+xnack");
}
if (info_.sramEccEnabled_) {
if (palProp.gfxipProperties.shaderCore.flags.eccProtectedGprs) {
::strcat(info_.name_, "+sram-ecc");
}
::strcpy(info_.targetId_, "amdgcn-amd-amdhsa--");