mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-06 10:26:29 +08:00
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:
committed by
Compute-Runtime-Automation
parent
bfc0919999
commit
5e58104f5a
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user