fix: extend AIL for buffer pooling to ARL

Signed-off-by: Dominik Dabek <dominik.dabek@intel.com>
This commit is contained in:
Dominik Dabek
2024-11-21 13:31:11 +00:00
committed by Compute-Runtime-Automation
parent f168a4ab61
commit 5f2dd41f8e
4 changed files with 10 additions and 4 deletions

View File

@@ -36,6 +36,12 @@ void AILConfigurationHw<IGFX_ARROWLAKE>::applyExt(RuntimeCapabilityTable &runtim
}
}
template <>
bool AILConfigurationHw<IGFX_ARROWLAKE>::isBufferPoolEnabled() {
auto iterator = applicationsBufferPoolDisabledXe.find(processName);
return iterator == applicationsBufferPoolDisabledXe.end();
}
template class AILConfigurationHw<IGFX_ARROWLAKE>;
} // namespace NEO

View File

@@ -66,8 +66,8 @@ inline void AILConfigurationHw<IGFX_DG2>::applyExt(RuntimeCapabilityTable &runti
template <>
bool AILConfigurationHw<IGFX_DG2>::isBufferPoolEnabled() {
auto iterator = applicationsBufferPoolDisabledDg2.find(processName);
return iterator == applicationsBufferPoolDisabledDg2.end();
auto iterator = applicationsBufferPoolDisabledXe.find(processName);
return iterator == applicationsBufferPoolDisabledXe.end();
}
template <>