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 {
@@ -127,8 +126,7 @@ const HardwareInfo BdwHw1x2x6::hwInfo = {
&BDW::featureTable,
&BDW::workaroundTable,
&BdwHw1x2x6::gtSystemInfo,
BDW::capabilityTable,
AOT::BDW};
BDW::capabilityTable};
GT_SYSTEM_INFO BdwHw1x2x6::gtSystemInfo = {0};
void BdwHw1x2x6::setupHardwareInfo(HardwareInfo *hwInfo, bool setupFeatureTableAndWorkaroundTable, const CompilerProductHelper &compilerProductHelper) {
@@ -146,8 +144,7 @@ const HardwareInfo BdwHw1x3x6::hwInfo = {
&BDW::featureTable,
&BDW::workaroundTable,
&BdwHw1x3x6::gtSystemInfo,
BDW::capabilityTable,
AOT::BDW};
BDW::capabilityTable};
GT_SYSTEM_INFO BdwHw1x3x6::gtSystemInfo = {0};
void BdwHw1x3x6::setupHardwareInfo(HardwareInfo *hwInfo, bool setupFeatureTableAndWorkaroundTable, const CompilerProductHelper &compilerProductHelper) {
BDW::setupHardwareInfoBase(hwInfo, setupFeatureTableAndWorkaroundTable, compilerProductHelper);
@@ -164,8 +161,7 @@ const HardwareInfo BdwHw1x3x8::hwInfo = {
&BDW::featureTable,
&BDW::workaroundTable,
&BdwHw1x3x8::gtSystemInfo,
BDW::capabilityTable,
AOT::BDW};
BDW::capabilityTable};
GT_SYSTEM_INFO BdwHw1x3x8::gtSystemInfo = {0};
void BdwHw1x3x8::setupHardwareInfo(HardwareInfo *hwInfo, bool setupFeatureTableAndWorkaroundTable, const CompilerProductHelper &compilerProductHelper) {
BDW::setupHardwareInfoBase(hwInfo, setupFeatureTableAndWorkaroundTable, compilerProductHelper);
@@ -182,8 +178,7 @@ const HardwareInfo BdwHw2x3x8::hwInfo = {
&BDW::featureTable,
&BDW::workaroundTable,
&BdwHw2x3x8::gtSystemInfo,
BDW::capabilityTable,
AOT::BDW};
BDW::capabilityTable};
GT_SYSTEM_INFO BdwHw2x3x8::gtSystemInfo = {0};
void BdwHw2x3x8::setupHardwareInfo(HardwareInfo *hwInfo, bool setupFeatureTableAndWorkaroundTable, const CompilerProductHelper &compilerProductHelper) {
BDW::setupHardwareInfoBase(hwInfo, setupFeatureTableAndWorkaroundTable, compilerProductHelper);