From ac237ac094954b96a1173330aafbfadbb9bfcf5c Mon Sep 17 00:00:00 2001 From: Vladislav Sytchenko Date: Tue, 16 Feb 2021 10:38:28 -0500 Subject: [PATCH] SWDEV-271486 - [PAL] Temporarily disable reporting sramecc support Change-Id: I089af8f8a4645ce5353f351dbf3a018cd31df216 --- rocclr/device/pal/paldevice.cpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/rocclr/device/pal/paldevice.cpp b/rocclr/device/pal/paldevice.cpp index c69a923c30..11d376d902 100644 --- a/rocclr/device/pal/paldevice.cpp +++ b/rocclr/device/pal/paldevice.cpp @@ -829,7 +829,11 @@ bool Device::create(Pal::IDevice* device) { (static_cast(properties().gpuMemoryProperties.flags.pageMigrationEnabled || properties().gpuMemoryProperties.flags.iommuv2Support)); - bool isSRAMECCEnabled = properties().gfxipProperties.shaderCore.flags.eccProtectedGprs; + // Temporarily disable reporting sramecc support. + // PAL currently only reports if the device CAN support it, + // not if it is ENABLED. This will cause us to enable the feature on + // the HSAIL path, which is not supported. + bool isSRAMECCEnabled = false; const amd::Isa* isa; std::tie(isa, palName_) = findIsa(asicRevision_, isSRAMECCEnabled, isXNACKEnabled);