Add flag to control prefetcher disabling behaviour

Certain platforms might not require prefetcher to
be disabled in direct submission. This change
provides a way to control that behaviour.

Signed-off-by: Rafal Maziejuk <rafal.maziejuk@intel.com>
Related-To: NEO-7218
This commit is contained in:
Rafal Maziejuk
2022-08-10 11:52:06 +00:00
committed by Compute-Runtime-Automation
parent bfc0919999
commit 5e58104f5a
16 changed files with 144 additions and 16 deletions

View File

@@ -482,4 +482,9 @@ uint32_t HwInfoConfigHw<gfxProduct>::getL1CachePolicy() const {
template <PRODUCT_FAMILY gfxProduct>
void HwInfoConfigHw<gfxProduct>::adjustNumberOfCcs(HardwareInfo &hwInfo) const {}
template <PRODUCT_FAMILY gfxProduct>
bool HwInfoConfigHw<gfxProduct>::isPrefetcherDisablingInDirectSubmissionRequired() const {
return true;
}
} // namespace NEO