20.11
ClRegistryInitializer.cpp
Go to the documentation of this file.
1
//
2
// Copyright © 2017 Arm Ltd. All rights reserved.
3
// SPDX-License-Identifier: MIT
4
//
5
6
#include "
ClBackend.hpp
"
7
8
#include <
armnn/BackendRegistry.hpp
>
9
10
namespace
11
{
12
13
using namespace
armnn
;
14
15
static
BackendRegistry::StaticRegistryInitializer
g_RegisterHelper
16
{
17
BackendRegistryInstance
(),
18
ClBackend::GetIdStatic
(),
19
[]()
20
{
21
return
IBackendInternalUniquePtr
(
new
ClBackend
);
22
}
23
};
24
25
}
// Anonymous namespace
armnn::BackendRegistryInstance
BackendRegistry & BackendRegistryInstance()
Definition:
BackendRegistry.cpp:13
armnn
Copyright (c) 2020 ARM Limited.
Definition:
00_introduction.dox:25
ClBackend.hpp
BackendRegistry.hpp
armnn::BackendRegistry::StaticRegistryInitializer
Definition:
BackendRegistry.hpp:42
armnn::ClBackend
Definition:
ClBackend.hpp:12
armnn::IBackendInternalUniquePtr
std::unique_ptr< IBackendInternal > IBackendInternalUniquePtr
Definition:
BackendRegistry.hpp:23
armnn::ClBackend::GetIdStatic
static const BackendId & GetIdStatic()
Definition:
ClBackend.cpp:42
src
backends
cl
ClRegistryInitializer.cpp
Generated on Wed Nov 25 2020 09:59:12 for ArmNN by
1.8.13