Remove 32 bit code.

- Enable local memory in 32 bit scenarios.

Change-Id: I091570a3d0aa6043febf2721480196425e058978
Signed-off-by: Michal Mrozek <michal.mrozek@intel.com>
This commit is contained in:
Michal Mrozek
2019-11-28 14:23:32 +01:00
committed by sys_ocldev
parent 102bceb4c9
commit b937b54064
12 changed files with 20 additions and 35 deletions

View File

@@ -305,7 +305,7 @@ GraphicsAllocation *DrmMemoryManager::allocateGraphicsMemoryForImageImpl(const A
DrmAllocation *DrmMemoryManager::allocate32BitGraphicsMemoryImpl(const AllocationData &allocationData) {
auto internal = useInternal32BitAllocator(allocationData.type);
auto allocatorToUse = internal ? internalHeapIndex : HeapIndex::HEAP_EXTERNAL;
auto allocatorToUse = internal ? HeapIndex::HEAP_INTERNAL_DEVICE_MEMORY : HeapIndex::HEAP_EXTERNAL;
if (allocationData.hostPtr) {
uintptr_t inputPtr = reinterpret_cast<uintptr_t>(allocationData.hostPtr);