IVGCVSW-3656 Make the reference backend optional
[platform/upstream/armnn.git] / src / backends / neon / NeonRegistryInitializer.cpp
1 //
2 // Copyright © 2017 Arm Ltd. All rights reserved.
3 // SPDX-License-Identifier: MIT
4 //
5
6 #include "NeonBackend.hpp"
7
8 #include <backendsCommon/BackendRegistry.hpp>
9
10 namespace
11 {
12
13 using namespace armnn;
14
15 static BackendRegistry::StaticRegistryInitializer g_RegisterHelper
16 {
17     BackendRegistryInstance(),
18     NeonBackend::GetIdStatic(),
19     []()
20     {
21         return IBackendInternalUniquePtr(new NeonBackend);
22     }
23 };
24
25 } // Anonymous namespace