Revert "fix: correct number of slices based on GuC info"

This reverts commit b6a56bcdde.

Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
This commit is contained in:
Compute-Runtime-Validation
2024-07-23 16:01:56 +02:00
committed by Compute-Runtime-Automation
parent 1c1e437d4b
commit 2116808b8d
3 changed files with 4 additions and 36 deletions

View File

@@ -929,17 +929,12 @@ void Drm::setupSystemInfo(HardwareInfo *hwInfo, SystemInfo *sysInfo) {
if (!gtSysInfo->EUCount || gtSysInfo->EUCount > gtSysInfo->SubSliceCount * gtSysInfo->MaxEuPerSubSlice) {
gtSysInfo->EUCount = gtSysInfo->SubSliceCount * gtSysInfo->MaxEuPerSubSlice;
}
gtSysInfo->ThreadCount = gtSysInfo->EUCount * sysInfo->getNumThreadsPerEu();
gtSysInfo->ThreadCount = gtSysInfo->EUCount * sysInfo->getNumThreadsPerEu();
gtSysInfo->MemoryType = sysInfo->getMemoryType();
gtSysInfo->MaxSlicesSupported = sysInfo->getMaxSlicesSupported();
gtSysInfo->MaxSubSlicesSupported = sysInfo->getMaxDualSubSlicesSupported();
gtSysInfo->MaxDualSubSlicesSupported = sysInfo->getMaxDualSubSlicesSupported();
UNRECOVERABLE_IF(gtSysInfo->MaxSlicesSupported == 0);
auto maxDssPerSlice = gtSysInfo->MaxDualSubSlicesSupported / gtSysInfo->MaxSlicesSupported;
gtSysInfo->SliceCount = static_cast<uint32_t>(Math::divideAndRoundUp(gtSysInfo->DualSubSliceCount, maxDssPerSlice));
gtSysInfo->MemoryType = sysInfo->getMemoryType();
gtSysInfo->CsrSizeInMb = sysInfo->getCsrSizeInMb();
gtSysInfo->SLMSizeInKb = sysInfo->getSlmSizePerDss();