From d5441cc2d93121b6057c5a00d897b964e74d26ab Mon Sep 17 00:00:00 2001 From: "Cencelewska, Katarzyna" Date: Thu, 14 Sep 2023 20:04:46 +0000 Subject: [PATCH] fix: change process name in AIL for Adobe Premiere Pro Related-To: HSD-22018809561 Signed-off-by: Cencelewska, Katarzyna --- shared/source/ail/ail_configuration_extra.cpp | 4 ++-- shared/test/unit_test/ail/ail_tests.cpp | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/shared/source/ail/ail_configuration_extra.cpp b/shared/source/ail/ail_configuration_extra.cpp index 1c7730427f..2344d5306b 100644 --- a/shared/source/ail/ail_configuration_extra.cpp +++ b/shared/source/ail/ail_configuration_extra.cpp @@ -21,8 +21,8 @@ namespace NEO { */ std::map> applicationMap = {{"blender", {AILEnumeration::ENABLE_FP64}}, - // Modify reported platform name to ensure older versions of Premiere Pro are able to recognize the GPU device - {"premiere pro", {AILEnumeration::ENABLE_LEGACY_PLATFORM_NAME}}}; + // Modify reported platform name to ensure older versions of Adobe Premiere Pro are able to recognize the GPU device + {"Adobe Premiere Pro", {AILEnumeration::ENABLE_LEGACY_PLATFORM_NAME}}}; AILConfiguration *ailConfigurationTable[IGFX_MAX_PRODUCT] = {}; diff --git a/shared/test/unit_test/ail/ail_tests.cpp b/shared/test/unit_test/ail/ail_tests.cpp index 38ad0d2417..e4643f8080 100644 --- a/shared/test/unit_test/ail/ail_tests.cpp +++ b/shared/test/unit_test/ail/ail_tests.cpp @@ -49,11 +49,11 @@ HWTEST2_F(AILTests, givenInitilizedTemplateWhenApplyWithBlenderIsCalledThenFP64S EXPECT_EQ(rtTable.ftrSupportsFP64, true); } -HWTEST2_F(AILTests, givenInitilizedTemplateWhenApplyWithPremiereProIsCalledThenPreferredPlatformNameIsSet, IsAtLeastGen9) { +HWTEST2_F(AILTests, givenInitilizedTemplateWhenApplyWithAdobePremiereProIsCalledThenPreferredPlatformNameIsSet, IsAtLeastGen9) { VariableBackup ailConfigurationBackup(&ailConfigurationTable[productFamily]); AILMock ailTemp; - ailTemp.processName = "premiere pro"; + ailTemp.processName = "Adobe Premiere Pro"; ailConfigurationTable[productFamily] = &ailTemp; auto ailConfiguration = AILConfiguration::get(productFamily);