24.08
|
#include <RefConstantWorkload.hpp>
Public Member Functions | |
RefConstantWorkload (const ConstantQueueDescriptor &descriptor, const WorkloadInfo &info) | |
void | Execute () const override |
void | ExecuteAsync (ExecutionData &executionData) override |
Public Member Functions inherited from RefBaseWorkload< ConstantQueueDescriptor > | |
RefBaseWorkload (const ConstantQueueDescriptor &descriptor, const WorkloadInfo &info) | |
virtual 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 BaseWorkload< ConstantQueueDescriptor > | |
BaseWorkload (const ConstantQueueDescriptor &descriptor, const WorkloadInfo &info) | |
virtual const std::string & | GetName () const override |
void | ExecuteAsync (ExecutionData &executionData) override |
void | PostAllocationConfigure () override |
const ConstantQueueDescriptor & | GetData () const |
arm::pipe::ProfilingGuid | GetGuid () const final |
Public Member Functions inherited from IWorkload | |
virtual | ~IWorkload () |
virtual arm::pipe::ProfilingGuid | GetGuid () const =0 |
virtual bool | SupportsTensorHandleReplacement () const =0 |
virtual const std::string & | GetName () const =0 |
virtual void | RegisterDebugCallback (const DebugCallbackFunction &) |
virtual armnn::Optional< armnn::MemoryRequirements > | GetMemoryRequirements () |
Additional Inherited Members | |
Protected Attributes inherited from BaseWorkload< ConstantQueueDescriptor > | |
ConstantQueueDescriptor | m_Data |
const arm::pipe::ProfilingGuid | m_Guid |
const std::string | m_Name |
Definition at line 17 of file RefConstantWorkload.hpp.
RefConstantWorkload | ( | const ConstantQueueDescriptor & | descriptor, |
const WorkloadInfo & | info | ||
) |
Definition at line 19 of file RefConstantWorkload.cpp.
References armnn::info.
|
overridevirtual |
Implements IWorkload.
Definition at line 23 of file RefConstantWorkload.cpp.
References BaseWorkload< ConstantQueueDescriptor >::m_Data, and QueueDescriptor::m_Outputs.
Referenced by RefConstantWorkload::ExecuteAsync().
|
overridevirtual |
Implements IWorkload.
Definition at line 28 of file RefConstantWorkload.cpp.
References RefConstantWorkload::Execute(), ExecutionData::m_Data, and WorkingMemDescriptor::m_Outputs.