mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-01 04:23:00 +08:00
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:
committed by
Compute-Runtime-Automation
parent
0fb06b77dc
commit
a5a11f4a0e
@@ -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();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user