ArmNN
 24.02
UnmapWorkload Class Reference

#include <UnmapWorkload.hpp>

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

Public Member Functions

 UnmapWorkload (const UnmapQueueDescriptor &descriptor, const WorkloadInfo &info)
 
void Execute () const override
 
- Public Member Functions inherited from BaseWorkload< UnmapQueueDescriptor >
 BaseWorkload (const UnmapQueueDescriptor &descriptor, const WorkloadInfo &info)
 
virtual const std::string & GetName () const override
 
void ExecuteAsync (ExecutionData &executionData) override
 
void PostAllocationConfigure () override
 
const UnmapQueueDescriptorGetData () 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< UnmapQueueDescriptor >
UnmapQueueDescriptor m_Data
 
const arm::pipe::ProfilingGuid m_Guid
 
const std::string m_Name
 

Detailed Description

Definition at line 12 of file UnmapWorkload.hpp.

Constructor & Destructor Documentation

◆ UnmapWorkload()

UnmapWorkload ( const UnmapQueueDescriptor descriptor,
const WorkloadInfo info 
)

Definition at line 11 of file UnmapWorkload.cpp.

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

References armnn::info.

Member Function Documentation

◆ Execute()

void Execute ( ) const
overridevirtual

Implements IWorkload.

Definition at line 17 of file UnmapWorkload.cpp.

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

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


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