ArmNN
 25.11
Loading...
Searching...
No Matches
SampleDynamicBackend.hpp File Reference
#include <cstdint>
Include dependency graph for SampleDynamicBackend.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

const char * GetBackendId ()
void GetVersion (uint32_t *outMajor, uint32_t *outMinor)
void * BackendFactory ()

Function Documentation

◆ BackendFactory()

void * BackendFactory ( )

Definition at line 30 of file RefDynamicBackend.cpp.

31{
32 return new RefBackend();
33}

◆ GetBackendId()

const char * GetBackendId ( )

Definition at line 12 of file RefDynamicBackend.cpp.

13{
14 return RefBackend::GetIdStatic().Get().c_str();
15}
const std::string & Get() const
static const BackendId & GetIdStatic()

References BackendId::Get(), and RefBackend::GetIdStatic().

◆ GetVersion()

void GetVersion ( uint32_t * outMajor,
uint32_t * outMinor )

Definition at line 17 of file RefDynamicBackend.cpp.

18{
19 if (!outMajor || !outMinor)
20 {
21 return;
22 }
23
25
26 *outMajor = apiVersion.m_Major;
27 *outMinor = apiVersion.m_Minor;
28}
static constexpr BackendVersion GetApiVersion()
Returns the version of the Backend API.

References IBackendInternal::GetApiVersion(), BackendVersion::m_Major, and BackendVersion::m_Minor.