From 6940dd720ebb6b3d1df8ca203ab696daefe58189 Mon Sep 17 00:00:00 2001 From: Jim Flynn Date: Fri, 20 Mar 2020 12:25:56 +0000 Subject: renamed Documentation folder 20.02 and added .nojekyll file Signed-off-by: Jim Flynn --- 20.02/classarmnn_1_1_cl_maximum_workload.xhtml | 238 +++++++++++++++++++++++++ 1 file changed, 238 insertions(+) create mode 100644 20.02/classarmnn_1_1_cl_maximum_workload.xhtml (limited to '20.02/classarmnn_1_1_cl_maximum_workload.xhtml') diff --git a/20.02/classarmnn_1_1_cl_maximum_workload.xhtml b/20.02/classarmnn_1_1_cl_maximum_workload.xhtml new file mode 100644 index 0000000000..baeecb3ad3 --- /dev/null +++ b/20.02/classarmnn_1_1_cl_maximum_workload.xhtml @@ -0,0 +1,238 @@ + + + + + + + + + + + + + +ArmNN: ClMaximumWorkload Class Reference + + + + + + + + + + + + + + + + +
+
+ + + + ArmNN + + + +
+
+  20.02 +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+ +
+
ClMaximumWorkload Class Reference
+
+
+ +

#include <ClMaximumWorkload.hpp>

+
+Inheritance diagram for ClMaximumWorkload:
+
+
+ + +BaseWorkload< MaximumQueueDescriptor > +IWorkload + +
+ + + + + + + + + + + + + + + + + + + + +

+Public Member Functions

 ClMaximumWorkload (const MaximumQueueDescriptor &descriptor, const WorkloadInfo &info)
 
void Execute () const override
 
- Public Member Functions inherited from BaseWorkload< MaximumQueueDescriptor >
 BaseWorkload (const MaximumQueueDescriptor &descriptor, const WorkloadInfo &info)
 
void PostAllocationConfigure () override
 
const MaximumQueueDescriptorGetData () const
 
profiling::ProfilingGuid GetGuid () const final
 
- Public Member Functions inherited from IWorkload
virtual ~IWorkload ()
 
virtual void RegisterDebugCallback (const DebugCallbackFunction &)
 
+ + + + + + +

+Additional Inherited Members

- Protected Attributes inherited from BaseWorkload< MaximumQueueDescriptor >
const MaximumQueueDescriptor m_Data
 
const profiling::ProfilingGuid m_Guid
 
+

Detailed Description

+
+

Definition at line 19 of file ClMaximumWorkload.hpp.

+

Constructor & Destructor Documentation

+ +

◆ ClMaximumWorkload()

+ +
+
+ + + + + + + + + + + + + + + + + + +
ClMaximumWorkload (const MaximumQueueDescriptordescriptor,
const WorkloadInfoinfo 
)
+
+ +

Definition at line 39 of file ClMaximumWorkload.cpp.

+ +

References BaseWorkload< MaximumQueueDescriptor >::m_Data, QueueDescriptor::m_Inputs, QueueDescriptor::m_Outputs, and QueueDescriptor::ValidateInputsOutputs().

+
41  : BaseWorkload<MaximumQueueDescriptor>(descriptor, info)
42 {
43  m_Data.ValidateInputsOutputs("ClMaximumWorkload", 2, 1);
44 
45  arm_compute::ICLTensor& input0 = static_cast<IClTensorHandle*>(m_Data.m_Inputs[0])->GetTensor();
46  arm_compute::ICLTensor& input1 = static_cast<IClTensorHandle*>(m_Data.m_Inputs[1])->GetTensor();
47  arm_compute::ICLTensor& output = static_cast<IClTensorHandle*>(m_Data.m_Outputs[0])->GetTensor();
48 
49  m_MaximumLayer.configure(&input0, &input1, &output);
50 }
const MaximumQueueDescriptor m_Data
Definition: Workload.hpp:46
+
void ValidateInputsOutputs(const std::string &descName, unsigned int numExpectedIn, unsigned int numExpectedOut) const
+
std::vector< ITensorHandle * > m_Outputs
+ +
std::vector< ITensorHandle * > m_Inputs
+
+
+
+

Member Function Documentation

+ +

◆ Execute()

+ +
+
+ + + + + +
+ + + + + + + +
void Execute () const
+
+overridevirtual
+
+ +

Implements IWorkload.

+ +

Definition at line 52 of file ClMaximumWorkload.cpp.

+ +

References ARMNN_SCOPED_PROFILING_EVENT_CL, CHECK_LOCATION, and armnn::RunClFunction().

+
53 {
54  ARMNN_SCOPED_PROFILING_EVENT_CL("ClMaximumWorkload_Execute");
55  RunClFunction(m_MaximumLayer, CHECK_LOCATION());
56 }
#define ARMNN_SCOPED_PROFILING_EVENT_CL(name)
+
void RunClFunction(arm_compute::IFunction &function, const CheckLocation &location)
+
#define CHECK_LOCATION()
Definition: Exceptions.hpp:192
+
+
+
+
The documentation for this class was generated from the following files: +
+
+ + + + -- cgit v1.2.1