mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-26 15:03:02 +08:00
Cleanup includes 50
Cleaned up files: shared/source/helpers/hw_info.h Related-To: NEO-5548 Signed-off-by: Warchulski, Jaroslaw <jaroslaw.warchulski@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
7982e26ae7
commit
b224ec947e
@@ -146,12 +146,6 @@ struct HardwareInfo {
|
||||
uint8_t reserved[4]{}; // to keep optimal alignment
|
||||
};
|
||||
|
||||
template <PRODUCT_FAMILY product>
|
||||
struct HwMapper {};
|
||||
|
||||
template <GFXCORE_FAMILY gfxFamily>
|
||||
struct GfxFamilyMapper {};
|
||||
|
||||
// Global table of hardware prefixes
|
||||
extern bool familyEnabled[IGFX_MAX_CORE];
|
||||
extern const char *hardwarePrefix[IGFX_MAX_PRODUCT];
|
||||
@@ -172,11 +166,4 @@ void setHwInfoValuesFromConfig(const uint64_t hwInfoConfig, HardwareInfo &hwInfo
|
||||
bool parseHwInfoConfigString(const std::string &hwInfoConfigStr, uint64_t &hwInfoConfig);
|
||||
aub_stream::EngineType getChosenEngineType(const HardwareInfo &hwInfo);
|
||||
|
||||
// Utility conversion
|
||||
template <PRODUCT_FAMILY productFamily>
|
||||
struct ToGfxCoreFamily {
|
||||
static const GFXCORE_FAMILY gfxCoreFamily =
|
||||
static_cast<GFXCORE_FAMILY>(NEO::HwMapper<productFamily>::gfxFamily);
|
||||
static constexpr GFXCORE_FAMILY get() { return gfxCoreFamily; }
|
||||
};
|
||||
} // namespace NEO
|
||||
|
||||
Reference in New Issue
Block a user