fix: Update acronyms for MTL

This change adds new product config device
acronyms available for mtl and changes enum names.

Signed-off-by: Daria Hinz <daria.hinz@intel.com>
This commit is contained in:
Daria Hinz
2023-03-20 10:49:31 +00:00
committed by Compute-Runtime-Automation
parent d344945625
commit 865154cdc4
8 changed files with 60 additions and 33 deletions

View File

@@ -48,10 +48,10 @@ enum PRODUCT_CONFIG : uint32_t {
PVC_XT_B0 = 0x030f0005,
PVC_XT_B1 = 0x030f0006,
PVC_XT_C0 = 0x030f0007,
XE_LPG_MD_A0 = 0x03118000,
XE_LPG_MD_B0 = 0x03118004,
XE_LPG_LG_A0 = 0x0311c000,
XE_LPG_LG_B0 = 0x0311c004,
MTL_M_A0 = 0x03118000,
MTL_M_B0 = 0x03118004,
MTL_P_A0 = 0x0311c000,
MTL_P_B0 = 0x0311c004,
CONFIG_MAX_PLATFORM,
};
@@ -112,12 +112,15 @@ inline const std::map<std::string, RELEASE> releaseAcronyms = {
#ifdef SUPPORT_XE_HP_CORE
{"xe-hp", XE_HP_RELEASE},
#endif
#ifdef SUPPORT_XE_HPG_CORE
#if defined(SUPPORT_XE_HPG_CORE) && defined(SUPPORT_DG2)
{"xe-hpg", XE_HPG_RELEASE},
#endif
#ifdef SUPPORT_XE_HPC_CORE
{"xe-hpc", XE_HPC_RELEASE},
#endif
#if defined(SUPPORT_XE_HPG_CORE) && defined(SUPPORT_MTL)
{"xe-lpg", XE_LPG_RELEASE},
#endif
};
inline const std::map<std::string, AOT::PRODUCT_CONFIG> deviceAcronyms = {
@@ -185,5 +188,10 @@ inline const std::map<std::string, AOT::PRODUCT_CONFIG> deviceAcronyms = {
{"pvc-sdv", PVC_XL_A0P},
{"pvc", PVC_XT_C0},
#endif
#ifdef SUPPORT_MTL
{"mtl-s", MTL_M_B0},
{"mtl-m", MTL_M_B0},
{"mtl-p", MTL_P_B0},
#endif
};
} // namespace AOT