SWDEV-461525 - Add vgprAllocGranularity_ and vgprsPerSimd_ for gfx1150/1
These are missed for gfx1150/1. Change-Id: I03d997e451d15a01a961e6597f805f634e5c3ae7 Signed-off-by: Lang Yu <lang.yu@amd.com>
This commit is contained in:
@@ -1842,6 +1842,20 @@ bool Device::populateOCLDeviceConstants() {
|
||||
info_.vgprsPerSimd_ = 1024;
|
||||
break;
|
||||
}
|
||||
} else if (isa().versionMinor() == 5) {
|
||||
switch (isa().versionStepping()) {
|
||||
case (1):
|
||||
info_.vgprAllocGranularity_ = 24;
|
||||
info_.vgprsPerSimd_ = 1536;
|
||||
break;
|
||||
default:
|
||||
info_.vgprAllocGranularity_ = 16;
|
||||
info_.vgprsPerSimd_ = 1024;
|
||||
break;
|
||||
}
|
||||
} else {
|
||||
info_.vgprAllocGranularity_ = 16;
|
||||
info_.vgprsPerSimd_ = 1024;
|
||||
}
|
||||
break;
|
||||
case (10):
|
||||
|
||||
Fai riferimento in un nuovo problema
Block a user