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 acquire(MemoryMappings &handles)=0
Sets occupant to the memory pool.
This file contains all available output stages for GEMMLowp on OpenCL.
virtual void release(MemoryMappings &handles)=0
Releases a memory block.
std::map< void **, size_t > MemoryMappings
A map of (handle, index/offset), where handle is the memory handle of the object to provide the memor...
virtual std::unique_ptr< IMemoryPool > duplicate()=0
Duplicates the existing memory pool.