Disable sram-ecc reporting via ISA until HCC is fixed.

Change-Id: I0382825884b727173385f04da9f2088650c3ba1d


[ROCm/ROCR-Runtime commit: 7ea0cd688f]
This commit is contained in:
Sean Keely
2019-03-20 21:12:53 -05:00
committed by Ramesh Errabolu
parent 30f23c3ff4
commit cdd2c26ac4
@@ -100,7 +100,9 @@ GpuAgent::GpuAgent(HSAuint32 node, const HsaNodeProperties& node_props)
isa_ = (core::Isa*)core::IsaRegistry::GetIsa(
core::Isa::Version(node_props.EngineId.ui32.Major, node_props.EngineId.ui32.Minor,
node_props.EngineId.ui32.Stepping),
profile_ == HSA_PROFILE_FULL, node_props.Capability.ui32.SRAM_EDCSupport == 1);
profile_ == HSA_PROFILE_FULL, false);
//Disable SRAM_ECC reporting until HCC is fixed.
//profile_ == HSA_PROFILE_FULL, node_props.Capability.ui32.SRAM_EDCSupport == 1);
// Check if the device is Kaveri, only on GPU device.
if (isa_->GetMajorVersion() == 7 && isa_->GetMinorVersion() == 0 &&