mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-09 14:33:04 +08:00
Move ULLS resources to local memory on DG2
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
e07f9f0698
commit
e28015a844
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user