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:
Mateusz Jablonski
2024-09-13 11:50:03 +00:00
committed by Compute-Runtime-Automation
parent 9739dadabf
commit 5665e0fb3c
3 changed files with 3 additions and 2 deletions

View File

@@ -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);

View File

@@ -1 +1 @@
git_revision: 0c244f77ad9bc844936bcc8780cbb0a89f2e84ef
git_revision: 7d8fd7a20f37a5e0ba5a8115c947e4c0ace798fa

View File

@@ -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},