SWDEV-434846 - Correct the vgprs per simd for MI300

Change-Id: Id4862da7611f64392bfc1538fb644801ec0a9e7f
This commit is contained in:
Satyanvesh Dittakavi
2023-12-12 07:46:22 +00:00
parent 12461dbd6a
commit b2102fe939
2 changed files with 8 additions and 2 deletions
+2 -2
View File
@@ -1812,8 +1812,8 @@ bool Device::populateOCLDeviceConstants() {
}
break;
case (9):
if ((isa().versionMinor() == 0 && isa().versionStepping() == 10) ||
(isa().versionMinor() == 4 && isa().versionStepping() == 0)) {
if ((isa().versionMinor() == 0 && isa().versionStepping() == 10) || // For gfx90a (MI200)
(isa().versionMinor() == 4)) { // For gfx94x (MI300)
info_.vgprAllocGranularity_ = 8;
info_.vgprsPerSimd_ = 512;
} else {