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

@@ -14,7 +14,6 @@
#include "shared/source/helpers/constants.h"
#include "aubstream/engine_node.h"
#include "platforms.h"
namespace NEO {
@@ -137,8 +136,7 @@ const HardwareInfo TgllpHw1x6x16::hwInfo = {
&TGLLP::featureTable,
&TGLLP::workaroundTable,
&TgllpHw1x6x16::gtSystemInfo,
TGLLP::capabilityTable,
AOT::TGL};
TGLLP::capabilityTable};
GT_SYSTEM_INFO TgllpHw1x6x16::gtSystemInfo = {0};
void TgllpHw1x6x16::setupHardwareInfo(HardwareInfo *hwInfo, bool setupFeatureTableAndWorkaroundTable, const CompilerProductHelper &compilerProductHelper) {
@@ -165,8 +163,7 @@ const HardwareInfo TgllpHw1x2x16::hwInfo = {
&TGLLP::featureTable,
&TGLLP::workaroundTable,
&TgllpHw1x2x16::gtSystemInfo,
TGLLP::capabilityTable,
AOT::TGL};
TGLLP::capabilityTable};
GT_SYSTEM_INFO TgllpHw1x2x16::gtSystemInfo = {0};
void TgllpHw1x2x16::setupHardwareInfo(HardwareInfo *hwInfo, bool setupFeatureTableAndWorkaroundTable, const CompilerProductHelper &compilerProductHelper) {