24.02.1
|
Go to the documentation of this file.
24 #ifndef ARM_COMPUTE_OFFSETMEMORYPOOL_H
25 #define ARM_COMPUTE_OFFSETMEMORYPOOL_H
70 std::unique_ptr<IMemoryPool>
duplicate()
override;
74 std::unique_ptr<IMemoryRegion> _blob;
void release(MemoryMappings &handles) override
Releases a memory block.
OffsetMemoryPool & operator=(const OffsetMemoryPool &)=delete
Prevent instances of this class to be copy assigned.
Offset based memory pool.
MappingType mapping_type() const override
Returns the mapping types that this pool accepts.
std::unique_ptr< IMemoryPool > duplicate() override
Duplicates the existing memory pool.
Copyright (c) 2017-2024 Arm Limited.
void acquire(MemoryMappings &handles) override
Sets occupant to the memory pool.
OffsetMemoryPool(IAllocator *allocator, BlobInfo blob_info)
Default Constructor.
const BlobInfo & info() const
Accessor to the pool internal configuration meta-data.
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...
Meta-data information for each blob.
~OffsetMemoryPool()=default
Default Destructor.
input allocator() -> allocate()