21.11
|
#include <Half.hpp>
#include <aclCommon/ArmComputeTensorUtils.hpp>
#include <cl/OpenClTimer.hpp>
#include <backendsCommon/TensorHandle.hpp>
#include <armnn/Utils.hpp>
#include <arm_compute/runtime/CL/CLTensor.h>
#include <arm_compute/runtime/IFunction.h>
#include <sstream>
Go to the source code of this file.
Namespaces | |
armnn | |
Copyright (c) 2021 ARM Limited and Contributors. | |
Macros | |
#define | ARMNN_SCOPED_PROFILING_EVENT_CL(name) |
#define | ARMNN_SCOPED_PROFILING_EVENT_CL_GUID(name, guid) |
Functions | |
std::string | GetConvolutionMethodString (arm_compute::ConvolutionMethod &convolutionMethod) |
template<typename T > | |
void | CopyArmComputeClTensorData (arm_compute::CLTensor &dstTensor, const T *srcData) |
auto | SetClStridedSliceData (const std::vector< int > &m_begin, const std::vector< int > &m_end, const std::vector< int > &m_stride) |
auto | SetClSliceData (const std::vector< unsigned int > &m_begin, const std::vector< unsigned int > &m_size) |
void | InitializeArmComputeClTensorData (arm_compute::CLTensor &clTensor, const ConstTensorHandle *handle) |
RuntimeException | WrapClError (const cl::Error &clError, const CheckLocation &location) |
void | RunClFunction (arm_compute::IFunction &function, const CheckLocation &location) |
template<typename DataType , typename PayloadType > | |
DataType * | GetOutputTensorData (unsigned int idx, const PayloadType &data) |
#define ARMNN_SCOPED_PROFILING_EVENT_CL | ( | name | ) |
Definition at line 20 of file ClWorkloadUtils.hpp.
Referenced by armnn::CopyArmComputeClTensorData().
#define ARMNN_SCOPED_PROFILING_EVENT_CL_GUID | ( | name, | |
guid | |||
) |
Definition at line 27 of file ClWorkloadUtils.hpp.
Referenced by ClFillWorkload::Execute(), ClPadWorkload::Execute(), ClAdditionWorkload::Execute(), ClConvertFp16ToFp32Workload::Execute(), ClConvertFp32ToFp16Workload::Execute(), ClSubtractionWorkload::Execute(), ClLstmFloatWorkload::Execute(), ClDequantizeWorkload::Execute(), ClNegWorkload::Execute(), ClActivationWorkload::Execute(), ClConstantWorkload::Execute(), ClExpWorkload::Execute(), ClPreluWorkload::Execute(), ClQuantizeWorkload::Execute(), ClReduceWorkload::Execute(), ClRsqrtWorkload::Execute(), ClSinWorkload::Execute(), ClAbsWorkload::Execute(), ClCastWorkload::Execute(), ClLogicalNotWorkload::Execute(), ClLogWorkload::Execute(), ClMaximumWorkload::Execute(), ClMinimumWorkload::Execute(), ClNormalizationFloatWorkload::Execute(), ClQLstmWorkload::Execute(), ClGatherWorkload::Execute(), ClFloorFloatWorkload::Execute(), ClReshapeWorkload::Execute(), ClBatchToSpaceNdWorkload::Execute(), ClResizeWorkload::Execute(), ClInstanceNormalizationWorkload::Execute(), ClSpaceToDepthWorkload::Execute(), ClStackWorkload::Execute(), ClLogicalOrWorkload::Execute(), ClChannelShuffleWorkload::Execute(), ClLogicalAndWorkload::Execute(), ClArgMinMaxWorkload::Execute(), ClComparisonWorkload::Execute(), ClMeanWorkload::Execute(), ClSliceWorkload::Execute(), ClL2NormalizationFloatWorkload::Execute(), ClDepthToSpaceWorkload::Execute(), ClDivisionWorkload::Execute(), ClPooling2dWorkload::Execute(), ClSpaceToBatchNdWorkload::Execute(), ClMultiplicationWorkload::Execute(), ClConcatWorkload::Execute(), ClQuantizedLstmWorkload::Execute(), ClStridedSliceWorkload::Execute(), ClSplitterWorkload::Execute(), ClLogSoftmaxWorkload::Execute(), ClSoftmaxWorkload::Execute(), ClDepthwiseConvolutionWorkload::Execute(), ClBatchNormalizationFloatWorkload::Execute(), ClFullyConnectedWorkload::Execute(), ClConvolution3dWorkload::Execute(), ClTransposeWorkload::Execute(), ClPermuteWorkload::Execute(), ClTransposeConvolution2dWorkload::Execute(), and ClConvolution2dWorkload::Execute().