24.02.1
|
Go to the documentation of this file.
24 #ifndef ARM_COMPUTE_IPOOLMANAGER_H
25 #define ARM_COMPUTE_IPOOLMANAGER_H
55 virtual void register_pool(std::unique_ptr<IMemoryPool> pool) = 0;
virtual std::unique_ptr< IMemoryPool > release_pool()=0
Releases a free pool from the managed pools.
virtual void unlock_pool(IMemoryPool *pool)=0
Releases memory pool.
virtual void clear_pools()=0
Clears all pools managed by the pool manager.
virtual void register_pool(std::unique_ptr< IMemoryPool > pool)=0
Register pool to be managed by the pool.
Memory pool manager interface.
virtual ~IPoolManager()=default
Default virtual destructor.
Copyright (c) 2017-2024 Arm Limited.
virtual size_t num_pools() const =0
Returns the total number of pools managed by the pool manager.
virtual IMemoryPool * lock_pool()=0
Locks a pool for execution.