From 7ea0cd688f0bcf6c9b69ddab78117bc70a4ec298 Mon Sep 17 00:00:00 2001 From: Sean Keely Date: Wed, 20 Mar 2019 21:12:53 -0500 Subject: [PATCH] Disable sram-ecc reporting via ISA until HCC is fixed. Change-Id: I0382825884b727173385f04da9f2088650c3ba1d --- runtime/hsa-runtime/core/runtime/amd_gpu_agent.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/runtime/hsa-runtime/core/runtime/amd_gpu_agent.cpp b/runtime/hsa-runtime/core/runtime/amd_gpu_agent.cpp index e9e1e94d59..18bd5e4926 100644 --- a/runtime/hsa-runtime/core/runtime/amd_gpu_agent.cpp +++ b/runtime/hsa-runtime/core/runtime/amd_gpu_agent.cpp @@ -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 &&