blob: c48d5b2c4bd8faa0b9a533b6e8ad0286758d0d55 [file] [log] [blame]
David Beckd4dfa682018-10-24 17:09:46 +01001//
2// Copyright © 2017 Arm Ltd. All rights reserved.
3// SPDX-License-Identifier: MIT
4//
5#pragma once
6
7#include <armnn/Types.hpp>
8#include <armnn/IRuntime.hpp>
9#include "RegistryCommon.hpp"
10#include "IBackendContext.hpp"
11
12namespace armnn
13{
14
15using BackendContextRegistry = RegistryCommon<IBackendContext,
16 IBackendContextUniquePtr,
17 IRuntime::CreationOptions>;
18
19BackendContextRegistry& BackendContextRegistryInstance();
20
21template <>
22struct RegisteredTypeName<IBackendContext>
23{
24 static const char * Name() { return "IBackendContext"; }
25};
26
27} // namespace armnn