21.05
|
#include <backendsCommon/test/CommonTestUtils.hpp>
#include <backendsCommon/test/mockBackend/MockImportBackend.hpp>
#include <test/GraphUtils.hpp>
#include <boost/test/unit_test.hpp>
Go to the source code of this file.
Functions | |
BOOST_AUTO_TEST_CASE (FallbackImportToCpuAcc) | |
BOOST_AUTO_TEST_CASE (FallbackPaddingCopyToCpuAcc) | |
BOOST_AUTO_TEST_CASE (FallbackImportFromCpuAcc) | |
BOOST_AUTO_TEST_CASE (FallbackPaddingCopyFromCpuAcc) | |
BOOST_AUTO_TEST_CASE (FallbackDisableImportFromCpuAcc) | |
BOOST_AUTO_TEST_CASE (NeonImportEnabledFallbackToCl) | |
BOOST_AUTO_TEST_CASE (NeonImportDisabledFallbackToCl) | |
BOOST_AUTO_TEST_CASE (NeonImportEnabledFallbackSubgraphToCl) | |
BOOST_AUTO_TEST_CASE (NeonImportDisableFallbackSubgraphToCl) | |
BOOST_AUTO_TEST_CASE | ( | FallbackImportToCpuAcc | ) |
Definition at line 15 of file NeonFallbackTests.cpp.
References armnn::BackendRegistryInstance(), CheckOrder(), IOutputSlot::Connect(), armnn::CpuAcc, IRuntime::Create(), INetwork::Create(), CreateBackendObject(), armnn::Float32, BackendRegistry::GetBackendIds(), GetFirstLayerWithName(), armnn::GetGraphForTesting(), IConnectableLayer::GetInputSlot(), ProfilerManager::GetInstance(), IConnectableLayer::GetOutputSlot(), ProfilerManager::GetProfiler(), Layer::GetType(), armnn::info, OptimizerOptions::m_ImportEnabled, armnn::Malloc, armnn::MemImport, armnn::MockImportBackendId(), armnn::Optimize(), IProfiler::Print(), and IOutputSlot::SetTensorInfo().
BOOST_AUTO_TEST_CASE | ( | FallbackPaddingCopyToCpuAcc | ) |
Definition at line 151 of file NeonFallbackTests.cpp.
References armnn::BackendRegistryInstance(), CheckOrder(), IOutputSlot::Connect(), armnn::CpuAcc, IRuntime::Create(), INetwork::Create(), CreateBackendObject(), armnn::Float32, BackendRegistry::GetBackendIds(), GetFirstLayerWithName(), armnn::GetGraphForTesting(), IConnectableLayer::GetInputSlot(), ProfilerManager::GetInstance(), IConnectableLayer::GetOutputSlot(), ProfilerManager::GetProfiler(), Layer::GetType(), armnn::info, OptimizerOptions::m_ImportEnabled, armnn::Malloc, armnn::MemCopy, armnn::MockImportBackendId(), armnn::Optimize(), IProfiler::Print(), and IOutputSlot::SetTensorInfo().
BOOST_AUTO_TEST_CASE | ( | FallbackImportFromCpuAcc | ) |
Definition at line 281 of file NeonFallbackTests.cpp.
References armnn::BackendRegistryInstance(), CheckOrder(), IOutputSlot::Connect(), armnn::CpuAcc, IRuntime::Create(), INetwork::Create(), CreateBackendObject(), armnn::Float32, BackendRegistry::GetBackendIds(), GetFirstLayerWithName(), armnn::GetGraphForTesting(), IConnectableLayer::GetInputSlot(), ProfilerManager::GetInstance(), IConnectableLayer::GetOutputSlot(), ProfilerManager::GetProfiler(), Layer::GetType(), armnn::info, OptimizerOptions::m_ImportEnabled, armnn::Malloc, armnn::MemImport, armnn::MockImportBackendId(), armnn::Optimize(), IProfiler::Print(), and IOutputSlot::SetTensorInfo().
BOOST_AUTO_TEST_CASE | ( | FallbackPaddingCopyFromCpuAcc | ) |
Definition at line 418 of file NeonFallbackTests.cpp.
References armnn::BackendRegistryInstance(), CheckOrder(), IOutputSlot::Connect(), armnn::CpuAcc, IRuntime::Create(), INetwork::Create(), CreateBackendObject(), armnn::Float32, BackendRegistry::GetBackendIds(), GetFirstLayerWithName(), armnn::GetGraphForTesting(), IConnectableLayer::GetInputSlot(), ProfilerManager::GetInstance(), IConnectableLayer::GetOutputSlot(), ProfilerManager::GetProfiler(), Layer::GetType(), OptimizerOptions::m_ImportEnabled, armnn::Malloc, armnn::MemCopy, armnn::MockImportBackendId(), armnn::Optimize(), IProfiler::Print(), and IOutputSlot::SetTensorInfo().
BOOST_AUTO_TEST_CASE | ( | FallbackDisableImportFromCpuAcc | ) |
Definition at line 548 of file NeonFallbackTests.cpp.
References armnn::BackendRegistryInstance(), CheckOrder(), IOutputSlot::Connect(), armnn::CpuAcc, IRuntime::Create(), INetwork::Create(), CreateBackendObject(), armnn::Float32, BackendRegistry::GetBackendIds(), GetFirstLayerWithName(), armnn::GetGraphForTesting(), IConnectableLayer::GetInputSlot(), ProfilerManager::GetInstance(), IConnectableLayer::GetOutputSlot(), ProfilerManager::GetProfiler(), Layer::GetType(), armnn::info, armnn::MemCopy, armnn::MockImportBackendId(), armnn::Optimize(), IProfiler::Print(), IOutputSlot::SetTensorInfo(), and armnn::Undefined.
BOOST_AUTO_TEST_CASE | ( | NeonImportEnabledFallbackToCl | ) |
Definition at line 680 of file NeonFallbackTests.cpp.
References IConnectableLayer::BackendSelectionHint(), CheckOrder(), IOutputSlot::Connect(), armnn::CpuAcc, IRuntime::Create(), INetwork::Create(), armnn::Float32, Layer::GetBackendId(), GetFirstLayerWithName(), armnn::GetGraphForTesting(), IConnectableLayer::GetInputSlot(), ProfilerManager::GetInstance(), TensorInfo::GetNumElements(), IConnectableLayer::GetOutputSlot(), ProfilerManager::GetProfiler(), Layer::GetType(), armnn::GpuAcc, armnn::info, OptimizerOptions::m_ImportEnabled, armnn::Malloc, armnn::MemCopy, armnn::Optimize(), IProfiler::Print(), and IOutputSlot::SetTensorInfo().
BOOST_AUTO_TEST_CASE | ( | NeonImportDisabledFallbackToCl | ) |
Definition at line 825 of file NeonFallbackTests.cpp.
References IConnectableLayer::BackendSelectionHint(), CheckOrder(), IOutputSlot::Connect(), armnn::CpuAcc, IRuntime::Create(), INetwork::Create(), armnn::Float32, Layer::GetBackendId(), GetFirstLayerWithName(), armnn::GetGraphForTesting(), IConnectableLayer::GetInputSlot(), ProfilerManager::GetInstance(), IConnectableLayer::GetOutputSlot(), ProfilerManager::GetProfiler(), Layer::GetType(), armnn::GpuAcc, armnn::info, armnn::MemCopy, armnn::Optimize(), IProfiler::Print(), and IOutputSlot::SetTensorInfo().
BOOST_AUTO_TEST_CASE | ( | NeonImportEnabledFallbackSubgraphToCl | ) |
Definition at line 947 of file NeonFallbackTests.cpp.
References IConnectableLayer::BackendSelectionHint(), CheckOrder(), IOutputSlot::Connect(), armnn::CpuAcc, IRuntime::Create(), INetwork::Create(), armnn::Float32, Layer::GetBackendId(), GetFirstLayerWithName(), armnn::GetGraphForTesting(), IConnectableLayer::GetInputSlot(), ProfilerManager::GetInstance(), TensorInfo::GetNumElements(), IConnectableLayer::GetOutputSlot(), ProfilerManager::GetProfiler(), Layer::GetType(), armnn::GpuAcc, armnn::info, OptimizerOptions::m_ImportEnabled, Pooling2dDescriptor::m_PoolHeight, Pooling2dDescriptor::m_PoolWidth, Pooling2dDescriptor::m_StrideX, Pooling2dDescriptor::m_StrideY, armnn::Malloc, armnn::MemCopy, armnn::Optimize(), IProfiler::Print(), and IOutputSlot::SetTensorInfo().
BOOST_AUTO_TEST_CASE | ( | NeonImportDisableFallbackSubgraphToCl | ) |
Definition at line 1107 of file NeonFallbackTests.cpp.
References IConnectableLayer::BackendSelectionHint(), BOOST_AUTO_TEST_SUITE_END(), CheckOrder(), IOutputSlot::Connect(), armnn::CpuAcc, IRuntime::Create(), INetwork::Create(), armnn::Float32, Layer::GetBackendId(), GetFirstLayerWithName(), armnn::GetGraphForTesting(), IConnectableLayer::GetInputSlot(), ProfilerManager::GetInstance(), IConnectableLayer::GetOutputSlot(), ProfilerManager::GetProfiler(), Layer::GetType(), armnn::GpuAcc, armnn::info, armnn::MemCopy, armnn::Optimize(), IProfiler::Print(), and IOutputSlot::SetTensorInfo().