Use max enabled slice in debugger thread mapping

Signed-off-by: Yates, Brandon <brandon.yates@intel.com>
This commit is contained in:
Yates, Brandon
2022-09-23 00:29:32 +00:00
committed by Compute-Runtime-Automation
parent 81845d3781
commit 71bef6094d
17 changed files with 102 additions and 19 deletions

View File

@@ -110,6 +110,7 @@ int HwInfoConfig::configureHwInfoDrm(const HardwareInfo *inHwInfo, HardwareInfo
gtSystemInfo->MaxSubSlicesSupported = std::max(static_cast<uint32_t>(topologyData.maxSubSliceCount * topologyData.maxSliceCount), gtSystemInfo->MaxSubSlicesSupported);
gtSystemInfo->MaxSlicesSupported = topologyData.maxSliceCount;
gtSystemInfo->IsDynamicallyPopulated = true;
for (uint32_t slice = 0; slice < gtSystemInfo->SliceCount; slice++) {
gtSystemInfo->SliceInfo[slice].Enabled = true;
}