mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-07 21:27:04 +08:00
Do not initiate limited range allocator if range above max64 bit address.
Change-Id: If7b0a83c5e5326f2b16d32533d8631ff6ff877cc Signed-off-by: Mrozek, Michal <michal.mrozek@intel.com>
This commit is contained in:
committed by
sys_ocldev
parent
1bc5f7b142
commit
840d81c9fc
@@ -85,7 +85,7 @@ DrmMemoryManager::~DrmMemoryManager() {
|
||||
}
|
||||
|
||||
void DrmMemoryManager::initInternalRangeAllocator(size_t gpuRange) {
|
||||
if (gpuRange < MemoryConstants::max48BitAddress || !DebugManager.flags.EnableHostPtrTracking.get()) {
|
||||
if (gpuRange < MemoryConstants::max64BitAppAddress || !DebugManager.flags.EnableHostPtrTracking.get()) {
|
||||
// set the allocator with the whole reduced address space range - pageSize (base address) to
|
||||
// avoid starting address of the heap to be 0, which could be interpreted as invalid address
|
||||
// nullPtr.
|
||||
|
||||
Reference in New Issue
Block a user