24.08
|
#include <GpuFsaConstantWorkload.hpp>
Public Member Functions | |
GpuFsaConstantWorkload (const ConstantQueueDescriptor &descriptor, const WorkloadInfo &info, const arm_compute::CLCompileContext &clCompileContext) | |
void | Execute () const override |
Public Member Functions inherited from GpuFsaBaseWorkload< ConstantQueueDescriptor > | |
GpuFsaBaseWorkload (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 GpuFsaConstantWorkload.hpp.
GpuFsaConstantWorkload | ( | const ConstantQueueDescriptor & | descriptor, |
const WorkloadInfo & | info, | ||
const arm_compute::CLCompileContext & | clCompileContext | ||
) |
Definition at line 43 of file GpuFsaConstantWorkload.cpp.
References armnn::info.
|
overridevirtual |
Implements IWorkload.
Definition at line 51 of file GpuFsaConstantWorkload.cpp.
References armnn::CopyArmComputeClTensorData(), ConstTensorHandle::GetConstTensor(), BaseWorkload< ConstantQueueDescriptor >::m_Data, ConstantQueueDescriptor::m_LayerOutput, and QueueDescriptor::m_Outputs.