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