24.02.1
|
Go to the documentation of this file.
24 #ifndef ARM_COMPUTE_IMEMORYPOOL_H
25 #define ARM_COMPUTE_IMEMORYPOOL_H
61 virtual std::unique_ptr<IMemoryPool>
duplicate() = 0;
virtual MappingType mapping_type() const =0
Returns the mapping types that this pool accepts.
virtual ~IMemoryPool()=default
Default Virtual Destructor.
virtual void release(MemoryMappings &handles)=0
Releases a memory block.
virtual void acquire(MemoryMappings &handles)=0
Sets occupant to the memory pool.
Copyright (c) 2017-2024 Arm Limited.
virtual std::unique_ptr< IMemoryPool > duplicate()=0
Duplicates the existing memory pool.
std::map< IMemory *, size_t > MemoryMappings
A map of (handle, index/offset), where handle is the memory handle of the object to provide the memor...