mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-29 09:03:14 +08:00
Use GfxPartition for GPU address range allocations
[4/n] - Remove allocator32Bit Related-To: NEO-2877 Change-Id: I0772a7fe1fda19daa12699c546587bd3cdd84f2c Signed-off-by: Venevtsev, Igor <igor.venevtsev@intel.com>
This commit is contained in:
committed by
sys_ocldev
parent
09e87879db
commit
4403796f58
@@ -573,18 +573,6 @@ uint64_t DrmMemoryManager::getSystemSharedMemory() {
|
||||
return std::min(hostMemorySize, gpuMemorySize);
|
||||
}
|
||||
|
||||
uint64_t DrmMemoryManager::getMaxApplicationAddress() {
|
||||
return is64bit ? MemoryConstants::max64BitAppAddress : MemoryConstants::max32BitAppAddress;
|
||||
}
|
||||
|
||||
uint64_t DrmMemoryManager::getInternalHeapBaseAddress() {
|
||||
return gfxPartition.getHeapBase(internalHeapIndex);
|
||||
}
|
||||
|
||||
uint64_t DrmMemoryManager::getExternalHeapBaseAddress() {
|
||||
return gfxPartition.getHeapBase(HeapIndex::HEAP_EXTERNAL);
|
||||
}
|
||||
|
||||
MemoryManager::AllocationStatus DrmMemoryManager::populateOsHandles(OsHandleStorage &handleStorage) {
|
||||
BufferObject *allocatedBos[maxFragmentsCount];
|
||||
uint32_t numberOfBosAllocated = 0;
|
||||
|
||||
Reference in New Issue
Block a user