mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-28 08:37:12 +08:00
Use HEAP_STANDARD for Limited-range allocations
Change-Id: I8b35cda2b5542e98a83021b4ce1c9f5118e6697d Signed-off-by: Venevtsev, Igor <igor.venevtsev@intel.com>
This commit is contained in:
committed by
sys_ocldev
parent
a3369a9679
commit
ddf3aa186d
@@ -410,7 +410,8 @@ HeapIndex MemoryManager::selectHeap(const GraphicsAllocation *allocation, const
|
||||
}
|
||||
return HeapIndex::HEAP_STANDARD;
|
||||
}
|
||||
return HeapIndex::HEAP_LIMITED;
|
||||
// Limited range allocation goes to STANDARD heap
|
||||
return HeapIndex::HEAP_STANDARD;
|
||||
}
|
||||
bool MemoryManager::copyMemoryToAllocation(GraphicsAllocation *graphicsAllocation, const void *memoryToCopy, uint32_t sizeToCopy) const {
|
||||
if (!graphicsAllocation->getUnderlyingBuffer()) {
|
||||
|
||||
Reference in New Issue
Block a user