Move ULLS resources to local memory on DG2

Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
This commit is contained in:
Lukasz Jobczyk
2022-07-12 10:19:15 +00:00
committed by Compute-Runtime-Automation
parent e07f9f0698
commit e28015a844
2 changed files with 6 additions and 2 deletions

View File

@@ -29,7 +29,9 @@ void HwHelperHw<Family>::setExtraAllocationData(AllocationData &allocationData,
allocationData.storageInfo.isLockable = false;
}
} else if (hwInfo.featureTable.flags.ftrLocalMemory &&
properties.allocationType == AllocationType::COMMAND_BUFFER) {
(properties.allocationType == AllocationType::COMMAND_BUFFER ||
properties.allocationType == AllocationType::RING_BUFFER ||
properties.allocationType == AllocationType::SEMAPHORE_BUFFER)) {
allocationData.flags.useSystemMemory = false;
allocationData.flags.requiresCpuAccess = true;
}