mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-06 19:32:25 +08:00
fix: change process name in AIL for Adobe Premiere Pro
Related-To: HSD-22018809561 Signed-off-by: Cencelewska, Katarzyna <katarzyna.cencelewska@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
6fc673b0fe
commit
d5441cc2d9
@@ -21,8 +21,8 @@ namespace NEO {
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
std::map<std::string_view, std::vector<AILEnumeration>> applicationMap = {{"blender", {AILEnumeration::ENABLE_FP64}},
|
std::map<std::string_view, std::vector<AILEnumeration>> applicationMap = {{"blender", {AILEnumeration::ENABLE_FP64}},
|
||||||
// Modify reported platform name to ensure older versions of Premiere Pro are able to recognize the GPU device
|
// Modify reported platform name to ensure older versions of Adobe Premiere Pro are able to recognize the GPU device
|
||||||
{"premiere pro", {AILEnumeration::ENABLE_LEGACY_PLATFORM_NAME}}};
|
{"Adobe Premiere Pro", {AILEnumeration::ENABLE_LEGACY_PLATFORM_NAME}}};
|
||||||
|
|
||||||
AILConfiguration *ailConfigurationTable[IGFX_MAX_PRODUCT] = {};
|
AILConfiguration *ailConfigurationTable[IGFX_MAX_PRODUCT] = {};
|
||||||
|
|
||||||
|
|||||||
@@ -49,11 +49,11 @@ HWTEST2_F(AILTests, givenInitilizedTemplateWhenApplyWithBlenderIsCalledThenFP64S
|
|||||||
EXPECT_EQ(rtTable.ftrSupportsFP64, true);
|
EXPECT_EQ(rtTable.ftrSupportsFP64, true);
|
||||||
}
|
}
|
||||||
|
|
||||||
HWTEST2_F(AILTests, givenInitilizedTemplateWhenApplyWithPremiereProIsCalledThenPreferredPlatformNameIsSet, IsAtLeastGen9) {
|
HWTEST2_F(AILTests, givenInitilizedTemplateWhenApplyWithAdobePremiereProIsCalledThenPreferredPlatformNameIsSet, IsAtLeastGen9) {
|
||||||
VariableBackup<AILConfiguration *> ailConfigurationBackup(&ailConfigurationTable[productFamily]);
|
VariableBackup<AILConfiguration *> ailConfigurationBackup(&ailConfigurationTable[productFamily]);
|
||||||
|
|
||||||
AILMock<productFamily> ailTemp;
|
AILMock<productFamily> ailTemp;
|
||||||
ailTemp.processName = "premiere pro";
|
ailTemp.processName = "Adobe Premiere Pro";
|
||||||
ailConfigurationTable[productFamily] = &ailTemp;
|
ailConfigurationTable[productFamily] = &ailTemp;
|
||||||
|
|
||||||
auto ailConfiguration = AILConfiguration::get(productFamily);
|
auto ailConfiguration = AILConfiguration::get(productFamily);
|
||||||
|
|||||||
Reference in New Issue
Block a user