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

#include <armnn/IRuntime.hpp>
#include <memory>

namespace armnn
{

class IBackendContext
{
public:
    virtual ~IBackendContext() {}

protected:
    IBackendContext(const IRuntime::CreationOptions& options) {}

private:
    IBackendContext() = delete;
};

using IBackendContextUniquePtr = std::unique_ptr<IBackendContext>;

} // namespace armnn