mirror of
https://github.com/intel/compute-runtime.git
synced 2025-11-15 10:14:56 +08:00
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:
committed by
Compute-Runtime-Automation
parent
dbf955c1f2
commit
a00e84ebba
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user