telsoa01 | c577f2c | 2018-08-31 09:22:23 +0100 | [diff] [blame] | 1 | // |
| 2 | // Copyright © 2017 Arm Ltd. All rights reserved. |
David Beck | ecb56cd | 2018-09-05 12:52:57 +0100 | [diff] [blame] | 3 | // SPDX-License-Identifier: MIT |
telsoa01 | c577f2c | 2018-08-31 09:22:23 +0100 | [diff] [blame] | 4 | // |
| 5 | #pragma once |
| 6 | |
Aron Virginas-Tar | f9aeef0 | 2018-10-12 15:18:03 +0100 | [diff] [blame] | 7 | #include <arm_compute/runtime/IMemoryPool.h> |
telsoa01 | c577f2c | 2018-08-31 09:22:23 +0100 | [diff] [blame] | 8 | |
| 9 | namespace armnn |
| 10 | { |
| 11 | |
| 12 | class IMemoryPool : public arm_compute::IMemoryPool |
| 13 | { |
| 14 | public: |
| 15 | /// Allocates memory for the entire pool |
| 16 | virtual void AllocatePool() = 0; |
| 17 | |
| 18 | /// Releases all memory associated with the pool |
| 19 | virtual void ReleasePool() = 0; |
| 20 | }; |
| 21 | |
| 22 | } // namespace armnn |