ArmNN
 25.11
Loading...
Searching...
No Matches
RefDynamicBackend.cpp
Go to the documentation of this file.
1//
2// Copyright © 2017 Arm Ltd. All rights reserved.
3// SPDX-License-Identifier: MIT
4//
5
7
9
10using namespace armnn;
11
12const char* GetBackendId()
13{
14 return RefBackend::GetIdStatic().Get().c_str();
15}
16
17void GetVersion(uint32_t* outMajor, uint32_t* outMinor)
18{
19 if (!outMajor || !outMinor)
20 {
21 return;
22 }
23
25
26 *outMajor = apiVersion.m_Major;
27 *outMinor = apiVersion.m_Minor;
28}
29
31{
32 return new RefBackend();
33}
void * BackendFactory()
const char * GetBackendId()
const std::string & Get() const
static constexpr BackendVersion GetApiVersion()
Returns the version of the Backend API.
static const BackendId & GetIdStatic()
Copyright (c) 2021 ARM Limited and Contributors.
const std::string GetVersion()
Definition Utils.cpp:81