performance: allocate timestamp packet tag buffer in local mem on DG2

Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
This commit is contained in:
Mateusz Jablonski
2023-08-30 11:20:43 +00:00
committed by Compute-Runtime-Automation
parent 52bab7844e
commit 819908ec94
2 changed files with 19 additions and 13 deletions

View File

@@ -37,6 +37,7 @@ void GfxCoreHelperHw<Family>::setExtraAllocationData(AllocationData &allocationD
} else if (hwInfo.featureTable.flags.ftrLocalMemory &&
(properties.allocationType == AllocationType::COMMAND_BUFFER ||
properties.allocationType == AllocationType::RING_BUFFER ||
properties.allocationType == AllocationType::TIMESTAMP_PACKET_TAG_BUFFER ||
properties.allocationType == AllocationType::SEMAPHORE_BUFFER)) {
allocationData.flags.useSystemMemory = false;
allocationData.flags.requiresCpuAccess = true;