24.08
|
#include <SampleDynamicAdditionWorkload.hpp>
Public Member Functions | |
SampleDynamicAdditionWorkload (const armnn::AdditionQueueDescriptor &descriptor, const armnn::WorkloadInfo &info) | |
void | Execute () const override |
Public Member Functions inherited from BaseWorkload< armnn::AdditionQueueDescriptor > | |
BaseWorkload (const armnn::AdditionQueueDescriptor &descriptor, const WorkloadInfo &info) | |
virtual const std::string & | GetName () const override |
void | ExecuteAsync (ExecutionData &executionData) override |
void | PostAllocationConfigure () override |
const armnn::AdditionQueueDescriptor & | GetData () const |
arm::pipe::ProfilingGuid | GetGuid () const final |
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 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< armnn::AdditionQueueDescriptor > | |
armnn::AdditionQueueDescriptor | m_Data |
const arm::pipe::ProfilingGuid | m_Guid |
const std::string | m_Name |
Definition at line 13 of file SampleDynamicAdditionWorkload.hpp.
SampleDynamicAdditionWorkload | ( | const armnn::AdditionQueueDescriptor & | descriptor, |
const armnn::WorkloadInfo & | info | ||
) |
Definition at line 34 of file SampleDynamicAdditionWorkload.cpp.
|
overridevirtual |
Implements IWorkload.
Definition at line 39 of file SampleDynamicAdditionWorkload.cpp.
References sdb::GetInputTensorData(), sdb::GetOutputTensorData(), sdb::GetTensorInfo(), BaseWorkload< armnn::AdditionQueueDescriptor >::m_Data, and QueueDescriptor::m_Inputs.