From fd627ffaec8fd8801d980b4c91ee7c0607ab6aaf Mon Sep 17 00:00:00 2001 From: Jan Eilers Date: Thu, 25 Feb 2021 17:44:00 +0000 Subject: IVGCVSW-5687 Update Doxygen Docu * Update Doxygen Documentation for 21.02 release Signed-off-by: Jan Eilers Change-Id: I9ed2f9caab038836ea99d7b378d7899fe431a4e5 --- 21.02/_cl_logical_or_workload_8cpp_source.xhtml | 133 ++++++++++++++++++++++++ 1 file changed, 133 insertions(+) create mode 100644 21.02/_cl_logical_or_workload_8cpp_source.xhtml (limited to '21.02/_cl_logical_or_workload_8cpp_source.xhtml') diff --git a/21.02/_cl_logical_or_workload_8cpp_source.xhtml b/21.02/_cl_logical_or_workload_8cpp_source.xhtml new file mode 100644 index 0000000000..c12e99301a --- /dev/null +++ b/21.02/_cl_logical_or_workload_8cpp_source.xhtml @@ -0,0 +1,133 @@ + + + + + + + + + + + + + +ArmNN: src/backends/cl/workloads/ClLogicalOrWorkload.cpp Source File + + + + + + + + + + + + + + + + +
+
+ + + + ArmNN + + + +
+
+  21.02 +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
+
ClLogicalOrWorkload.cpp
+
+
+Go to the documentation of this file.
1 //
2 // Copyright © 2020 Arm Ltd and Contributors. All rights reserved.
3 // SPDX-License-Identifier: MIT
4 //
5 
7 
8 #include "ClWorkloadUtils.hpp"
9 
11 
13 
14 #include <cl/ClTensorHandle.hpp>
15 
16 namespace armnn
17 {
18 using namespace armcomputetensorutils;
19 
21  const TensorInfo& input1,
22  const TensorInfo& output)
23 {
24  const arm_compute::TensorInfo aclInputInfo0 = BuildArmComputeTensorInfo(input0);
25  const arm_compute::TensorInfo aclInputInfo1 = BuildArmComputeTensorInfo(input1);
26  const arm_compute::TensorInfo aclOutputInfo = BuildArmComputeTensorInfo(output);
27 
28  const arm_compute::Status aclStatus = arm_compute::CLLogicalOr::validate(&aclInputInfo0,
29  &aclInputInfo1,
30  &aclOutputInfo);
31  return aclStatus;
32 }
33 
35  const WorkloadInfo& info,
36  const arm_compute::CLCompileContext& clCompileContext)
37  : BaseWorkload<LogicalBinaryQueueDescriptor>(descriptor, info)
38 {
39  m_Data.ValidateInputsOutputs("ClLogicalOrWorkload", 2, 1);
40 
41  arm_compute::ICLTensor& input0 = PolymorphicDowncast<ClTensorHandle*>(m_Data.m_Inputs[0])->GetTensor();
42  arm_compute::ICLTensor& input1 = PolymorphicDowncast<ClTensorHandle*>(m_Data.m_Inputs[1])->GetTensor();
43  arm_compute::ICLTensor& output = PolymorphicDowncast<ClTensorHandle*>(m_Data.m_Outputs[0])->GetTensor();
44 
45  m_LogicalOrLayer.configure(clCompileContext, &input0, &input1, &output);
46 }
47 
49 {
50  ARMNN_SCOPED_PROFILING_EVENT_CL("ClLogicalOrWorkload_Execute");
51  m_LogicalOrLayer.run();
52 }
53 
54 } // namespace armnn
arm_compute::Status ClLogicalOrWorkloadValidate(const TensorInfo &input0, const TensorInfo &input1, const TensorInfo &output)
+ + +
#define ARMNN_SCOPED_PROFILING_EVENT_CL(name)
+
const LogicalBinaryQueueDescriptor m_Data
Definition: Workload.hpp:46
+ +
void ValidateInputsOutputs(const std::string &descName, unsigned int numExpectedIn, unsigned int numExpectedOut) const
+
Copyright (c) 2021 ARM Limited and Contributors.
+ + +
virtual void Execute() const override
+
Status
enumeration
Definition: Types.hpp:26
+ + +
std::vector< ITensorHandle * > m_Outputs
+ +
ClLogicalOrWorkload(const LogicalBinaryQueueDescriptor &descriptor, const WorkloadInfo &info, const arm_compute::CLCompileContext &clCompileContext)
+
Contains information about inputs and outputs to a layer.
+
std::vector< ITensorHandle * > m_Inputs
+ +
+
+ + + + -- cgit v1.2.1