IVGCVSW-2093 Add SpaceToBatchNd layer and corresponding no-op factory implementations
[platform/upstream/armnn.git] / src / backends / backendsCommon / BackendContextRegistry.hpp
1 //
2 // Copyright © 2017 Arm Ltd. All rights reserved.
3 // SPDX-License-Identifier: MIT
4 //
5 #pragma once
6
7 #include "IBackendContext.hpp"
8 #include "RegistryCommon.hpp"
9
10 #include <armnn/IRuntime.hpp>
11 #include <armnn/Types.hpp>
12
13 namespace armnn
14 {
15
16 using BackendContextRegistry = RegistryCommon<IBackendContext,
17                                               IBackendContextUniquePtr,
18                                               IRuntime::CreationOptions>;
19
20 BackendContextRegistry& BackendContextRegistryInstance();
21
22 template <>
23 struct RegisteredTypeName<IBackendContext>
24 {
25     static const char * Name() { return "IBackendContext"; }
26 };
27
28 } // namespace armnn