fix: Remove patchtokens fallback AIL for DaVinci Resolve

Related-To: NEO-12358
Signed-off-by: Jaroslaw Warchulski <jaroslaw.warchulski@intel.com>
This commit is contained in:
Jaroslaw Warchulski
2024-08-23 11:06:49 +00:00
committed by Compute-Runtime-Automation
parent 360a5bbc96
commit 3bb4425fb3
20 changed files with 0 additions and 329 deletions

View File

@@ -36,23 +36,6 @@ void AILConfigurationHw<IGFX_ARROWLAKE>::applyExt(RuntimeCapabilityTable &runtim
}
}
template <>
inline bool AILConfigurationHw<IGFX_ARROWLAKE>::isFallbackToPatchtokensRequired(const std::string &kernelSources) {
std::string_view dummyKernelSource{"kernel void _(){}"};
if (sourcesContain(kernelSources, dummyKernelSource)) {
return true;
}
for (const auto &name : {"Resolve",
"ArcControlAssist",
"ArcControl"}) {
if (processName == name) {
return true;
}
}
return false;
}
template class AILConfigurationHw<IGFX_ARROWLAKE>;
} // namespace NEO

View File

@@ -70,23 +70,6 @@ bool AILConfigurationHw<IGFX_DG2>::isBufferPoolEnabled() {
return iterator == applicationsBufferPoolDisabled.end();
}
template <>
inline bool AILConfigurationHw<IGFX_DG2>::isFallbackToPatchtokensRequired(const std::string &kernelSources) {
std::string_view dummyKernelSource{"kernel void _(){}"};
if (sourcesContain(kernelSources, dummyKernelSource)) {
return true;
}
for (const auto &name : {"Resolve",
"ArcControlAssist",
"ArcControl"}) {
if (processName == name) {
return true;
}
}
return false;
}
template class AILConfigurationHw<IGFX_DG2>;
} // namespace NEO

View File

@@ -58,23 +58,6 @@ bool AILConfigurationHw<IGFX_METEORLAKE>::isBufferPoolEnabled() {
return iterator == applicationsBufferPoolDisabled.end();
}
template <>
inline bool AILConfigurationHw<IGFX_METEORLAKE>::isFallbackToPatchtokensRequired(const std::string &kernelSources) {
std::string_view dummyKernelSource{"kernel void _(){}"};
if (sourcesContain(kernelSources, dummyKernelSource)) {
return true;
}
for (const auto &name : {"Resolve",
"ArcControlAssist",
"ArcControl"}) {
if (processName == name) {
return true;
}
}
return false;
}
template class AILConfigurationHw<IGFX_METEORLAKE>;
} // namespace NEO