Update XE_HP_CORE files to enable unit tests

Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
This commit is contained in:
Bartosz Dunajski
2021-07-07 13:34:46 +00:00
committed by Compute-Runtime-Automation
parent 399dc60bf8
commit bec8cdd6f1
26 changed files with 710 additions and 14 deletions

View File

@@ -142,6 +142,14 @@ void XEHP_CONFIG::setupHardwareInfoMultiTile(HardwareInfo *hwInfo, bool setupFea
gtSysInfo->IsL3HashModeEnabled = false;
gtSysInfo->IsDynamicallyPopulated = false;
// non-zero values for unit tests
gtSysInfo->SliceCount = 2;
gtSysInfo->SubSliceCount = 8;
gtSysInfo->EUCount = 40;
gtSysInfo->MaxEuPerSubSlice = 40;
gtSysInfo->MaxSlicesSupported = 1;
gtSysInfo->MaxSubSlicesSupported = 1;
if (setupFeatureTableAndWorkaroundTable) {
XEHP::setupFeatureAndWorkaroundTable(hwInfo);
}