21.02
|
#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::MemImport, armnn::MockImportBackendId(), armnn::Optimize(), IProfiler::Print(), and IOutputSlot::SetTensorInfo().
BOOST_AUTO_TEST_CASE | ( | FallbackPaddingCopyToCpuAcc | ) |
Definition at line 152 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::MemCopy, armnn::MockImportBackendId(), armnn::Optimize(), IProfiler::Print(), and IOutputSlot::SetTensorInfo().
BOOST_AUTO_TEST_CASE | ( | FallbackImportFromCpuAcc | ) |
Definition at line 282 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::MemImport, armnn::MockImportBackendId(), armnn::Optimize(), IProfiler::Print(), and IOutputSlot::SetTensorInfo().
BOOST_AUTO_TEST_CASE | ( | FallbackPaddingCopyFromCpuAcc | ) |
Definition at line 419 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::MemCopy, armnn::MockImportBackendId(), armnn::Optimize(), IProfiler::Print(), and IOutputSlot::SetTensorInfo().
BOOST_AUTO_TEST_CASE | ( | FallbackDisableImportFromCpuAcc | ) |
Definition at line 549 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(), and IOutputSlot::SetTensorInfo().
BOOST_AUTO_TEST_CASE | ( | NeonImportEnabledFallbackToCl | ) |
Definition at line 681 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, OptimizerOptions::m_ImportEnabled, armnn::MemCopy, armnn::Optimize(), IProfiler::Print(), and IOutputSlot::SetTensorInfo().
BOOST_AUTO_TEST_CASE | ( | NeonImportDisabledFallbackToCl | ) |
Definition at line 807 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 929 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, OptimizerOptions::m_ImportEnabled, armnn::MemCopy, armnn::Optimize(), IProfiler::Print(), and IOutputSlot::SetTensorInfo().
BOOST_AUTO_TEST_CASE | ( | NeonImportDisableFallbackSubgraphToCl | ) |
Definition at line 1071 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().