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

Change-Id: I0382825884b727173385f04da9f2088650c3ba1d
Tento commit je obsažen v:
Sean Keely
2019-03-20 21:12:53 -05:00
odevzdal Ramesh Errabolu
rodič 68c202de1f
revize 7ea0cd688f
+3 -1
Zobrazit soubor
@@ -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 &&