20.11
|
#include <DynamicBackendTests.hpp>
Public Member Functions | |
TestBackendRegistry () | |
~TestBackendRegistry () | |
![]() | |
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) |
BackendRegistry () | |
virtual | ~BackendRegistry () |
void | Deregister (const BackendId &id) |
Additional Inherited Members | |
![]() | |
using | PointerType = IBackendInternalUniquePtr |
using | FactoryFunction = std::function< PointerType()> |
![]() | |
using | FactoryStorage = std::unordered_map< BackendId, FactoryFunction > |
![]() | |
static void | Swap (BackendRegistry &instance, FactoryStorage &other) |
For testing only. More... | |
Definition at line 92 of file DynamicBackendTests.hpp.
|
inline |
Definition at line 95 of file DynamicBackendTests.hpp.
References armnn::BackendRegistryInstance().
|
inline |
Definition at line 100 of file DynamicBackendTests.hpp.
References armnn::BackendRegistryInstance().