feature: add debug key to set MaxSubSlicesSupported

Related-To: HSD-16025421624
Signed-off-by: Naklicki, Mateusz <mateusz.naklicki@intel.com>
This commit is contained in:
Naklicki, Mateusz
2024-10-21 12:06:30 +00:00
committed by Compute-Runtime-Automation
parent 0fb06b77dc
commit a5a11f4a0e
4 changed files with 21 additions and 0 deletions

View File

@@ -97,6 +97,11 @@ bool DeviceFactory::prepareDeviceEnvironmentsForProductFamilyOverride(ExecutionE
setHwInfoValuesFromConfig(hwInfoConfig, *hardwareInfo);
hardwareInfoSetup[hwInfoConst->platform.eProductFamily](hardwareInfo, true, hwInfoConfig, rootDeviceEnvironment.getReleaseHelper());
if (debugManager.flags.MaxSubSlicesSupportedOverride.get() > 0) {
hardwareInfo->gtSystemInfo.MaxSubSlicesSupported = debugManager.flags.MaxSubSlicesSupportedOverride.get();
hardwareInfo->gtSystemInfo.MaxDualSubSlicesSupported = debugManager.flags.MaxSubSlicesSupportedOverride.get();
}
if (debugManager.flags.BlitterEnableMaskOverride.get() > 0) {
hardwareInfo->featureTable.ftrBcsInfo = debugManager.flags.BlitterEnableMaskOverride.get();
}