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

@@ -12,7 +12,6 @@
#include "shared/source/helpers/constants.h"
#include "aubstream/engine_node.h"
#include "platforms.h"
namespace NEO {
@@ -137,8 +136,7 @@ const HardwareInfo GlkHw1x3x6::hwInfo = {
&GLK::featureTable,
&GLK::workaroundTable,
&GlkHw1x3x6::gtSystemInfo,
GLK::capabilityTable,
AOT::GLK};
GLK::capabilityTable};
GT_SYSTEM_INFO GlkHw1x3x6::gtSystemInfo = {0};
void GlkHw1x3x6::setupHardwareInfo(HardwareInfo *hwInfo, bool setupFeatureTableAndWorkaroundTable, const CompilerProductHelper &compilerProductHelper) {
@@ -156,8 +154,7 @@ const HardwareInfo GlkHw1x2x6::hwInfo = {
&GLK::featureTable,
&GLK::workaroundTable,
&GlkHw1x2x6::gtSystemInfo,
GLK::capabilityTable,
AOT::GLK};
GLK::capabilityTable};
GT_SYSTEM_INFO GlkHw1x2x6::gtSystemInfo = {0};
void GlkHw1x2x6::setupHardwareInfo(HardwareInfo *hwInfo, bool setupFeatureTableAndWorkaroundTable, const CompilerProductHelper &compilerProductHelper) {