ArmNN
 25.02
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
SampleDynamicBackend.cpp File Reference
Include dependency graph for SampleDynamicBackend.cpp:

Go to the source code of this file.

Namespaces

 sdb
 

Functions

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

Function Documentation

◆ BackendFactory()

void* BackendFactory ( )

Definition at line 121 of file SampleDynamicBackend.cpp.

122 {
123  return new sdb::SampleDynamicBackend();
124 }

◆ GetBackendId()

const char* GetBackendId ( )

Definition at line 103 of file SampleDynamicBackend.cpp.

104 {
105  return sdb::SampleDynamicBackend::GetIdStatic().Get().c_str();
106 }

◆ GetVersion()

void GetVersion ( uint32_t *  outMajor,
uint32_t *  outMinor 
)

Definition at line 108 of file SampleDynamicBackend.cpp.

109 {
110  if (!outMajor || !outMinor)
111  {
112  return;
113  }
114 
116 
117  *outMajor = apiVersion.m_Major;
118  *outMinor = apiVersion.m_Minor;
119 }
static constexpr BackendVersion GetApiVersion()
Returns the version of the Backend API.

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