mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-19 16:24:18 +08:00
Use inline variables also in aot_config_helpers
Signed-off-by: Patryk Wrobel <patryk.wrobel@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
2621460e80
commit
31f11af58b
6
third_party/aot_config_headers/platforms.h
vendored
6
third_party/aot_config_headers/platforms.h
vendored
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user