performance: override allocation caching on integrated platforms

Related-To: NEO-9421

Signed-off-by: Tomasz Biernacik <tomasz.biernacik@intel.com>
This commit is contained in:
Tomasz Biernacik
2025-03-06 14:20:14 +00:00
committed by Compute-Runtime-Automation
parent 8e251ed274
commit e644b09433
3 changed files with 67 additions and 9 deletions

View File

@@ -9,6 +9,11 @@
namespace NEO {
template <>
bool ProductHelperHw<gfxProduct>::overrideAllocationCacheable(const AllocationData &allocationData) const {
return allocationData.type == AllocationType::commandBuffer || this->overrideCacheableForDcFlushMitigation(allocationData.type);
}
template <>
std::optional<aub_stream::ProductFamily> ProductHelperHw<gfxProduct>::getAubStreamProductFamily() const {
return aub_stream::ProductFamily::Ptl;