aboutsummaryrefslogtreecommitdiff
path: root/src/backends/aclCommon/memory/IMemoryPool.hpp
blob: 99130699e0dc6fcd7d0c6c954c5d2ea2e0cda969 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
//
// Copyright © 2017 Arm Ltd. All rights reserved.
// SPDX-License-Identifier: MIT
//
#pragma once

#include <arm_compute/runtime/IMemoryPool.h>

namespace armnn
{

class IMemoryPool : public arm_compute::IMemoryPool
{
public:
    /// Allocates memory for the entire pool
    virtual void AllocatePool() = 0;

    /// Releases all memory associated with the pool
    virtual void ReleasePool() = 0;
};

} // namespace armnn