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_fill_workload_8cpp_source.xhtml | 133 ++++++++++++++++++++++++++++++ 1 file changed, 133 insertions(+) create mode 100644 21.02/_cl_fill_workload_8cpp_source.xhtml (limited to '21.02/_cl_fill_workload_8cpp_source.xhtml') diff --git a/21.02/_cl_fill_workload_8cpp_source.xhtml b/21.02/_cl_fill_workload_8cpp_source.xhtml new file mode 100644 index 0000000000..34694828f8 --- /dev/null +++ b/21.02/_cl_fill_workload_8cpp_source.xhtml @@ -0,0 +1,133 @@ + + + + + + + + + + + + + +ArmNN: src/backends/cl/workloads/ClFillWorkload.cpp Source File + + + + + + + + + + + + + + + + +
+
+ + + + ArmNN + + + +
+
+  21.02 +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
+
ClFillWorkload.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 
6 #include "ClFillWorkload.hpp"
7 
8 #include "ClWorkloadUtils.hpp"
9 
10 #include <cl/ClTensorHandle.hpp>
12 #include <arm_compute/core/Types.h>
13 
14 namespace armnn
15 {
16 using namespace armcomputetensorutils;
17 
19  const WorkloadInfo& info,
20  const arm_compute::CLCompileContext& clCompileContext)
21  : BaseWorkload<FillQueueDescriptor>(descriptor, info)
22 {
23  m_Data.ValidateInputsOutputs("ClFillWorkload", 1, 1);
24 
25  arm_compute::ICLTensor& output = static_cast<IClTensorHandle*>(this->m_Data.m_Outputs[0])->GetTensor();
26  arm_compute::PixelValue pixelValue = GetPixelValue(output, descriptor.m_Parameters.m_Value);
27 
28  m_Layer.configure(clCompileContext, &output, pixelValue);
29 }
30 
32 {
33  ARMNN_SCOPED_PROFILING_EVENT_CL("ClFillWorkload_Execute");
34  RunClFunction(m_Layer, CHECK_LOCATION());
35 }
36 
37 } // namespace armnn
ClFillWorkload(const FillQueueDescriptor &descriptor, const WorkloadInfo &info, const arm_compute::CLCompileContext &clCompileContext)
+
#define ARMNN_SCOPED_PROFILING_EVENT_CL(name)
+
void RunClFunction(arm_compute::IFunction &function, const CheckLocation &location)
+ +
const FillQueueDescriptor 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.
+ + +
void Execute() const override
+
#define CHECK_LOCATION()
Definition: Exceptions.hpp:197
+ + + +
std::vector< ITensorHandle * > m_Outputs
+ + +
Contains information about inputs and outputs to a layer.
+ +
+
+ + + + -- cgit v1.2.1