20.05
|
#include <armnn/BackendRegistry.hpp>
#include <armnn/backends/DynamicBackend.hpp>
#include <armnn/ILayerSupport.hpp>
#include <armnn/utility/PolymorphicDowncast.hpp>
#include <backendsCommon/CpuTensorHandle.hpp>
#include <backendsCommon/DynamicBackendUtils.hpp>
#include <reference/workloads/RefConvolution2dWorkload.hpp>
#include <Runtime.hpp>
#include <string>
#include <memory>
#include <boost/test/unit_test.hpp>
#include <boost/filesystem.hpp>
#include <boost/dll.hpp>
Go to the source code of this file.
Classes | |
class | TestDynamicBackendUtils |
class | TestBackendRegistry |
void BackendVersioningTestImpl | ( | ) |
Definition at line 296 of file DynamicBackendTests.hpp.
References TestDynamicBackendUtils::IsBackendCompatibleTest().
void CloseInvalidHandleTestImpl | ( | ) |
Definition at line 174 of file DynamicBackendTests.hpp.
void CreateDynamicBackendObjectInvalidHandleTestImpl | ( | ) |
Definition at line 381 of file DynamicBackendTests.hpp.
void CreateDynamicBackendObjectInvalidInterface1TestImpl | ( | ) |
Definition at line 393 of file DynamicBackendTests.hpp.
References GetTestSubDirectory().
void CreateDynamicBackendObjectInvalidInterface2TestImpl | ( | ) |
Definition at line 412 of file DynamicBackendTests.hpp.
References GetTestSubDirectory().
void CreateDynamicBackendObjectInvalidInterface3TestImpl | ( | ) |
Definition at line 432 of file DynamicBackendTests.hpp.
References GetTestSubDirectory().
void CreateDynamicBackendObjectInvalidInterface4TestImpl | ( | ) |
Definition at line 452 of file DynamicBackendTests.hpp.
References GetTestSubDirectory().
void CreateDynamicBackendObjectInvalidInterface5TestImpl | ( | ) |
Definition at line 472 of file DynamicBackendTests.hpp.
References GetTestSubDirectory().
void CreateDynamicBackendObjectInvalidInterface6TestImpl | ( | ) |
Definition at line 493 of file DynamicBackendTests.hpp.
References GetTestSubDirectory().
void CreateDynamicBackendObjectInvalidInterface7TestImpl | ( | ) |
Definition at line 534 of file DynamicBackendTests.hpp.
References GetTestSubDirectory().
void CreateDynamicBackendsAllInvalidTestImpl | ( | ) |
Definition at line 819 of file DynamicBackendTests.hpp.
void CreateDynamicBackendsMixedTypesTestImpl | ( | ) |
Definition at line 834 of file DynamicBackendTests.hpp.
References GetTestSubDirectory().
void CreateDynamicBackendsNoPathsTestImpl | ( | ) |
Definition at line 810 of file DynamicBackendTests.hpp.
void CreateDynamicBackendsTestImpl | ( | ) |
Definition at line 747 of file DynamicBackendTests.hpp.
References GetTestSubDirectory().
void CreateValidDynamicBackendObjectTestImpl | ( | ) |
Definition at line 337 of file DynamicBackendTests.hpp.
References GetTestSubDirectory().
void GetBackendPathsOverrideTestImpl | ( | ) |
Definition at line 635 of file DynamicBackendTests.hpp.
References GetTestSubDirectory().
void GetBackendPathsTestImpl | ( | ) |
Definition at line 555 of file DynamicBackendTests.hpp.
References GetTestSubDirectory().
std::string GetBasePath | ( | const std::string & | basePath | ) |
Definition at line 105 of file DynamicBackendTests.hpp.
References BOOST_CHECK().
Referenced by GetDynamicBackendsBasePath(), and GetTestDirectoryBasePath().
std::string GetDynamicBackendsBasePath | ( | ) |
Definition at line 121 of file DynamicBackendTests.hpp.
References GetBasePath().
Referenced by RuntimeInvalidOverridePathTestImpl().
void GetNameMangledEntryPointTestImpl | ( | ) |
Definition at line 233 of file DynamicBackendTests.hpp.
References GetTestSubDirectory().
void GetNoExternEntryPointTestImpl | ( | ) |
Definition at line 254 of file DynamicBackendTests.hpp.
References GetTestSubDirectory().
void GetNotExistingEntryPointTestImpl | ( | ) |
Definition at line 275 of file DynamicBackendTests.hpp.
References GetTestSubDirectory().
void GetSharedObjectsTestImpl | ( | ) |
Definition at line 656 of file DynamicBackendTests.hpp.
References GetTestSubDirectory().
std::string GetTestDirectoryBasePath | ( | ) |
Definition at line 116 of file DynamicBackendTests.hpp.
References GetBasePath().
Referenced by GetTestSubDirectory().
std::string GetTestFilePath | ( | const std::string & | directory, |
const std::string & | fileName | ||
) |
Definition at line 149 of file DynamicBackendTests.hpp.
References BOOST_CHECK().
std::string GetTestSubDirectory | ( | const std::string & | subdir | ) |
Definition at line 126 of file DynamicBackendTests.hpp.
References GetTestDirectoryBasePath().
Referenced by CreateDynamicBackendObjectInvalidInterface1TestImpl(), CreateDynamicBackendObjectInvalidInterface2TestImpl(), CreateDynamicBackendObjectInvalidInterface3TestImpl(), CreateDynamicBackendObjectInvalidInterface4TestImpl(), CreateDynamicBackendObjectInvalidInterface5TestImpl(), CreateDynamicBackendObjectInvalidInterface6TestImpl(), CreateDynamicBackendObjectInvalidInterface7TestImpl(), CreateDynamicBackendsMixedTypesTestImpl(), CreateDynamicBackendsTestImpl(), CreateValidDynamicBackendObjectTestImpl(), GetBackendPathsOverrideTestImpl(), GetBackendPathsTestImpl(), GetNameMangledEntryPointTestImpl(), GetNoExternEntryPointTestImpl(), GetNotExistingEntryPointTestImpl(), GetSharedObjectsTestImpl(), GetValidEntryPointTestImpl(), OpenCloseHandleTestImpl(), OpenNotSharedObjectTestImpl(), RegisterMixedDynamicBackendsTestImpl(), RegisterMultipleDynamicBackendsTestImpl(), RegisterMultipleInvalidDynamicBackendsTestImpl(), RegisterSingleDynamicBackendTestImpl(), RuntimeDuplicateDynamicBackendsTestImpl(), RuntimeDynamicBackendsTestImpl(), RuntimeInvalidDynamicBackendsTestImpl(), and RuntimeInvalidOverridePathTestImpl().
std::string GetTestSubDirectory | ( | const std::string & | basePath, |
const std::string & | subdir | ||
) |
Definition at line 138 of file DynamicBackendTests.hpp.
void GetValidEntryPointTestImpl | ( | ) |
Definition at line 212 of file DynamicBackendTests.hpp.
References GetTestSubDirectory().
void OpenCloseHandleTestImpl | ( | ) |
Definition at line 160 of file DynamicBackendTests.hpp.
References GetTestSubDirectory().
void OpenEmptyFileNameTestImpl | ( | ) |
Definition at line 182 of file DynamicBackendTests.hpp.
void OpenNotExistingFileTestImpl | ( | ) |
Definition at line 191 of file DynamicBackendTests.hpp.
void OpenNotSharedObjectTestImpl | ( | ) |
Definition at line 200 of file DynamicBackendTests.hpp.
References GetTestSubDirectory().
void RegisterMixedDynamicBackendsTestImpl | ( | ) |
Definition at line 1051 of file DynamicBackendTests.hpp.
References GetTestSubDirectory().
void RegisterMultipleDynamicBackendsTestImpl | ( | ) |
Definition at line 915 of file DynamicBackendTests.hpp.
References GetTestSubDirectory().
void RegisterMultipleInvalidDynamicBackendsTestImpl | ( | ) |
Definition at line 991 of file DynamicBackendTests.hpp.
References GetTestSubDirectory().
void RegisterSingleDynamicBackendTestImpl | ( | ) |
Definition at line 868 of file DynamicBackendTests.hpp.
References GetTestSubDirectory(), and BackendRegistry::Size().
void RuntimeDuplicateDynamicBackendsTestImpl | ( | ) |
Definition at line 1262 of file DynamicBackendTests.hpp.
References GetTestSubDirectory().
void RuntimeDynamicBackendsTestImpl | ( | ) |
Definition at line 1221 of file DynamicBackendTests.hpp.
References GetTestSubDirectory().
void RuntimeEmptyTestImpl | ( | ) |
Definition at line 1199 of file DynamicBackendTests.hpp.
References armnn::BackendRegistryInstance(), DeviceSpec::GetSupportedBackends(), and BackendRegistry::Size().
void RuntimeInvalidDynamicBackendsTestImpl | ( | ) |
Definition at line 1303 of file DynamicBackendTests.hpp.
References GetTestSubDirectory().
void RuntimeInvalidOverridePathTestImpl | ( | ) |
Definition at line 1328 of file DynamicBackendTests.hpp.
References armnn::BackendRegistryInstance(), GetDynamicBackendsBasePath(), DeviceSpec::GetSupportedBackends(), GetTestSubDirectory(), IRuntime::CreationOptions::m_DynamicBackendsPath, and BackendRegistry::Size().