SWDEV-501963 - Add missing codes for gfx950

Cherry-pick https://gerrit-git.amd.com/c/compute/ec/clr/+/1162997

Change-Id: I6b3c6bf55c61cffd43cd6f17b75998f751b75723
This commit is contained in:
taosang2
2024-12-02 15:17:47 -05:00
committed by Tao Sang
parent 4ec274c7d4
commit 32daa8f384
6 changed files with 19 additions and 19 deletions
+1 -1
View File
@@ -246,7 +246,7 @@ void Settings::setKernelArgImpl(const amd::Isa& isa, bool isXgmi, bool hasValidH
const uint32_t gfxipMinor = isa.versionMinor();
const uint32_t gfxStepping = isa.versionStepping();
const bool isGfx94x = gfxipMajor == 9 && gfxipMinor == 4 &&
const bool isGfx94x = gfxipMajor == 9 && (gfxipMinor == 4 || gfxipMinor == 5) &&
(gfxStepping == 0 || gfxStepping == 1 || gfxStepping == 2);
const bool isGfx90a = (gfxipMajor == 9 && gfxipMinor == 0 && gfxStepping == 10);
const bool isPreGfx908 =