mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-04 15:53:45 +08:00
[20/n] Internal 4GB allocator.
- Switch to internal heap for kernel ISA allocations. - remove IH from various functions - remove IHState from CSR , IH is never dirty - ISA is no longer copied on enqueue calls. Change-Id: I0099cf2a9ebab6192ea03a74dd35f7da963fd5a5
This commit is contained in:
committed by
sys_ocldev
parent
9f07de306c
commit
9bdf01468e
@@ -42,6 +42,7 @@ static const uintptr_t pageMask = (pageSize - 1);
|
||||
static const uintptr_t page64kMask = (pageSize64k - 1);
|
||||
static const uint64_t max32BitAppAddress = ((1ULL << 31) - 1);
|
||||
static const uint64_t max64BitAppAddress = ((1ULL << 47) - 1);
|
||||
static const uint32_t sizeOf4GBinPageEntities = (MemoryConstants::gigaByte * 4 - MemoryConstants::pageSize) / MemoryConstants::pageSize;
|
||||
}
|
||||
|
||||
const bool is32bit = (sizeof(void *) == 4) ? true : false;
|
||||
|
||||
Reference in New Issue
Block a user