24.02
|
#include <MemSyncWorkload.hpp>
Public Member Functions | |
SyncMemGenericWorkload (const MemSyncQueueDescriptor &descriptor, const WorkloadInfo &info) | |
void | Execute () const override |
void | ExecuteAsync (ExecutionData &executionData) override |
Public Member Functions inherited from BaseWorkload< MemSyncQueueDescriptor > | |
BaseWorkload (const MemSyncQueueDescriptor &descriptor, const WorkloadInfo &info) | |
virtual const std::string & | GetName () const override |
void | ExecuteAsync (ExecutionData &executionData) override |
void | PostAllocationConfigure () override |
const MemSyncQueueDescriptor & | 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< MemSyncQueueDescriptor > | |
MemSyncQueueDescriptor | m_Data |
const arm::pipe::ProfilingGuid | m_Guid |
const std::string | m_Name |
Definition at line 17 of file MemSyncWorkload.hpp.
SyncMemGenericWorkload | ( | const MemSyncQueueDescriptor & | descriptor, |
const WorkloadInfo & | info | ||
) |
Definition at line 16 of file MemSyncWorkload.cpp.
References armnn::info, and QueueDescriptor::m_Inputs.
|
overridevirtual |
Implements IWorkload.
Definition at line 23 of file MemSyncWorkload.cpp.
References ARMNN_SCOPED_PROFILING_EVENT, ITensorHandle::Map(), armnn::Undefined, and ITensorHandle::Unmap().
|
overridevirtual |
Implements IWorkload.
Definition at line 30 of file MemSyncWorkload.cpp.
References ARMNN_SCOPED_PROFILING_EVENT, ExecutionData::m_Data, WorkingMemDescriptor::m_Inputs, and armnn::Undefined.