From 8d2ca734165a068478df7cffa46185680b05cd20 Mon Sep 17 00:00:00 2001 From: Nikhil Raj Date: Fri, 24 Feb 2023 10:28:19 +0000 Subject: Update Doxygen docu for 23.02 Signed-off-by: Nikhil Raj Change-Id: Ie6c19a27d50fefab2796b2b5875374e81f5bf971 --- 23.02/_cl_workload_utils_8hpp.xhtml | 227 ++++++++++++++++++++++++++++++++++++ 1 file changed, 227 insertions(+) create mode 100644 23.02/_cl_workload_utils_8hpp.xhtml (limited to '23.02/_cl_workload_utils_8hpp.xhtml') diff --git a/23.02/_cl_workload_utils_8hpp.xhtml b/23.02/_cl_workload_utils_8hpp.xhtml new file mode 100644 index 0000000000..bf920ae5ca --- /dev/null +++ b/23.02/_cl_workload_utils_8hpp.xhtml @@ -0,0 +1,227 @@ + + + + + + + + + + + + + +ArmNN: src/backends/cl/workloads/ClWorkloadUtils.hpp File Reference + + + + + + + + + + + + + + + + +
+
+ + + + ArmNN + + + +
+
+  23.02 +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+ +
+
ClWorkloadUtils.hpp File Reference
+
+
+
#include <BFloat16.hpp>
+#include <Half.hpp>
+#include <aclCommon/ArmComputeTensorUtils.hpp>
+#include <cl/OpenClTimer.hpp>
+#include <armnn/backends/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)
 
+

Macro Definition Documentation

+ +

◆ ARMNN_SCOPED_PROFILING_EVENT_CL

+ +
+
+ + + + + + + + +
#define ARMNN_SCOPED_PROFILING_EVENT_CL( name)
+
+Value:
name, \
+
GPU Execution: OpenCL: ArmCompute.
+
OpenClTimer instrument that times all OpenCl kernels executed between calls to Start() and Stop()...
Definition: OpenClTimer.hpp:20
+
EmptyOptional is used to initialize the Optional class in case we want to have default value for an O...
Definition: Optional.hpp:32
+
#define ARMNN_SCOPED_PROFILING_EVENT_WITH_INSTRUMENTS(backendId, guid,...)
Definition: Profiling.hpp:217
+
+

Definition at line 21 of file ClWorkloadUtils.hpp.

+ +

Referenced by armnn::CopyArmComputeClTensorData().

+ +
+
+ +

◆ ARMNN_SCOPED_PROFILING_EVENT_CL_GUID

+ +
+
+ + + + + + + + + + + + + + + + + + +
#define ARMNN_SCOPED_PROFILING_EVENT_CL_GUID( name,
 guid 
)
+
+Value:
guid, \
name, \
+
GPU Execution: OpenCL: ArmCompute.
+
OpenClTimer instrument that times all OpenCl kernels executed between calls to Start() and Stop()...
Definition: OpenClTimer.hpp:20
+
#define ARMNN_SCOPED_PROFILING_EVENT_WITH_INSTRUMENTS(backendId, guid,...)
Definition: Profiling.hpp:217
+
+

Definition at line 28 of file ClWorkloadUtils.hpp.

+ +

Referenced by ClFillWorkload::Execute(), ClPadWorkload::Execute(), ClAdditionWorkload::Execute(), ClSubtractionWorkload::Execute(), ClCastWorkload::Execute(), ClLogWorkload::Execute(), ClLstmFloatWorkload::Execute(), ClDequantizeWorkload::Execute(), ClNegWorkload::Execute(), ClActivationWorkload::Execute(), ClExpWorkload::Execute(), ClPreluWorkload::Execute(), ClConstantWorkload::Execute(), ClSinWorkload::Execute(), ClQuantizeWorkload::Execute(), ClReduceWorkload::Execute(), ClConvertFp16ToFp32Workload::Execute(), ClRsqrtWorkload::Execute(), ClAbsWorkload::Execute(), ClSqrtWorkload::Execute(), ClConvertFp32ToFp16Workload::Execute(), ClLogicalNotWorkload::Execute(), ClMaximumWorkload::Execute(), ClMinimumWorkload::Execute(), ClNormalizationFloatWorkload::Execute(), ClFloorFloatWorkload::Execute(), ClQLstmWorkload::Execute(), ClReshapeWorkload::Execute(), ClResizeWorkload::Execute(), ClGatherWorkload::Execute(), ClInstanceNormalizationWorkload::Execute(), ClSpaceToDepthWorkload::Execute(), ClBatchToSpaceNdWorkload::Execute(), ClStackWorkload::Execute(), ClLogicalAndWorkload::Execute(), ClArgMinMaxWorkload::Execute(), ClLogicalOrWorkload::Execute(), ClMeanWorkload::Execute(), ClChannelShuffleWorkload::Execute(), ClComparisonWorkload::Execute(), ClSliceWorkload::Execute(), ClL2NormalizationFloatWorkload::Execute(), ClDepthToSpaceWorkload::Execute(), ClBatchMatMulWorkload::Execute(), ClPooling2dWorkload::Execute(), ClStridedSliceWorkload::Execute(), ClUnidirectionalSequenceLstmFloatWorkload::Execute(), ClSpaceToBatchNdWorkload::Execute(), ClPooling3dWorkload::Execute(), ClConcatWorkload::Execute(), ClGatherNdWorkload::Execute(), ClMultiplicationWorkload::Execute(), ClDivisionWorkload::Execute(), ClSplitterWorkload::Execute(), ClSoftmaxWorkload::Execute(), ClLogSoftmaxWorkload::Execute(), ClQuantizedLstmWorkload::Execute(), ClDepthwiseConvolutionWorkload::Execute(), ClBatchNormalizationFloatWorkload::Execute(), ClFullyConnectedWorkload::Execute(), ClConvolution3dWorkload::Execute(), ClTransposeWorkload::Execute(), ClPermuteWorkload::Execute(), ClTransposeConvolution2dWorkload::Execute(), and ClConvolution2dWorkload::Execute().

+ +
+
+
+
+ + + + -- cgit v1.2.1