mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-03 14:55:24 +08:00
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:
committed by
Compute-Runtime-Automation
parent
360a5bbc96
commit
3bb4425fb3
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user