aboutsummaryrefslogtreecommitdiff
path: root/src/armnn/memory/IMemoryPool.hpp
blob: e55c91589cf1ea7eb891813221b71dcb9af225d7 (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