From 799e54aa0df4fc83bff52eb221a8784fbe215388 Mon Sep 17 00:00:00 2001 From: taosang2 Date: Wed, 8 Jan 2025 13:18:59 -0500 Subject: [PATCH] SWDEV-507969 - Fix wrong VGPRs for some devices Change-Id: Ia8fc19564272e2c7171d991376bf896a99085a97 --- rocclr/device/rocm/rocdevice.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rocclr/device/rocm/rocdevice.cpp b/rocclr/device/rocm/rocdevice.cpp index b1d8765fb8..c52bc4e3d0 100644 --- a/rocclr/device/rocm/rocdevice.cpp +++ b/rocclr/device/rocm/rocdevice.cpp @@ -1869,7 +1869,7 @@ bool Device::populateOCLDeviceConstants() { break; case (9): if ((isa().versionMinor() == 0 && isa().versionStepping() == 10) || - (isa().versionMinor() == 4)) { + isa().versionMinor() == 4 || isa().versionMinor() == 5) { info_.vgprAllocGranularity_ = 8; info_.vgprsPerSimd_ = 512; } else {