24 #ifndef ARM_COMPUTE_IMEMORYMANAGER_H 25 #define ARM_COMPUTE_IMEMORYMANAGER_H 66 virtual void clear() = 0;
Memory pool manager interface.
Memory manager interface to handle allocations of backing memory.
virtual ILifetimeManager * lifetime_manager()=0
Returns the lifetime manager used by the memory manager.
Copyright (c) 2017-2021 Arm Limited.
Interface for managing the lifetime of objects.
virtual void clear()=0
Clears the pool manager.
virtual IPoolManager * pool_manager()=0
Returns the pool manager used by the memory manager.
virtual void populate(IAllocator &allocator, size_t num_pools)=0
Populates the pool manager with the given number of pools.
input allocator() -> allocate()
virtual ~IMemoryManager()=default
Default virtual destructor.