ArmNN
 24.02
RefDynamicBackend.hpp File Reference
#include <cstdint>
Include dependency graph for RefDynamicBackend.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 }

◆ 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 
24  BackendVersion apiVersion = IBackendInternal::GetApiVersion();
25 
26  *outMajor = apiVersion.m_Major;
27  *outMinor = apiVersion.m_Minor;
28 }
armnn::BackendVersion::m_Minor
uint32_t m_Minor
Definition: IBackendInternal.hpp:37
armnn::RefBackend
Definition: RefBackend.hpp:30
armnn::BackendVersion
Definition: IBackendInternal.hpp:34
armnn::BackendVersion::m_Major
uint32_t m_Major
Definition: IBackendInternal.hpp:36