Allocate RTStack based on full-die EU count.

Related-To: LOCI-3334

Signed-off-by: Jim Snow <jim.m.snow@intel.com>
This commit is contained in:
Jim Snow
2022-08-04 23:32:29 +00:00
committed by Compute-Runtime-Automation
parent dbf955c1f2
commit a00e84ebba
2 changed files with 7 additions and 7 deletions

View File

@@ -39,7 +39,7 @@ class RayTracingHelper : public NonCopyableOrMovableClass {
}
static uint32_t getNumRtStacks(const Device &device) {
return device.getHardwareInfo().gtSystemInfo.DualSubSliceCount * stackDssMultiplier;
return device.getHardwareInfo().gtSystemInfo.MaxDualSubSlicesSupported * stackDssMultiplier;
}
static uint32_t getNumRtStacksPerDss(const Device &device) {
@@ -47,7 +47,7 @@ class RayTracingHelper : public NonCopyableOrMovableClass {
}
static uint32_t getNumDss(const Device &device) {
return device.getHardwareInfo().gtSystemInfo.DualSubSliceCount;
return device.getHardwareInfo().gtSystemInfo.MaxDualSubSlicesSupported;
}
static uint32_t getStackSizePerRay(uint32_t maxBvhLevel, uint32_t extraBytesLocal) {