mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-24 21:18:24 +08:00
Use max enabled slice in debugger thread mapping
Signed-off-by: Yates, Brandon <brandon.yates@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
81845d3781
commit
71bef6094d
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user