From 9aed8fb43441228343b925b42464a55042c47ca0 Mon Sep 17 00:00:00 2001 From: Nikhil Raj Date: Wed, 17 Nov 2021 13:16:45 +0000 Subject: IVGCVSW-6040 Update 21.11 Doxygen Documents Signed-off-by: Nikhil Raj Change-Id: Ia36ec98c4bebc27a69103911ea3409cd7db587a5 --- 21.11/class_test_backend_registry.xhtml | 253 ++++++++++++++++++++++++++++++++ 1 file changed, 253 insertions(+) create mode 100644 21.11/class_test_backend_registry.xhtml (limited to '21.11/class_test_backend_registry.xhtml') diff --git a/21.11/class_test_backend_registry.xhtml b/21.11/class_test_backend_registry.xhtml new file mode 100644 index 0000000000..83d896effc --- /dev/null +++ b/21.11/class_test_backend_registry.xhtml @@ -0,0 +1,253 @@ + + + + + + + + + + + + + +ArmNN: TestBackendRegistry Class Reference + + + + + + + + + + + + + + + + +
+
+ + + + ArmNN + + + +
+
+  21.11 +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+ +
+
TestBackendRegistry Class Reference
+
+
+ +

#include <DynamicBackendTests.hpp>

+
+Inheritance diagram for TestBackendRegistry:
+
+
+ + +BackendRegistry + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Public Member Functions

 TestBackendRegistry ()
 
 ~TestBackendRegistry ()
 
- Public Member Functions inherited from BackendRegistry
void Register (const BackendId &id, FactoryFunction factory)
 
bool IsBackendRegistered (const BackendId &id) const
 
FactoryFunction GetFactory (const BackendId &id) const
 
size_t Size () const
 
BackendIdSet GetBackendIds () const
 
std::string GetBackendIdsAsString () const
 
void SetProfilingService (armnn::Optional< profiling::ProfilingService &> profilingService)
 
void RegisterAllocator (const BackendId &id, std::shared_ptr< ICustomAllocator > alloc)
 
std::unordered_map< BackendId, std::shared_ptr< ICustomAllocator > > GetAllocators ()
 
void RegisterMemoryOptimizerStrategy (const BackendId &id, std::shared_ptr< IMemoryOptimizerStrategy > strategy)
 
MemoryOptimizerStrategiesMapRef GetMemoryOptimizerStrategies ()
 
 BackendRegistry ()
 
virtual ~BackendRegistry ()
 
void Deregister (const BackendId &id)
 
void DeregisterAllocator (const BackendId &id)
 
void DeregisterMemoryOptimizerStrategy (const BackendId &id)
 
+ + + + + + + + + + + + + +

+Additional Inherited Members

- Public Types inherited from BackendRegistry
using PointerType = IBackendInternalUniquePtr
 
using FactoryFunction = std::function< PointerType()>
 
- Protected Types inherited from BackendRegistry
using FactoryStorage = std::unordered_map< BackendId, FactoryFunction >
 
- Static Protected Member Functions inherited from BackendRegistry
static void Swap (BackendRegistry &instance, FactoryStorage &other)
 For testing only. More...
 
+

Detailed Description

+
+

Definition at line 96 of file DynamicBackendTests.hpp.

+

Constructor & Destructor Documentation

+ +

◆ TestBackendRegistry()

+ +
+
+ + + + + +
+ + + + + + + +
TestBackendRegistry ()
+
+inline
+
+ +

Definition at line 99 of file DynamicBackendTests.hpp.

+ +

References armnn::BackendRegistryInstance().

+
100  {
101  Swap(armnn::BackendRegistryInstance(), m_TempStorage);
102  }
static void Swap(BackendRegistry &instance, FactoryStorage &other)
For testing only.
+
BackendRegistry & BackendRegistryInstance()
+ +
+
+
+ +

◆ ~TestBackendRegistry()

+ +
+
+ + + + + +
+ + + + + + + +
~TestBackendRegistry ()
+
+inline
+
+ +

Definition at line 104 of file DynamicBackendTests.hpp.

+ +

References armnn::BackendRegistryInstance(), and GetUnitTestExecutablePath().

+
105  {
106  Swap(armnn::BackendRegistryInstance(), m_TempStorage);
107  }
static void Swap(BackendRegistry &instance, FactoryStorage &other)
For testing only.
+
BackendRegistry & BackendRegistryInstance()
+
+
+
+
The documentation for this class was generated from the following file: +
+
+ + + + -- cgit v1.2.1