refactor: remove not needed code

Related-To: NEO-12949
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
This commit is contained in:
Mateusz Jablonski
2024-10-15 14:15:51 +00:00
committed by Compute-Runtime-Automation
parent 5626295e61
commit 2ce3022030
4 changed files with 0 additions and 63 deletions

View File

@@ -1006,10 +1006,6 @@ void Drm::setupSystemInfo(HardwareInfo *hwInfo, SystemInfo *sysInfo) {
gtSysInfo->MaxDualSubSlicesSupported = sysInfo->getMaxDualSubSlicesSupported();
gtSysInfo->CsrSizeInMb = sysInfo->getCsrSizeInMb();
gtSysInfo->SLMSizeInKb = sysInfo->getSlmSizePerDss();
if (!hwInfo->capabilityTable.slmSize) {
hwInfo->capabilityTable.slmSize = gtSysInfo->SLMSizeInKb;
}
}
void Drm::setupCacheInfo(const HardwareInfo &hwInfo) {

View File

@@ -110,9 +110,6 @@ bool Wddm::init() {
hardwareInfo->capabilityTable.instrumentationEnabled =
(hardwareInfo->capabilityTable.instrumentationEnabled && instrumentationEnabled);
if (!hardwareInfo->capabilityTable.slmSize) {
hardwareInfo->capabilityTable.slmSize = gtSystemInfo->SLMSizeInKb;
}
rootDeviceEnvironment.initProductHelper();
rootDeviceEnvironment.initCompilerProductHelper();
auto &productHelper = rootDeviceEnvironment.getHelper<ProductHelper>();