Use inline variables also in aot_config_helpers

Signed-off-by: Patryk Wrobel <patryk.wrobel@intel.com>
This commit is contained in:
Patryk Wrobel
2022-08-26 17:30:31 +00:00
committed by Compute-Runtime-Automation
parent 2621460e80
commit 31f11af58b

View File

@ -73,7 +73,7 @@ enum FAMILY : uint32_t {
FAMILY_MAX,
};
static const std::map<std::string, FAMILY> familyAcronyms = {
inline const std::map<std::string, FAMILY> familyAcronyms = {
#ifdef SUPPORT_GEN8
{"gen8", GEN8_FAMILY},
#endif
@ -91,7 +91,7 @@ static const std::map<std::string, FAMILY> familyAcronyms = {
#endif
};
static const std::map<std::string, RELEASE> releaseAcronyms = {
inline const std::map<std::string, RELEASE> releaseAcronyms = {
#ifdef SUPPORT_GEN8
{"gen8", GEN8_RELEASE},
#endif
@ -115,7 +115,7 @@ static const std::map<std::string, RELEASE> releaseAcronyms = {
#endif
};
static const std::map<std::string, AOT::PRODUCT_CONFIG> productConfigAcronyms = {
inline const std::map<std::string, AOT::PRODUCT_CONFIG> productConfigAcronyms = {
#ifdef SUPPORT_BDW
{"bdw", BDW},
#endif