mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-21 01:04:57 +08:00
refactor: remove not needed code
Related-To: NEO-12949 Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
5626295e61
commit
2ce3022030
@@ -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) {
|
||||
|
||||
@@ -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>();
|
||||
|
||||
Reference in New Issue
Block a user