Release 18.08
[platform/upstream/armnn.git] / src / armnn / memory / IMemoryPool.hpp
1 //
2 // Copyright © 2017 Arm Ltd. All rights reserved.
3 // See LICENSE file in the project root for full license information.
4 //
5 #pragma once
6
7 #include "arm_compute/runtime/IMemoryPool.h"
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