fix: non-coherency issue on arl

Resolves: HSD-15015200338
Signed-off-by: Katarzyna Cencelewska <katarzyna.cencelewska@intel.com>
This commit is contained in:
Katarzyna Cencelewska
2024-01-25 17:07:26 +00:00
committed by Compute-Runtime-Automation
parent f3bbd70a58
commit eec01e500a
26 changed files with 92 additions and 139 deletions

View File

@@ -105,4 +105,20 @@ uint32_t ProductHelperHw<gfxProduct>::getInternalHeapsPreallocated() const {
return 1u;
}
template <>
std::optional<GfxMemoryAllocationMethod> ProductHelperHw<gfxProduct>::getPreferredAllocationMethod(AllocationType allocationType) const {
switch (allocationType) {
case AllocationType::tagBuffer:
case AllocationType::timestampPacketTagBuffer:
return {};
default:
return GfxMemoryAllocationMethod::allocateByKmd;
}
}
template <>
bool ProductHelperHw<gfxProduct>::isCachingOnCpuAvailable() const {
return false;
}
} // namespace NEO