From 1b832c0182e874e86c83cbf988e34b3472889a20 Mon Sep 17 00:00:00 2001 From: Jason Tang Date: Wed, 26 May 2021 15:19:22 -0400 Subject: [PATCH] SWDEV-287945 - LinuxPro: Disable PAL for gfx9+ Change-Id: Ief81629e53a4c0ca529a510dac5063a8885257bf --- rocclr/device/device.hpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/rocclr/device/device.hpp b/rocclr/device/device.hpp index 003f2f92f7..a41dbbee1c 100644 --- a/rocclr/device/device.hpp +++ b/rocclr/device/device.hpp @@ -1297,6 +1297,9 @@ class Isa { /// @returns If the PAL runtime supports the ISA. bool runtimePalSupported() const { + if (IS_LINUX && (GPU_ENABLE_PAL == 2) && (versionMajor_ >= 9)) { + return false; + } return runtimePalSupported_; }