diff options
author | Georgios Pinitas <georgios.pinitas@arm.com> | 2018-10-11 15:33:11 +0100 |
---|---|---|
committer | Anthony Barbier <anthony.barbier@arm.com> | 2018-11-02 16:55:45 +0000 |
commit | 9da19e9da660057785fb736aba5c61b1ae773f2f (patch) | |
tree | b51b30bed8266571178834367437bab0d8a7a517 /arm_compute/runtime/PoolManager.h | |
parent | ffb57a05d624c2efe1b32cf6ece112ee28726058 (diff) | |
download | ComputeLibrary-9da19e9da660057785fb736aba5c61b1ae773f2f.tar.gz |
COMPMID-1605: API alignment for the MemoryManager with ARMNN
Change-Id: Iac6a95ba7f388e65b7f1c8865c3e9bf289b233ea
Reviewed-on: https://eu-gerrit-1.euhpc.arm.com/155490
Reviewed-by: Anthony Barbier <anthony.barbier@arm.com>
Tested-by: bsgcomp <bsgcomp@arm.com>
Diffstat (limited to 'arm_compute/runtime/PoolManager.h')
-rw-r--r-- | arm_compute/runtime/PoolManager.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/arm_compute/runtime/PoolManager.h b/arm_compute/runtime/PoolManager.h index 509080532a..4f0f5384e0 100644 --- a/arm_compute/runtime/PoolManager.h +++ b/arm_compute/runtime/PoolManager.h @@ -56,7 +56,9 @@ public: IMemoryPool *lock_pool() override; void unlock_pool(IMemoryPool *pool) override; void register_pool(std::unique_ptr<IMemoryPool> pool) override; - size_t num_pools() const override; + std::unique_ptr<IMemoryPool> release_pool() override; + void clear_pools() override; + size_t num_pools() const override; private: std::list<std::unique_ptr<IMemoryPool>> _free_pools; /**< List of free pools */ |