mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-29 09:03:14 +08:00
Move command buffer to local memory on XE_HPG
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
5956aea18d
commit
4676f2f023
@@ -28,6 +28,10 @@ void HwHelperHw<Family>::setExtraAllocationData(AllocationData &allocationData,
|
||||
allocationData.flags.requiresCpuAccess = false;
|
||||
allocationData.storageInfo.isLockable = false;
|
||||
}
|
||||
} else if (hwInfo.featureTable.flags.ftrLocalMemory &&
|
||||
properties.allocationType == AllocationType::COMMAND_BUFFER) {
|
||||
allocationData.flags.useSystemMemory = false;
|
||||
allocationData.flags.requiresCpuAccess = true;
|
||||
}
|
||||
|
||||
if (hwInfoConfig.allowStatelessCompression(hwInfo)) {
|
||||
|
||||
Reference in New Issue
Block a user