mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-29 17:13:29 +08:00
fix: add backward compatibility support for mtl-m aot target
Resolves: NEO-12649, GSD-9859 Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
9739dadabf
commit
5665e0fb3c
@@ -46,7 +46,7 @@ MTLTEST_F(ProductConfigHelperMtlTests, givenMtlConfigsWhenSearchForDeviceAcronym
|
||||
|
||||
MTLTEST_F(ProductConfigHelperMtlTests, givenPubliclyAvailableAcronymsForMtlDevicesWhenGetProductConfigThenCorrectValueIsReturned) {
|
||||
auto productConfigHelper = std::make_unique<ProductConfigHelper>();
|
||||
std::vector<std::string> mtlUAcronyms = {"mtl-s", "mtl-u"};
|
||||
std::vector<std::string> mtlUAcronyms = {"mtl-s", "mtl-u", "mtl-m"};
|
||||
std::vector<std::string> mtlHAcronyms = {"mtl-h", "mtl-p"};
|
||||
for (auto &acronym : mtlUAcronyms) {
|
||||
ProductConfigHelper::adjustDeviceName(acronym);
|
||||
|
||||
2
third_party/aot_config_headers/.version
vendored
2
third_party/aot_config_headers/.version
vendored
@@ -1 +1 @@
|
||||
git_revision: 0c244f77ad9bc844936bcc8780cbb0a89f2e84ef
|
||||
git_revision: 7d8fd7a20f37a5e0ba5a8115c947e4c0ace798fa
|
||||
|
||||
1
third_party/aot_config_headers/platforms.h
vendored
1
third_party/aot_config_headers/platforms.h
vendored
@@ -227,6 +227,7 @@ inline const std::map<std::string, PRODUCT_CONFIG> deviceAcronyms = {
|
||||
#ifdef SUPPORT_AOT_MTL
|
||||
{"mtl-u", MTL_U_B0},
|
||||
{"mtl-s", MTL_U_B0},
|
||||
{"mtl-m", MTL_U_B0},
|
||||
{"arl-u", MTL_U_B0},
|
||||
{"arl-s", MTL_U_B0},
|
||||
{"mtl-h", MTL_H_B0},
|
||||
|
||||
Reference in New Issue
Block a user