mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-11 00:10:58 +08:00
Revert "fix: MaxSubSlicesSupported should be set to total non-fused count"
This reverts commit ee0022d234.
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
3f1f3697ba
commit
b40830c1e6
@@ -155,7 +155,7 @@ uint32_t GfxCoreHelperHw<Family>::getComputeUnitsUsedForScratch(const RootDevice
|
||||
ThreadCount/EUCount=7 is no longer valid, so we have to force 8 in below formula.
|
||||
This is required to allocate enough scratch space. */
|
||||
auto hwInfo = rootDeviceEnvironment.getHardwareInfo();
|
||||
return NEO::GfxCoreHelper::getHighestEnabledDualSubSlice(*hwInfo) * hwInfo->gtSystemInfo.MaxEuPerSubSlice * 8;
|
||||
return hwInfo->gtSystemInfo.MaxSubSlicesSupported * hwInfo->gtSystemInfo.MaxEuPerSubSlice * 8;
|
||||
}
|
||||
|
||||
template <>
|
||||
|
||||
Reference in New Issue
Block a user