blob: c48d5b2c4bd8faa0b9a533b6e8ad0286758d0d55 (
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/Types.hpp>
#include <armnn/IRuntime.hpp>
#include "RegistryCommon.hpp"
#include "IBackendContext.hpp"
namespace armnn
{
using BackendContextRegistry = RegistryCommon<IBackendContext,
IBackendContextUniquePtr,
IRuntime::CreationOptions>;
BackendContextRegistry& BackendContextRegistryInstance();
template <>
struct RegisteredTypeName<IBackendContext>
{
static const char * Name() { return "IBackendContext"; }
};
} // namespace armnn
|