24.08
IMemoryManager.hpp
Go to the documentation of this file.
1
//
2
// Copyright © 2017 Arm Ltd. All rights reserved.
3
// SPDX-License-Identifier: MIT
4
//
5
#pragma once
6
7
#include <memory>
8
9
namespace
armnn
10
{
11
12
class
IMemoryManager
13
{
14
protected
:
15
IMemoryManager
() {}
16
17
public
:
18
virtual
void
Acquire
() = 0;
19
virtual
void
Release
() = 0;
20
21
virtual
~IMemoryManager
() {}
22
};
23
24
using
IMemoryManagerUniquePtr
= std::unique_ptr<IMemoryManager>;
25
26
}
// namespace armnn
armnn::IMemoryManager::~IMemoryManager
virtual ~IMemoryManager()
Definition:
IMemoryManager.hpp:21
armnn::IMemoryManagerUniquePtr
std::unique_ptr< IMemoryManager > IMemoryManagerUniquePtr
Definition:
IMemoryManager.hpp:24
armnn::IMemoryManager::Acquire
virtual void Acquire()=0
armnn::IMemoryManager
Definition:
IMemoryManager.hpp:12
armnn::IMemoryManager::IMemoryManager
IMemoryManager()
Definition:
IMemoryManager.hpp:15
armnn::IMemoryManager::Release
virtual void Release()=0
armnn
Copyright (c) 2021 ARM Limited and Contributors.
Definition:
01_00_quick_start.dox:6
include
armnn
backends
IMemoryManager.hpp
Generated on Wed Aug 28 2024 14:31:47 for Arm NN by
1.8.17