21.05
|
#include <arm_compute/runtime/CL/functions/CLActivationLayer.h>
#include <cl/ClImportTensorHandle.hpp>
#include <cl/ClImportTensorHandleFactory.hpp>
#include <cl/test/ClContextControlFixture.hpp>
#include <boost/test/unit_test.hpp>
#include <armnn/IRuntime.hpp>
#include <armnn/INetwork.hpp>
Go to the source code of this file.
Functions | |
BOOST_FIXTURE_TEST_CASE (ClMallocImport, ClContextControlFixture) | |
BOOST_FIXTURE_TEST_CASE (ClIncorrectMemorySourceImport, ClContextControlFixture) | |
BOOST_FIXTURE_TEST_CASE (ClInvalidMemorySourceImport, ClContextControlFixture) | |
BOOST_FIXTURE_TEST_CASE (ClImportEndToEnd, ClContextControlFixture) | |
BOOST_FIXTURE_TEST_CASE | ( | ClMallocImport | , |
ClContextControlFixture | |||
) |
Definition at line 21 of file ClImportTensorHandleTests.cpp.
References ClImportTensorHandleFactory::CreateTensorHandle(), armnn::Float32, armnn::info, and armnn::Malloc.
BOOST_FIXTURE_TEST_CASE | ( | ClIncorrectMemorySourceImport | , |
ClContextControlFixture | |||
) |
Definition at line 67 of file ClImportTensorHandleTests.cpp.
References ClImportTensorHandleFactory::CreateTensorHandle(), armnn::Float32, armnn::info, armnn::Malloc, and armnn::Undefined.
BOOST_FIXTURE_TEST_CASE | ( | ClInvalidMemorySourceImport | , |
ClContextControlFixture | |||
) |
Definition at line 93 of file ClImportTensorHandleTests.cpp.
References ClImportTensorHandleFactory::CreateTensorHandle(), armnn::Float32, and armnn::info.
BOOST_FIXTURE_TEST_CASE | ( | ClImportEndToEnd | , |
ClContextControlFixture | |||
) |
Definition at line 114 of file ClImportTensorHandleTests.cpp.
References BOOST_AUTO_TEST_SUITE_END(), IOutputSlot::Connect(), IRuntime::Create(), INetwork::Create(), armnn::Float32, IConnectableLayer::GetInputSlot(), ProfilerManager::GetInstance(), TensorInfo::GetNumElements(), IConnectableLayer::GetOutputSlot(), ProfilerManager::GetProfiler(), armnn::GpuAcc, ActivationDescriptor::m_Function, OptimizerOptions::m_ImportEnabled, armnn::Malloc, armnn::Optimize(), IProfiler::Print(), armnn::ReLu, and IOutputSlot::SetTensorInfo().