mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-28 16:48:45 +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
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user