24.02
|
#include <DynamicBackendUtils.hpp>
Static Public Member Functions | |
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< DynamicBackendPtr > | CreateDynamicBackends (const std::vector< std::string > &sharedObjects) |
static BackendIdSet | RegisterDynamicBackends (const std::vector< DynamicBackendPtr > &dynamicBackends) |
static void | DeregisterDynamicBackends (const BackendIdSet &dynamicBackends) |
Static Protected Member Functions | |
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) |
Definition at line 28 of file DynamicBackendUtils.hpp.
|
static |
|
static |
Definition at line 269 of file DynamicBackendUtils.cpp.
References ARMNN_LOG, DynamicBackendUtils::OpenHandle(), armnn::warning, and Exception::what().
|
static |
Definition at line 320 of file DynamicBackendUtils.cpp.
References armnn::BackendRegistryInstance(), and BackendRegistry::Deregister().
Referenced by RuntimeImpl::RuntimeImpl(), and RuntimeImpl::~RuntimeImpl().
|
static |
Definition at line 81 of file DynamicBackendUtils.cpp.
References ARMNN_LOG, DYNAMIC_BACKEND_PATHS, DynamicBackendUtils::GetBackendPathsImpl(), DynamicBackendUtils::IsPathValid(), and armnn::warning.
|
staticprotected |
Definition at line 103 of file DynamicBackendUtils.cpp.
References DynamicBackendUtils::IsPathValid(), and armnn::stringUtils::StringTokenizer().
Referenced by DynamicBackendUtils::GetBackendPaths().
|
static |
Definition at line 62 of file DynamicBackendUtils.hpp.
References armnn::IgnoreUnused().
|
static |
Definition at line 178 of file DynamicBackendUtils.cpp.
References ARMNN_LOG, armnn::IgnoreUnused(), DynamicBackendUtils::IsPathValid(), and armnn::warning.
|
static |
Definition at line 52 of file DynamicBackendUtils.cpp.
References IBackendInternal::GetApiVersion(), and DynamicBackendUtils::IsBackendCompatibleImpl().
Referenced by DynamicBackend::DynamicBackend().
|
staticprotected |
Protected methods for testing purposes.
Definition at line 59 of file DynamicBackendUtils.cpp.
References BackendVersion::m_Major, and BackendVersion::m_Minor.
Referenced by DynamicBackendUtils::IsBackendCompatible().
|
static |
Definition at line 145 of file DynamicBackendUtils.cpp.
References ARMNN_LOG, and armnn::warning.
Referenced by DynamicBackendUtils::GetBackendPaths(), DynamicBackendUtils::GetBackendPathsImpl(), and DynamicBackendUtils::GetSharedObjects().
|
static |
Definition at line 16 of file DynamicBackendUtils.cpp.
References armnn::IgnoreUnused().
Referenced by DynamicBackendUtils::CreateDynamicBackends().
|
static |
Definition at line 332 of file DynamicBackendUtils.cpp.
References armnn::BackendRegistryInstance(), and DynamicBackendUtils::RegisterDynamicBackendsImpl().
|
staticprotected |
Definition at line 341 of file DynamicBackendUtils.cpp.
References ARMNN_LOG, BackendRegistry::IsBackendRegistered(), BackendId::IsEmpty(), BackendId::IsUndefined(), BackendRegistry::Register(), armnn::warning, and Exception::what().
Referenced by DynamicBackendUtils::RegisterDynamicBackends().