From 5665e0fb3c7a42b2d9f602f0a412e55fbe574376 Mon Sep 17 00:00:00 2001 From: Mateusz Jablonski Date: Fri, 13 Sep 2024 11:50:03 +0000 Subject: [PATCH] fix: add backward compatibility support for mtl-m aot target Resolves: NEO-12649, GSD-9859 Signed-off-by: Mateusz Jablonski --- .../xe_hpg_core/mtl/product_config_helper_tests_mtl.cpp | 2 +- third_party/aot_config_headers/.version | 2 +- third_party/aot_config_headers/platforms.h | 1 + 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/shared/test/unit_test/xe_hpg_core/mtl/product_config_helper_tests_mtl.cpp b/shared/test/unit_test/xe_hpg_core/mtl/product_config_helper_tests_mtl.cpp index a030041f40..7b9011e676 100644 --- a/shared/test/unit_test/xe_hpg_core/mtl/product_config_helper_tests_mtl.cpp +++ b/shared/test/unit_test/xe_hpg_core/mtl/product_config_helper_tests_mtl.cpp @@ -46,7 +46,7 @@ MTLTEST_F(ProductConfigHelperMtlTests, givenMtlConfigsWhenSearchForDeviceAcronym MTLTEST_F(ProductConfigHelperMtlTests, givenPubliclyAvailableAcronymsForMtlDevicesWhenGetProductConfigThenCorrectValueIsReturned) { auto productConfigHelper = std::make_unique(); - std::vector mtlUAcronyms = {"mtl-s", "mtl-u"}; + std::vector mtlUAcronyms = {"mtl-s", "mtl-u", "mtl-m"}; std::vector mtlHAcronyms = {"mtl-h", "mtl-p"}; for (auto &acronym : mtlUAcronyms) { ProductConfigHelper::adjustDeviceName(acronym); diff --git a/third_party/aot_config_headers/.version b/third_party/aot_config_headers/.version index 9143c81fc1..2c426e0bb1 100644 --- a/third_party/aot_config_headers/.version +++ b/third_party/aot_config_headers/.version @@ -1 +1 @@ -git_revision: 0c244f77ad9bc844936bcc8780cbb0a89f2e84ef +git_revision: 7d8fd7a20f37a5e0ba5a8115c947e4c0ace798fa diff --git a/third_party/aot_config_headers/platforms.h b/third_party/aot_config_headers/platforms.h index ccc4cc9fc8..6e8049ad20 100644 --- a/third_party/aot_config_headers/platforms.h +++ b/third_party/aot_config_headers/platforms.h @@ -227,6 +227,7 @@ inline const std::map 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},