mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-20 08:53:55 +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,
|
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
|
||||||
|
|||||||
Reference in New Issue
Block a user