20.02
|
#include <armnn/Descriptors.hpp>
#include <armnn/IRuntime.hpp>
#include <armnn/INetwork.hpp>
#include <Runtime.hpp>
#include <armnn/TypesUtils.hpp>
#include <LabelsAndEventClasses.hpp>
#include <test/ProfilingTestUtils.hpp>
#include <HeapProfiling.hpp>
#include <LeakChecking.hpp>
#include <boost/test/unit_test.hpp>
#include "RuntimeTests.hpp"
Go to the source code of this file.
Namespaces | |
armnn | |
Copyright (c) 2020 ARM Limited. | |
Functions | |
void | RuntimeLoadedNetworksReserve (armnn::Runtime *runtime) |
BOOST_AUTO_TEST_CASE (RuntimeUnloadNetwork) | |
BOOST_AUTO_TEST_CASE (RuntimeCpuRef) | |
BOOST_AUTO_TEST_CASE (RuntimeFallbackToCpuRef) | |
BOOST_AUTO_TEST_CASE (IVGCVSW_1929_QuantizedSoftmaxIssue) | |
BOOST_AUTO_TEST_CASE (RuntimeBackendOptions) | |
BOOST_AUTO_TEST_CASE (ProfilingDisable) | |
BOOST_AUTO_TEST_CASE (ProfilingEnableCpuRef) | |
BOOST_AUTO_TEST_CASE (ProfilingPostOptimisationStructureCpuRef) | |
BOOST_AUTO_TEST_CASE | ( | RuntimeUnloadNetwork | ) |
Definition at line 37 of file RuntimeTests.cpp.
References ARMNN_BYTES_LEAKED_IN_SCOPE, ARMNN_LEAK_CHECKER_IS_ACTIVE, ARMNN_LOCAL_LEAK_CHECKING_ONLY, ARMNN_NO_LEAKS_IN_SCOPE, ARMNN_OBJECTS_LEAKED_IN_SCOPE, ARMNN_SCOPED_LEAK_CHECKER, armnn::BOOST_AUTO_TEST_CASE(), BOOST_GLOBAL_FIXTURE(), armnn::CpuRef, INetwork::Create(), IRuntime::Create(), armnn::Failure, Runtime::GetDeviceSpec(), armnn::IgnoreUnused(), Runtime::LoadNetwork(), armnn::Optimize(), options, armnn::RuntimeLoadedNetworksReserve(), armnn::Success, and Runtime::UnloadNetwork().
BOOST_AUTO_TEST_CASE | ( | RuntimeCpuRef | ) |
Definition at line 166 of file RuntimeTests.cpp.
References IOutputSlot::Connect(), armnn::CpuRef, INetwork::Create(), IRuntime::Create(), armnn::Float32, IConnectableLayer::GetInputSlot(), IConnectableLayer::GetOutputSlot(), armnn::Optimize(), options, IOutputSlot::SetTensorInfo(), and armnn::Success.
BOOST_AUTO_TEST_CASE | ( | RuntimeFallbackToCpuRef | ) |
Definition at line 200 of file RuntimeTests.cpp.
References IOutputSlot::Connect(), armnn::CpuAcc, armnn::CpuRef, INetwork::Create(), IRuntime::Create(), armnn::Float32, IConnectableLayer::GetInputSlot(), IConnectableLayer::GetOutputSlot(), armnn::Optimize(), options, IOutputSlot::SetTensorInfo(), and armnn::Success.
BOOST_AUTO_TEST_CASE | ( | IVGCVSW_1929_QuantizedSoftmaxIssue | ) |
Definition at line 235 of file RuntimeTests.cpp.
References IOutputSlot::Connect(), armnn::CpuRef, INetwork::Create(), IRuntime::Create(), IConnectableLayer::GetInputSlot(), IConnectableLayer::GetOutputSlot(), armnn::Optimize(), options, armnn::QAsymmU8, and IOutputSlot::SetTensorInfo().
BOOST_AUTO_TEST_CASE | ( | RuntimeBackendOptions | ) |
Definition at line 276 of file RuntimeTests.cpp.
References BackendOptions::AddOption(), GetBackendId(), and IRuntime::CreationOptions::m_BackendOptions.
BOOST_AUTO_TEST_CASE | ( | ProfilingDisable | ) |
Definition at line 324 of file RuntimeTests.cpp.
References IOutputSlot::Connect(), armnn::CpuRef, INetwork::Create(), IRuntime::Create(), armnn::Float32, IConnectableLayer::GetInputSlot(), IConnectableLayer::GetOutputSlot(), BufferManager::GetReadableBuffer(), armnn::Optimize(), options, IOutputSlot::SetTensorInfo(), and armnn::Success.
BOOST_AUTO_TEST_CASE | ( | ProfilingEnableCpuRef | ) |
Definition at line 365 of file RuntimeTests.cpp.
References LabelsAndEventClasses::ARMNN_PROFILING_EOL_EVENT_CLASS, LabelsAndEventClasses::ARMNN_PROFILING_SOL_EVENT_CLASS, LabelsAndEventClasses::BACKENDID_GUID, BOOST_CHECK(), IOutputSlot::Connect(), LabelsAndEventClasses::CONNECTION_GUID, armnn::CpuRef, INetwork::Create(), IRuntime::Create(), armnn::profiling::DataLink, armnn::profiling::ExecutionLink, armnn::Float32, IConnectableLayer::GetGuid(), IConnectableLayer::GetInputSlot(), IConnectableLayer::GetOutputSlot(), BufferManager::GetReadableBuffer(), LabelsAndEventClasses::INFERENCE_GUID, armnn::profiling::LabelLink, IRuntime::CreationOptions::ExternalProfilingOptions::m_EnableProfiling, IRuntime::CreationOptions::m_ProfilingOptions, BufferManager::MarkRead(), LabelsAndEventClasses::NAME_GUID, LabelsAndEventClasses::NETWORK_GUID, armnn::Optimize(), options, armnn::profiling::RetentionLink, IOutputSlot::SetTensorInfo(), armnn::Success, LabelsAndEventClasses::TYPE_GUID, VerifyTimelineEntityBinaryPacketData(), VerifyTimelineEventBinaryPacket(), VerifyTimelineHeaderBinary(), VerifyTimelineLabelBinaryPacketData(), VerifyTimelineRelationshipBinaryPacketData(), and LabelsAndEventClasses::WORKLOAD_EXECUTION_GUID.
BOOST_AUTO_TEST_CASE | ( | ProfilingPostOptimisationStructureCpuRef | ) |
Definition at line 1140 of file RuntimeTests.cpp.
References BOOST_AUTO_TEST_SUITE_END(), armnn::CpuRef, and VerifyPostOptimisationStructureTestImpl().