24.08
|
#include <ClConvertFp32ToFp16Workload.hpp>
Public Member Functions | |
ClConvertFp32ToFp16Workload (const ConvertFp32ToFp16QueueDescriptor &descriptor, const WorkloadInfo &info, const arm_compute::CLCompileContext &clCompileContext) | |
virtual void | Execute () const override |
bool | SupportsTensorHandleReplacement () const override |
void | ReplaceInputTensorHandle (ITensorHandle *tensorHandle, unsigned int slot) override |
void | ReplaceOutputTensorHandle (ITensorHandle *tensorHandle, unsigned int slot) override |
Public Member Functions inherited from MultiTypedWorkload< QueueDescriptor, InputDataType, OutputDataType > | |
MultiTypedWorkload (const QueueDescriptor &descriptor, const WorkloadInfo &info) | |
Public Member Functions inherited from BaseWorkload< QueueDescriptor > | |
BaseWorkload (const QueueDescriptor &descriptor, const WorkloadInfo &info) | |
virtual const std::string & | GetName () const override |
void | ExecuteAsync (ExecutionData &executionData) override |
void | PostAllocationConfigure () override |
const QueueDescriptor & | GetData () const |
arm::pipe::ProfilingGuid | GetGuid () const final |
Public Member Functions inherited from IWorkload | |
virtual | ~IWorkload () |
virtual void | RegisterDebugCallback (const DebugCallbackFunction &) |
virtual armnn::Optional< armnn::MemoryRequirements > | GetMemoryRequirements () |
Additional Inherited Members | |
Protected Attributes inherited from BaseWorkload< QueueDescriptor > | |
QueueDescriptor | m_Data |
const arm::pipe::ProfilingGuid | m_Guid |
const std::string | m_Name |
Definition at line 17 of file ClConvertFp32ToFp16Workload.hpp.
ClConvertFp32ToFp16Workload | ( | const ConvertFp32ToFp16QueueDescriptor & | descriptor, |
const WorkloadInfo & | info, | ||
const arm_compute::CLCompileContext & | clCompileContext | ||
) |
Definition at line 17 of file ClConvertFp32ToFp16Workload.cpp.
References ARMNN_SCOPED_PROFILING_EVENT_CL_NAME_GUID, armnn::info, BaseWorkload< QueueDescriptor >::m_Data, QueueDescriptor::m_Inputs, QueueDescriptor::m_Outputs, and QueueDescriptor::ValidateInputsOutputs().
|
overridevirtual |
Implements IWorkload.
Definition at line 38 of file ClConvertFp32ToFp16Workload.cpp.
References ARMNN_SCOPED_PROFILING_EVENT_CL_NAME_GUID, CHECK_LOCATION, and armnn::RunClFunction().
|
overridevirtual |
Reimplemented from BaseWorkload< QueueDescriptor >.
Definition at line 64 of file ClConvertFp32ToFp16Workload.cpp.
References BaseWorkload< QueueDescriptor >::m_Data, and QueueDescriptor::m_Inputs.
|
overridevirtual |
Reimplemented from BaseWorkload< QueueDescriptor >.
Definition at line 81 of file ClConvertFp32ToFp16Workload.cpp.
References BaseWorkload< QueueDescriptor >::m_Data, and QueueDescriptor::m_Outputs.
|
inlineoverridevirtual |
Reimplemented from BaseWorkload< QueueDescriptor >.
Definition at line 26 of file ClConvertFp32ToFp16Workload.hpp.