20.11
|
#include "ClWorkloadFactoryHelper.hpp"
#include <Network.hpp>
#include <test/GraphUtils.hpp>
#include <cl/ClWorkloadFactory.hpp>
#include <boost/test/unit_test.hpp>
Go to the source code of this file.
Functions | |
BOOST_AUTO_TEST_CASE (OptimizeValidateGpuDeviceSupportLayerNoFallback) | |
BOOST_AUTO_TEST_CASE (FP16TurboModeTestOnGpuAcc) | |
BOOST_AUTO_TEST_CASE (FastMathEnabledTestOnGpuAcc) | |
BOOST_AUTO_TEST_SUITE_END () | |
BOOST_AUTO_TEST_CASE | ( | OptimizeValidateGpuDeviceSupportLayerNoFallback | ) |
Definition at line 18 of file ClOptimizedNetworkTests.cpp.
References IOutputSlot::Connect(), INetwork::Create(), IRuntime::Create(), armnn::Float32, IConnectableLayer::GetInputSlot(), IConnectableLayer::GetOutputSlot(), armnn::GpuAcc, armnn::Optimize(), and IOutputSlot::SetTensorInfo().
BOOST_AUTO_TEST_CASE | ( | FP16TurboModeTestOnGpuAcc | ) |
Definition at line 46 of file ClOptimizedNetworkTests.cpp.
References Network::AddActivationLayer(), Network::AddInputLayer(), Network::AddOutputLayer(), armnn::BoundedReLu, IOutputSlot::Connect(), IRuntime::Create(), armnn::Float32, IConnectableLayer::GetOutputSlot(), armnn::GpuAcc, GraphHasNamedLayer(), ActivationDescriptor::m_A, ActivationDescriptor::m_B, ActivationDescriptor::m_Function, OptimizerOptions::m_ReduceFp32ToFp16, and armnn::Optimize().
BOOST_AUTO_TEST_CASE | ( | FastMathEnabledTestOnGpuAcc | ) |
Definition at line 103 of file ClOptimizedNetworkTests.cpp.
References BOOST_AUTO_TEST_SUITE_END(), IOutputSlot::Connect(), INetwork::Create(), IRuntime::Create(), armnn::Float32, IConnectableLayer::GetInputSlot(), IConnectableLayer::GetOutputSlot(), armnn::GpuAcc, OptimizerOptions::m_ModelOptions, armnn::Optimize(), and IOutputSlot::SetTensorInfo().
BOOST_AUTO_TEST_SUITE_END | ( | ) |
Referenced by BOOST_AUTO_TEST_CASE().