mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-08 05:56:36 +08:00
[16/n] Internal 4GB allocator.
- simplify os agnostic memory manager - remove pointer map - move cpuPtr allocate logic to graphics allocation - do not release tag allocation while injecting memory manager - remove not needed ref count from Memory Allocation Change-Id: I6ad81ee919c9cde939bc754a9dfc2db7568397d2
This commit is contained in:
committed by
sys_ocldev
parent
ca86fe2461
commit
5d3d3ff0e7
@@ -127,6 +127,7 @@ class GraphicsAllocation : public IDNode<GraphicsAllocation> {
|
||||
void incReuseCount() { reuseCount++; }
|
||||
void decReuseCount() { reuseCount--; }
|
||||
uint32_t peekReuseCount() const { return reuseCount; }
|
||||
bool cpuPtrAllocated = false; // flag indicating if cpuPtr is driver-allocated
|
||||
|
||||
private:
|
||||
int allocationType;
|
||||
|
||||
Reference in New Issue
Block a user