From 3e1f6435f83de9d006c27c4541ce8cd3f335ae30 Mon Sep 17 00:00:00 2001 From: Sean Keely Date: Tue, 23 Jun 2020 18:23:50 -0500 Subject: [PATCH] Re-enable EDC reporting. Change-Id: Iccd2532e22323ff5ba4c411b169fcda885968059 [ROCm/ROCR-Runtime commit: 71d85855d77d554d8dc68c7ac6fb9bd39580f5ec] --- .../runtime/hsa-runtime/core/runtime/amd_gpu_agent.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/projects/rocr-runtime/runtime/hsa-runtime/core/runtime/amd_gpu_agent.cpp b/projects/rocr-runtime/runtime/hsa-runtime/core/runtime/amd_gpu_agent.cpp index a5df502917..78cd7aa459 100644 --- a/projects/rocr-runtime/runtime/hsa-runtime/core/runtime/amd_gpu_agent.cpp +++ b/projects/rocr-runtime/runtime/hsa-runtime/core/runtime/amd_gpu_agent.cpp @@ -104,9 +104,7 @@ 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, false); - //Disable SRAM_ECC reporting until HCC is fixed. - //profile_ == HSA_PROFILE_FULL, node_props.Capability.ui32.SRAM_EDCSupport == 1); + 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 &&