mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-05 09:09:04 +08:00
Add interface to get local memory size
Related-To: NEO-2687 Change-Id: I8d9913e925f88de34d71da9371d25ec04d2e02d5 Signed-off-by: Milczarek, Slawomir <slawomir.milczarek@intel.com>
This commit is contained in:
committed by
sys_ocldev
parent
169ec2b21a
commit
4198e8f24f
@@ -103,6 +103,7 @@ class MemoryManager {
|
||||
void checkGpuUsageAndDestroyGraphicsAllocations(GraphicsAllocation *gfxAllocation);
|
||||
|
||||
virtual uint64_t getSystemSharedMemory() = 0;
|
||||
virtual uint64_t getLocalMemorySize() = 0;
|
||||
|
||||
uint64_t getMaxApplicationAddress() { return is64bit ? MemoryConstants::max64BitAppAddress : MemoryConstants::max32BitAppAddress; };
|
||||
uint64_t getInternalHeapBaseAddress() { return gfxPartition.getHeapBase(internalHeapIndex); }
|
||||
|
||||
Reference in New Issue
Block a user