ArmNN
 24.02
MapWorkload Class Reference

#include <MapWorkload.hpp>

Inheritance diagram for MapWorkload:
[legend]
Collaboration diagram for MapWorkload:
[legend]

Public Member Functions

 MapWorkload (const MapQueueDescriptor &descriptor, const WorkloadInfo &info)
 
void Execute () const override
 
- Public Member Functions inherited from BaseWorkload< MapQueueDescriptor >
 BaseWorkload (const MapQueueDescriptor &descriptor, const WorkloadInfo &info)
 
virtual const std::string & GetName () const override
 
void ExecuteAsync (ExecutionData &executionData) override
 
void PostAllocationConfigure () override
 
const MapQueueDescriptorGetData () 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::MemoryRequirementsGetMemoryRequirements ()
 

Additional Inherited Members

- Protected Attributes inherited from BaseWorkload< MapQueueDescriptor >
MapQueueDescriptor m_Data
 
const arm::pipe::ProfilingGuid m_Guid
 
const std::string m_Name
 

Detailed Description

Definition at line 12 of file MapWorkload.hpp.

Constructor & Destructor Documentation

◆ MapWorkload()

MapWorkload ( const MapQueueDescriptor descriptor,
const WorkloadInfo info 
)

Definition at line 11 of file MapWorkload.cpp.

13  : BaseWorkload<MapQueueDescriptor>(descriptor, info)
14 {
15 }

References armnn::info.

Member Function Documentation

◆ Execute()

void Execute ( ) const
overridevirtual

Implements IWorkload.

Definition at line 17 of file MapWorkload.cpp.

18 {
19  m_Data.m_Inputs[0]->Map();
20 }

References BaseWorkload< MapQueueDescriptor >::m_Data, and QueueDescriptor::m_Inputs.


The documentation for this class was generated from the following files:
armnn::BaseWorkload< MapQueueDescriptor >::m_Data
MapQueueDescriptor m_Data
Definition: Workload.hpp:89
armnn::QueueDescriptor::m_Inputs
std::vector< ITensorHandle * > m_Inputs
Definition: WorkloadData.hpp:26