2019-06-27 16:28:03 +08:00
|
|
|
/*
|
2023-02-07 20:53:53 +08:00
|
|
|
* Copyright (C) 2019-2023 Intel Corporation
|
2019-06-27 16:28:03 +08:00
|
|
|
*
|
|
|
|
* SPDX-License-Identifier: MIT
|
|
|
|
*
|
|
|
|
*/
|
|
|
|
|
|
|
|
#pragma once
|
2020-02-24 05:44:01 +08:00
|
|
|
#include "shared/source/gen11/hw_cmds_base.h"
|
2023-02-07 20:53:53 +08:00
|
|
|
#include "shared/source/helpers/hw_info.h"
|
2019-06-27 16:28:03 +08:00
|
|
|
|
|
|
|
namespace NEO {
|
|
|
|
|
2022-07-25 23:30:11 +08:00
|
|
|
struct EHL : public Gen11Family {
|
2019-06-27 16:28:03 +08:00
|
|
|
static const PLATFORM platform;
|
|
|
|
static const HardwareInfo hwInfo;
|
|
|
|
static FeatureTable featureTable;
|
|
|
|
static WorkaroundTable workaroundTable;
|
|
|
|
static const uint32_t maxEuPerSubslice = 8;
|
|
|
|
static const uint32_t maxSlicesSupported = 1;
|
|
|
|
static const uint32_t maxSubslicesSupported = 4;
|
|
|
|
static const RuntimeCapabilityTable capabilityTable;
|
2023-03-08 17:30:38 +08:00
|
|
|
static void (*setupHardwareInfo)(HardwareInfo *hwInfo, bool setupFeatureTableAndWorkaroundTable, uint64_t hwInfoConfig, const CompilerProductHelper &compilerProductHelper);
|
2019-06-27 16:28:03 +08:00
|
|
|
static void setupFeatureAndWorkaroundTable(HardwareInfo *hwInfo);
|
2023-03-08 17:30:38 +08:00
|
|
|
static void setupHardwareInfoBase(HardwareInfo *hwInfo, bool setupFeatureTableAndWorkaroundTable, const CompilerProductHelper &compilerProductHelper);
|
2019-06-27 16:28:03 +08:00
|
|
|
};
|
|
|
|
|
2022-06-02 23:10:04 +08:00
|
|
|
class EhlHwConfig : public EHL {
|
2020-07-27 15:36:30 +08:00
|
|
|
public:
|
2023-03-08 17:30:38 +08:00
|
|
|
static void setupHardwareInfo(HardwareInfo *hwInfo, bool setupFeatureTableAndWorkaroundTable, const CompilerProductHelper &compilerProductHelper);
|
2020-07-27 15:36:30 +08:00
|
|
|
static const HardwareInfo hwInfo;
|
|
|
|
|
|
|
|
private:
|
|
|
|
static GT_SYSTEM_INFO gtSystemInfo;
|
|
|
|
};
|
|
|
|
|
2019-06-27 16:28:03 +08:00
|
|
|
} // namespace NEO
|