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 {
@@ -138,8 +137,7 @@ const HardwareInfo EhlHwConfig::hwInfo = {
&EHL::featureTable,
&EHL::workaroundTable,
&EhlHwConfig::gtSystemInfo,
EHL::capabilityTable,
AOT::EHL};
EHL::capabilityTable};
GT_SYSTEM_INFO EhlHwConfig::gtSystemInfo = {0};
void EhlHwConfig::setupHardwareInfo(HardwareInfo *hwInfo, bool setupFeatureTableAndWorkaroundTable, const CompilerProductHelper &compilerProductHelper) {

View File

@@ -12,7 +12,6 @@
#include "shared/source/helpers/constants.h"
#include "aubstream/engine_node.h"
#include "platforms.h"
namespace NEO {
@@ -138,8 +137,7 @@ const HardwareInfo IcllpHw1x8x8::hwInfo = {
&ICLLP::featureTable,
&ICLLP::workaroundTable,
&IcllpHw1x8x8::gtSystemInfo,
ICLLP::capabilityTable,
AOT::ICL};
ICLLP::capabilityTable};
GT_SYSTEM_INFO IcllpHw1x8x8::gtSystemInfo = {0};
void IcllpHw1x8x8::setupHardwareInfo(HardwareInfo *hwInfo, bool setupFeatureTableAndWorkaroundTable, const CompilerProductHelper &compilerProductHelper) {
@@ -160,8 +158,7 @@ const HardwareInfo IcllpHw1x4x8::hwInfo = {
&ICLLP::featureTable,
&ICLLP::workaroundTable,
&IcllpHw1x4x8::gtSystemInfo,
ICLLP::capabilityTable,
AOT::ICL};
ICLLP::capabilityTable};
GT_SYSTEM_INFO IcllpHw1x4x8::gtSystemInfo = {0};
void IcllpHw1x4x8::setupHardwareInfo(HardwareInfo *hwInfo, bool setupFeatureTableAndWorkaroundTable, const CompilerProductHelper &compilerProductHelper) {
@@ -179,8 +176,7 @@ const HardwareInfo IcllpHw1x6x8::hwInfo = {
&ICLLP::featureTable,
&ICLLP::workaroundTable,
&IcllpHw1x6x8::gtSystemInfo,
ICLLP::capabilityTable,
AOT::ICL};
ICLLP::capabilityTable};
GT_SYSTEM_INFO IcllpHw1x6x8::gtSystemInfo = {0};
void IcllpHw1x6x8::setupHardwareInfo(HardwareInfo *hwInfo, bool setupFeatureTableAndWorkaroundTable, const CompilerProductHelper &compilerProductHelper) {

View File

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