/* * Copyright (C) 2022 Intel Corporation * * SPDX-License-Identifier: MIT * */ #include "shared/source/ail/ail_configuration_base.inl" #include "shared/source/helpers/hw_info.h" #include #include namespace NEO { static EnableAIL enableAILSKL; std::map> applicationMapSKL = { {"resolve", {AILEnumeration::DISABLE_HOST_PTR_TRACKING}} // Disable hostPtrTracking for DaVinci Resolve }; template <> inline void AILConfigurationHw::applyExt(RuntimeCapabilityTable &runtimeCapabilityTable) { auto search = applicationMapSKL.find(processName); if (search != applicationMapSKL.end()) { for (size_t i = 0; i < search->second.size(); ++i) { switch (search->second[i]) { case AILEnumeration::DISABLE_HOST_PTR_TRACKING: runtimeCapabilityTable.hostPtrTrackingEnabled = false; break; default: break; } } } } template class AILConfigurationHw; } // namespace NEO