21.05
|
#include "ClWorkloadFactoryHelper.hpp"
#include <Network.hpp>
#include <test/GraphUtils.hpp>
#include <cl/ClWorkloadFactory.hpp>
#include <cl/ClBackendContext.hpp>
#include <Filesystem.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_CASE (CheckMLGOTuningFile) | |
BOOST_AUTO_TEST_SUITE_END () | |
BOOST_AUTO_TEST_CASE | ( | OptimizeValidateGpuDeviceSupportLayerNoFallback | ) |
Definition at line 22 of file ClOptimizedNetworkTests.cpp.
References IOutputSlot::Connect(), IRuntime::Create(), INetwork::Create(), armnn::Float32, armnn::GetGraphForTesting(), IConnectableLayer::GetInputSlot(), IConnectableLayer::GetOutputSlot(), armnn::GpuAcc, armnn::Optimize(), and IOutputSlot::SetTensorInfo().
BOOST_AUTO_TEST_CASE | ( | FP16TurboModeTestOnGpuAcc | ) |
Definition at line 52 of file ClOptimizedNetworkTests.cpp.
References armnn::BoundedReLu, IRuntime::Create(), INetwork::Create(), armnn::Float32, armnn::GetGraphForTesting(), 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 109 of file ClOptimizedNetworkTests.cpp.
References IOutputSlot::Connect(), IRuntime::Create(), INetwork::Create(), armnn::Float32, IConnectableLayer::GetInputSlot(), armnn::GetModelOptionsForTesting(), IConnectableLayer::GetOutputSlot(), armnn::GpuAcc, OptimizerOptions::m_ModelOptions, armnn::Optimize(), and IOutputSlot::SetTensorInfo().
BOOST_AUTO_TEST_CASE | ( | CheckMLGOTuningFile | ) |
Definition at line 139 of file ClOptimizedNetworkTests.cpp.
References BOOST_AUTO_TEST_SUITE_END(), ClBackendContext::ClBackendContext(), IRuntime::CreationOptions::m_BackendOptions, and armnnUtils::Filesystem::NamedTempFile().
BOOST_AUTO_TEST_SUITE_END | ( | ) |
Referenced by BOOST_AUTO_TEST_CASE().