compute events select device memory for xe hpg family

Related-To: NEO-7765

Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
This commit is contained in:
Zbigniew Zdanowicz
2023-03-02 12:25:00 +00:00
committed by Compute-Runtime-Automation
parent 802848a43f
commit 072233d170
5 changed files with 36 additions and 17 deletions

View File

@@ -36,7 +36,8 @@ 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::SEMAPHORE_BUFFER)) {
properties.allocationType == AllocationType::SEMAPHORE_BUFFER ||
properties.allocationType == AllocationType::TIMESTAMP_PACKET_TAG_BUFFER)) {
allocationData.flags.useSystemMemory = false;
allocationData.flags.requiresCpuAccess = true;
}