12#include <arm_compute/core/Types.h>
16using namespace armcomputetensorutils;
20 const arm_compute::CLCompileContext& clCompileContext)
29 m_Data.ValidateInputsOutputs(
"ClFillWorkload", 1, 1);
31 arm_compute::ICLTensor& output =
static_cast<IClTensorHandle*
>(this->
m_Data.m_Outputs[0])->GetTensor();
32 arm_compute::PixelValue pixelValue = GetPixelValue(output.info(), descriptor.
m_Parameters.
m_Value);
36 m_Layer.configure(clCompileContext, &output, pixelValue);
#define ARMNN_SCOPED_PROFILING_EVENT_CL_NAME_GUID(label)
Creates a profiling event that uses GetGuid() and GetName() from the calling class.
#define ARMNN_REPORT_PROFILING_WORKLOAD_DESC(name, desc, infos, guid)
FillQueueDescriptor m_Data
ClBaseWorkload(const FillQueueDescriptor &descriptor, const WorkloadInfo &info)
ClFillWorkload(const FillQueueDescriptor &descriptor, const WorkloadInfo &info, const arm_compute::CLCompileContext &clCompileContext)
void Execute() const override
Copyright (c) 2021 ARM Limited and Contributors.
void RunClFunction(arm_compute::IFunction &function, const CheckLocation &location)
LayerDescriptor m_Parameters
Contains information about TensorInfos of a layer.