diff --git a/shared/source/ail/ail_configuration_extra.cpp b/shared/source/ail/ail_configuration_extra.cpp index 93a2a97a35..84db3030d9 100644 --- a/shared/source/ail/ail_configuration_extra.cpp +++ b/shared/source/ail/ail_configuration_extra.cpp @@ -10,7 +10,7 @@ #include "shared/source/helpers/hw_info.h" #include -#include +#include namespace NEO { /* @@ -24,6 +24,8 @@ std::map> applicationMap = {{"blen // 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}}}; +std::map> applicationMapMTL = {{"svchost", {AILEnumeration::DISABLE_DIRECT_SUBMISSION}}}; + const std::set applicationsContextSyncFlag = {}; AILConfiguration *ailConfigurationTable[IGFX_MAX_PRODUCT] = {}; diff --git a/shared/source/ail/xe_hpg_core/mtl/ail_configuration_mtl.cpp b/shared/source/ail/xe_hpg_core/mtl/ail_configuration_mtl.cpp index 0840c5f2a4..ea013716b7 100644 --- a/shared/source/ail/xe_hpg_core/mtl/ail_configuration_mtl.cpp +++ b/shared/source/ail/xe_hpg_core/mtl/ail_configuration_mtl.cpp @@ -14,9 +14,10 @@ #include namespace NEO { -static EnableAIL enableAILMTL; -std::map> applicationMapMTL = {{"svchost", {AILEnumeration::DISABLE_DIRECT_SUBMISSION}}}; +extern std::map> applicationMapMTL; + +static EnableAIL enableAILMTL; template <> void AILConfigurationHw::applyExt(RuntimeCapabilityTable &runtimeCapabilityTable) {