From fb14ebbd68e04876809145296af96f6f41857418 Mon Sep 17 00:00:00 2001 From: James Ward Date: Thu, 26 Nov 2020 11:08:12 +0000 Subject: IVGCVSW-5348 Update Doxygen Docu * Update Doxygen Documentation for 20.11 release Signed-off-by: James Ward Change-Id: Ib47edac7923a642a277b1169d1085e5622021dc0 --- 20.11/_sample_dynamic_backend_8hpp.xhtml | 208 +++++++++++++++++++++++++++++++ 1 file changed, 208 insertions(+) create mode 100644 20.11/_sample_dynamic_backend_8hpp.xhtml (limited to '20.11/_sample_dynamic_backend_8hpp.xhtml') diff --git a/20.11/_sample_dynamic_backend_8hpp.xhtml b/20.11/_sample_dynamic_backend_8hpp.xhtml new file mode 100644 index 0000000000..7caf099a46 --- /dev/null +++ b/20.11/_sample_dynamic_backend_8hpp.xhtml @@ -0,0 +1,208 @@ + + + + + + + + + + + + + +ArmNN: src/dynamic/sample/SampleDynamicBackend.hpp File Reference + + + + + + + + + + + + + + + + +
+
+ + + + ArmNN + + + +
+
+  20.11 +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+ +
+
SampleDynamicBackend.hpp File Reference
+
+
+
#include <cstdint>
+
+

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 128 of file TestDynamicBackend.cpp.

+
129 {
130 #if defined(INVALID_TEST_DYNAMIC_BACKEND_6)
131 
132  // Return an invalid backend instance
133  return nullptr;
134 
135 #else
136 
137  // Return a non-null backend instance
138  return new TestDynamicBackend();
139 
140 #endif
141 }
+
+
+ +

◆ GetBackendId()

+ +
+
+ + + + + + + +
const char* GetBackendId ()
+
+ +

Definition at line 80 of file TestDynamicBackend.cpp.

+ +

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

+ +

Referenced by BOOST_AUTO_TEST_CASE().

+
81 {
82 #if defined(INVALID_TEST_DYNAMIC_BACKEND_5) || \
83  defined(INVALID_TEST_DYNAMIC_BACKEND_8)
84 
85  // Return an invalid backend id
86  return nullptr;
87 
88 #else
89 
90  // Return a valid backend id
91  return TestDynamicBackendId();
92 
93 #endif
94 }
constexpr const char * TestDynamicBackendId()
+
+
+
+ +

◆ GetVersion()

+ +
+
+ + + + + + + + + + + + + + + + + + +
void GetVersion (uint32_t * outMajor,
uint32_t * outMinor 
)
+
+ +

Definition at line 96 of file TestDynamicBackend.cpp.

+ +

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

+
97 {
98  if (!outMajor || !outMinor)
99  {
100  return;
101  }
102 
103 #if defined(INVALID_TEST_DYNAMIC_BACKEND_7) || \
104  defined(INVALID_TEST_DYNAMIC_BACKEND_8)
105 
106  *outMajor = 0;
107  *outMinor = 7;
108 
109 #else
110 
112 
113  *outMajor = apiVersion.m_Major;
114 
115 #if defined(INVALID_TEST_DYNAMIC_BACKEND_9)
116 
117  *outMinor = apiVersion.m_Minor + 1;
118 
119 #else
120 
121  *outMinor = apiVersion.m_Minor;
122 
123 #endif
124 
125 #endif
126 }
+ +
static constexpr BackendVersion GetApiVersion()
Returns the version of the Backend API.
+ +
+
+
+
+
+ + + + -- cgit v1.2.1