refactor: remove redundant parameter from HardwareInfo ctor

hw ip version is queried from KMD or set based on device id and rev id

Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
This commit is contained in:
Mateusz Jablonski
2023-07-31 12:48:31 +00:00
committed by Compute-Runtime-Automation
parent 43654bfc02
commit 1e95ed33f9
24 changed files with 57 additions and 104 deletions

View File

@@ -94,9 +94,7 @@ bool DeviceFactory::prepareDeviceEnvironmentsForProductFamilyOverride(ExecutionE
}
}
if (DebugManager.flags.OverrideHwIpVersion.get() != -1) {
hardwareInfo->ipVersion = DebugManager.flags.OverrideHwIpVersion.get();
}
hardwareInfo->ipVersion.value = compilerProductHelper.getHwIpVersion(*hardwareInfo);
rootDeviceEnvironment.initReleaseHelper();