20.02
|
#include <armnn/BackendRegistry.hpp>
#include <armnn/ILayerSupport.hpp>
#include <armnn/backends/DynamicBackend.hpp>
#include <backendsCommon/DynamicBackendUtils.hpp>
#include <backendsCommon/CpuTensorHandle.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 299 of file DynamicBackendTests.hpp.
References TestDynamicBackendUtils::IsBackendCompatibleTest().
void CloseInvalidHandleTestImpl | ( | ) |
Definition at line 177 of file DynamicBackendTests.hpp.
void CreateDynamicBackendObjectInvalidHandleTestImpl | ( | ) |
Definition at line 384 of file DynamicBackendTests.hpp.
void CreateDynamicBackendObjectInvalidInterface1TestImpl | ( | ) |
Definition at line 396 of file DynamicBackendTests.hpp.
References GetTestSubDirectory().
void CreateDynamicBackendObjectInvalidInterface2TestImpl | ( | ) |
Definition at line 415 of file DynamicBackendTests.hpp.
References GetTestSubDirectory().
void CreateDynamicBackendObjectInvalidInterface3TestImpl | ( | ) |
Definition at line 435 of file DynamicBackendTests.hpp.
References GetTestSubDirectory().
void CreateDynamicBackendObjectInvalidInterface4TestImpl | ( | ) |
Definition at line 455 of file DynamicBackendTests.hpp.
References GetTestSubDirectory().
void CreateDynamicBackendObjectInvalidInterface5TestImpl | ( | ) |
Definition at line 475 of file DynamicBackendTests.hpp.
References GetTestSubDirectory().
void CreateDynamicBackendObjectInvalidInterface6TestImpl | ( | ) |
Definition at line 496 of file DynamicBackendTests.hpp.
References GetTestSubDirectory().
void CreateDynamicBackendObjectInvalidInterface7TestImpl | ( | ) |
Definition at line 537 of file DynamicBackendTests.hpp.
References GetTestSubDirectory().
void CreateDynamicBackendsAllInvalidTestImpl | ( | ) |
Definition at line 822 of file DynamicBackendTests.hpp.
void CreateDynamicBackendsMixedTypesTestImpl | ( | ) |
Definition at line 837 of file DynamicBackendTests.hpp.
References GetTestSubDirectory().
void CreateDynamicBackendsNoPathsTestImpl | ( | ) |
Definition at line 813 of file DynamicBackendTests.hpp.
void CreateDynamicBackendsTestImpl | ( | ) |
Definition at line 750 of file DynamicBackendTests.hpp.
References GetTestSubDirectory().
void CreateValidDynamicBackendObjectTestImpl | ( | ) |
Definition at line 340 of file DynamicBackendTests.hpp.
References GetTestSubDirectory().
void GetBackendPathsOverrideTestImpl | ( | ) |
Definition at line 638 of file DynamicBackendTests.hpp.
References GetTestSubDirectory().
void GetBackendPathsTestImpl | ( | ) |
Definition at line 558 of file DynamicBackendTests.hpp.
References GetTestSubDirectory().
std::string GetBasePath | ( | const std::string & | basePath | ) |
Definition at line 108 of file DynamicBackendTests.hpp.
References BOOST_CHECK().
Referenced by GetDynamicBackendsBasePath(), and GetTestDirectoryBasePath().
std::string GetDynamicBackendsBasePath | ( | ) |
Definition at line 124 of file DynamicBackendTests.hpp.
References GetBasePath().
Referenced by RuntimeInvalidOverridePathTestImpl().
void GetNameMangledEntryPointTestImpl | ( | ) |
Definition at line 236 of file DynamicBackendTests.hpp.
References GetTestSubDirectory().
void GetNoExternEntryPointTestImpl | ( | ) |
Definition at line 257 of file DynamicBackendTests.hpp.
References GetTestSubDirectory().
void GetNotExistingEntryPointTestImpl | ( | ) |
Definition at line 278 of file DynamicBackendTests.hpp.
References GetTestSubDirectory().
void GetSharedObjectsTestImpl | ( | ) |
Definition at line 659 of file DynamicBackendTests.hpp.
References GetTestSubDirectory().
std::string GetTestDirectoryBasePath | ( | ) |
Definition at line 119 of file DynamicBackendTests.hpp.
References GetBasePath().
Referenced by GetTestSubDirectory().
std::string GetTestFilePath | ( | const std::string & | directory, |
const std::string & | fileName | ||
) |
Definition at line 152 of file DynamicBackendTests.hpp.
References BOOST_CHECK().
std::string GetTestSubDirectory | ( | const std::string & | subdir | ) |
Definition at line 129 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 141 of file DynamicBackendTests.hpp.
void GetValidEntryPointTestImpl | ( | ) |
Definition at line 215 of file DynamicBackendTests.hpp.
References GetTestSubDirectory().
void OpenCloseHandleTestImpl | ( | ) |
Definition at line 163 of file DynamicBackendTests.hpp.
References GetTestSubDirectory().
void OpenEmptyFileNameTestImpl | ( | ) |
Definition at line 185 of file DynamicBackendTests.hpp.
void OpenNotExistingFileTestImpl | ( | ) |
Definition at line 194 of file DynamicBackendTests.hpp.
void OpenNotSharedObjectTestImpl | ( | ) |
Definition at line 203 of file DynamicBackendTests.hpp.
References GetTestSubDirectory().
void RegisterMixedDynamicBackendsTestImpl | ( | ) |
Definition at line 1054 of file DynamicBackendTests.hpp.
References GetTestSubDirectory().
void RegisterMultipleDynamicBackendsTestImpl | ( | ) |
Definition at line 918 of file DynamicBackendTests.hpp.
References GetTestSubDirectory().
void RegisterMultipleInvalidDynamicBackendsTestImpl | ( | ) |
Definition at line 994 of file DynamicBackendTests.hpp.
References GetTestSubDirectory().
void RegisterSingleDynamicBackendTestImpl | ( | ) |
Definition at line 871 of file DynamicBackendTests.hpp.
References GetTestSubDirectory(), and BackendRegistry::Size().
void RuntimeDuplicateDynamicBackendsTestImpl | ( | ) |
Definition at line 1265 of file DynamicBackendTests.hpp.
References GetTestSubDirectory().
void RuntimeDynamicBackendsTestImpl | ( | ) |
Definition at line 1224 of file DynamicBackendTests.hpp.
References GetTestSubDirectory().
void RuntimeEmptyTestImpl | ( | ) |
Definition at line 1202 of file DynamicBackendTests.hpp.
References armnn::BackendRegistryInstance(), DeviceSpec::GetSupportedBackends(), and BackendRegistry::Size().
void RuntimeInvalidDynamicBackendsTestImpl | ( | ) |
Definition at line 1306 of file DynamicBackendTests.hpp.
References GetTestSubDirectory().
void RuntimeInvalidOverridePathTestImpl | ( | ) |
Definition at line 1331 of file DynamicBackendTests.hpp.
References armnn::BackendRegistryInstance(), GetDynamicBackendsBasePath(), DeviceSpec::GetSupportedBackends(), GetTestSubDirectory(), IRuntime::CreationOptions::m_DynamicBackendsPath, and BackendRegistry::Size().