ArmNN
 21.02
TestDynamicBackendUtils Class Reference

#include <DynamicBackendTests.hpp>

Inheritance diagram for TestDynamicBackendUtils:
DynamicBackendUtils

Static Public Member Functions

static bool IsBackendCompatibleTest (const armnn::BackendVersion &backendApiVersion, const armnn::BackendVersion &backendVersion)
 
static std::vector< std::string > GetBackendPathsImplTest (const std::string &path)
 
static armnn::BackendIdSet RegisterDynamicBackendsImplTest (armnn::BackendRegistry &backendRegistry, const std::vector< armnn::DynamicBackendPtr > &dynamicBackends)
 
- Static Public Member Functions inherited from DynamicBackendUtils
static void * OpenHandle (const std::string &sharedObjectPath)
 
static void CloseHandle (const void *sharedObjectHandle)
 
template<typename EntryPointType >
static EntryPointType GetEntryPoint (const void *sharedObjectHandle, const char *symbolName)
 
static bool IsBackendCompatible (const BackendVersion &backendVersion)
 
static std::vector< std::string > GetBackendPaths (const std::string &overrideBackendPath="")
 
static bool IsPathValid (const std::string &path)
 
static std::vector< std::string > GetSharedObjects (const std::vector< std::string > &backendPaths)
 
static std::vector< DynamicBackendPtrCreateDynamicBackends (const std::vector< std::string > &sharedObjects)
 
static BackendIdSet RegisterDynamicBackends (const std::vector< DynamicBackendPtr > &dynamicBackends)
 
static void DeregisterDynamicBackends (const BackendIdSet &dynamicBackends)
 

Additional Inherited Members

- Static Protected Member Functions inherited from DynamicBackendUtils
static bool IsBackendCompatibleImpl (const BackendVersion &backendApiVersion, const BackendVersion &backendVersion)
 Protected methods for testing purposes. More...
 
static std::vector< std::string > GetBackendPathsImpl (const std::string &backendPaths)
 
static BackendIdSet RegisterDynamicBackendsImpl (BackendRegistry &backendRegistry, const std::vector< DynamicBackendPtr > &dynamicBackends)
 

Detailed Description

Definition at line 69 of file DynamicBackendTests.hpp.

Member Function Documentation

◆ GetBackendPathsImplTest()

static std::vector<std::string> GetBackendPathsImplTest ( const std::string &  path)
inlinestatic

Definition at line 78 of file DynamicBackendTests.hpp.

References DynamicBackendUtils::GetBackendPathsImpl().

79  {
80  return GetBackendPathsImpl(path);
81  }
static std::vector< std::string > GetBackendPathsImpl(const std::string &backendPaths)

◆ IsBackendCompatibleTest()

static bool IsBackendCompatibleTest ( const armnn::BackendVersion backendApiVersion,
const armnn::BackendVersion backendVersion 
)
inlinestatic

Definition at line 72 of file DynamicBackendTests.hpp.

References DynamicBackendUtils::IsBackendCompatibleImpl().

Referenced by BackendVersioningTestImpl().

74  {
75  return IsBackendCompatibleImpl(backendApiVersion, backendVersion);
76  }
static bool IsBackendCompatibleImpl(const BackendVersion &backendApiVersion, const BackendVersion &backendVersion)
Protected methods for testing purposes.

◆ RegisterDynamicBackendsImplTest()

static armnn::BackendIdSet RegisterDynamicBackendsImplTest ( armnn::BackendRegistry backendRegistry,
const std::vector< armnn::DynamicBackendPtr > &  dynamicBackends 
)
inlinestatic

Definition at line 83 of file DynamicBackendTests.hpp.

References DynamicBackendUtils::RegisterDynamicBackendsImpl().

86  {
87  return RegisterDynamicBackendsImpl(backendRegistry, dynamicBackends);
88  }
static BackendIdSet RegisterDynamicBackendsImpl(BackendRegistry &backendRegistry, const std::vector< DynamicBackendPtr > &dynamicBackends)

The documentation for this class was generated from the following file: