mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-08 22:12:59 +08:00
Update XE_HP_CORE files to enable unit tests
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
399dc60bf8
commit
bec8cdd6f1
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user