mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-03 23:03:02 +08:00
fix: initialize max capability values for ARL
setup max values when overriding hw info with debug key Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
02ef252b7d
commit
a0f8e8accc
@@ -68,6 +68,19 @@ void setHwInfoValuesFromConfig(const uint64_t hwInfoConfig, HardwareInfo &hwInfo
|
||||
for (uint32_t slice = 0; slice < hwInfoIn.gtSystemInfo.SliceCount; slice++) {
|
||||
hwInfoIn.gtSystemInfo.SliceInfo[slice].Enabled = true;
|
||||
}
|
||||
|
||||
if (hwInfoIn.gtSystemInfo.MaxSlicesSupported == 0) {
|
||||
hwInfoIn.gtSystemInfo.MaxSlicesSupported = sliceCount;
|
||||
}
|
||||
if (hwInfoIn.gtSystemInfo.MaxSubSlicesSupported == 0) {
|
||||
hwInfoIn.gtSystemInfo.MaxSubSlicesSupported = hwInfoIn.gtSystemInfo.SubSliceCount;
|
||||
}
|
||||
if (hwInfoIn.gtSystemInfo.MaxDualSubSlicesSupported == 0) {
|
||||
hwInfoIn.gtSystemInfo.MaxDualSubSlicesSupported = hwInfoIn.gtSystemInfo.SubSliceCount;
|
||||
}
|
||||
if (hwInfoIn.gtSystemInfo.MaxEuPerSubSlice == 0) {
|
||||
hwInfoIn.gtSystemInfo.MaxEuPerSubSlice = euPerSubSliceCount;
|
||||
}
|
||||
}
|
||||
|
||||
bool parseHwInfoConfigString(const std::string &hwInfoConfigStr, uint64_t &hwInfoConfig) {
|
||||
|
||||
Reference in New Issue
Block a user