mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-03 06:49:52 +08:00
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:
committed by
Compute-Runtime-Automation
parent
43654bfc02
commit
1e95ed33f9
@@ -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();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user