Use HEAP_STANDARD for Limited-range allocations

Change-Id: I8b35cda2b5542e98a83021b4ce1c9f5118e6697d
Signed-off-by: Venevtsev, Igor <igor.venevtsev@intel.com>
This commit is contained in:
Venevtsev, Igor
2019-03-15 11:09:06 +01:00
committed by sys_ocldev
parent a3369a9679
commit ddf3aa186d
19 changed files with 61 additions and 66 deletions

View File

@@ -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()) {