ArmNN
 24.02
BaseWorkload< QueueDescriptor > Class Template Reference

#include <Workload.hpp>

Inheritance diagram for BaseWorkload< QueueDescriptor >:
[legend]
Collaboration diagram for BaseWorkload< QueueDescriptor >:
[legend]

Public Member Functions

 BaseWorkload (const QueueDescriptor &descriptor, const WorkloadInfo &info)
 
virtual const std::string & GetName () const override
 
void ExecuteAsync (ExecutionData &executionData) override
 
void PostAllocationConfigure () override
 
const QueueDescriptorGetData () 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 void Execute () const =0
 
virtual void RegisterDebugCallback (const DebugCallbackFunction &)
 
virtual armnn::Optional< armnn::MemoryRequirementsGetMemoryRequirements ()
 

Protected Attributes

QueueDescriptor m_Data
 
const arm::pipe::ProfilingGuid m_Guid
 
const std::string m_Name
 

Detailed Description

template<typename QueueDescriptor>
class armnn::BaseWorkload< QueueDescriptor >

Definition at line 33 of file Workload.hpp.

Constructor & Destructor Documentation

◆ BaseWorkload()

BaseWorkload ( const QueueDescriptor descriptor,
const WorkloadInfo info 
)
inline

Definition at line 37 of file Workload.hpp.

38  : m_Data(descriptor),
39  m_Guid(arm::pipe::IProfilingService::GetNextGuid()),
40  m_Name(info.m_Name)
41  {
42  m_Data.Validate(info);
43  }

Member Function Documentation

◆ ExecuteAsync()

void ExecuteAsync ( ExecutionData executionData)
inlineoverridevirtual

Implements IWorkload.

Reimplemented in RefConvertFp16ToFp32Workload, RefConvertFp32ToFp16Workload, and RefFakeQuantizationFloat32Workload.

Definition at line 50 of file Workload.hpp.

51  {
52  ARMNN_LOG(info) << "Using default async workload execution, this will network affect performance";
53 #if !defined(ARMNN_DISABLE_THREADS)
54  std::lock_guard<std::mutex> lockGuard(m_AsyncWorkloadMutex);
55 #endif
56  WorkingMemDescriptor* workingMemDescriptor = static_cast<WorkingMemDescriptor*>(executionData.m_Data);
57  m_Data.m_Inputs = workingMemDescriptor->m_Inputs;
58  m_Data.m_Outputs = workingMemDescriptor->m_Outputs;
59 
60  Execute();
61  };

◆ GetData()

const QueueDescriptor& GetData ( ) const
inline

Definition at line 65 of file Workload.hpp.

65 { return m_Data; }

◆ GetGuid()

arm::pipe::ProfilingGuid GetGuid ( ) const
inlinefinalvirtual

Implements IWorkload.

Definition at line 67 of file Workload.hpp.

67 { return m_Guid; }

Referenced by ClLstmFloatWorkload::ClLstmFloatWorkload(), and NeonLstmFloatWorkload::NeonLstmFloatWorkload().

◆ GetName()

virtual const std::string& GetName ( ) const
inlineoverridevirtual

Implements IWorkload.

Definition at line 45 of file Workload.hpp.

46  {
47  return m_Name;
48  }

◆ PostAllocationConfigure()

void PostAllocationConfigure ( )
inlineoverridevirtual

Implements IWorkload.

Definition at line 63 of file Workload.hpp.

63 {}

◆ ReplaceInputTensorHandle()

void ReplaceInputTensorHandle ( ITensorHandle tensorHandle,
unsigned int  slot 
)
inlineoverridevirtual

Implements IWorkload.

Reimplemented in ClBatchNormalizationFloatWorkload, NeonL2NormalizationFloatWorkload, NeonNormalizationFloatWorkload, ClConvertFp16ToFp32Workload, ClConvertFp32ToFp16Workload, ClL2NormalizationFloatWorkload, ClFloorFloatWorkload, ClNormalizationFloatWorkload, GpuFsaBaseWorkload< QueueDescriptor >, TosaRefBaseWorkload< QueueDescriptor >, GpuFsaBaseWorkload< ConstantQueueDescriptor >, ClLstmFloatWorkload, NeonConvertFp16ToFp32Workload, NeonConvertFp32ToFp16Workload, NeonLstmFloatWorkload, RefBaseWorkload< QueueDescriptor >, RefBaseWorkload< InstanceNormalizationQueueDescriptor >, RefBaseWorkload< Convolution3dQueueDescriptor >, RefBaseWorkload< SpaceToDepthQueueDescriptor >, RefBaseWorkload< FillQueueDescriptor >, RefBaseWorkload< QLstmQueueDescriptor >, RefBaseWorkload< TransposeConvolution2dQueueDescriptor >, RefBaseWorkload< ElementwiseBinaryQueueDescriptor >, RefBaseWorkload< Pooling3dQueueDescriptor >, RefBaseWorkload< NormalizationQueueDescriptor >, RefBaseWorkload< FloorQueueDescriptor >, RefBaseWorkload< ElementwiseUnaryQueueDescriptor >, RefBaseWorkload< Pooling2dQueueDescriptor >, RefBaseWorkload< BroadcastToQueueDescriptor >, RefBaseWorkload< BatchToSpaceNdQueueDescriptor >, RefBaseWorkload< ActivationQueueDescriptor >, RefBaseWorkload< StridedSliceQueueDescriptor >, RefBaseWorkload< UnidirectionalSequenceLstmQueueDescriptor >, RefBaseWorkload< BatchMatMulQueueDescriptor >, RefBaseWorkload< TileQueueDescriptor >, RefBaseWorkload< CastQueueDescriptor >, RefBaseWorkload< RankQueueDescriptor >, RefBaseWorkload< SoftmaxQueueDescriptor >, RefBaseWorkload< FullyConnectedQueueDescriptor >, RefBaseWorkload< ParentDescriptor >, RefBaseWorkload< DepthwiseConvolution2dQueueDescriptor >, RefBaseWorkload< DequantizeQueueDescriptor >, RefBaseWorkload< BatchNormalizationQueueDescriptor >, RefBaseWorkload< SpaceToBatchNdQueueDescriptor >, RefBaseWorkload< SliceQueueDescriptor >, RefBaseWorkload< ReshapeQueueDescriptor >, RefBaseWorkload< LogicalBinaryQueueDescriptor >, RefBaseWorkload< QuantizeQueueDescriptor >, RefBaseWorkload< MeanQueueDescriptor >, RefBaseWorkload< DetectionPostProcessQueueDescriptor >, RefBaseWorkload< ConcatQueueDescriptor >, RefBaseWorkload< L2NormalizationQueueDescriptor >, RefBaseWorkload< ReduceQueueDescriptor >, RefBaseWorkload< ConstantQueueDescriptor >, RefBaseWorkload< StackQueueDescriptor >, RefBaseWorkload< ChannelShuffleQueueDescriptor >, RefBaseWorkload< GatherNdQueueDescriptor >, RefBaseWorkload< LogSoftmaxQueueDescriptor >, RefBaseWorkload< LstmQueueDescriptor >, RefBaseWorkload< PadQueueDescriptor >, RefBaseWorkload< ShapeQueueDescriptor >, RefBaseWorkload< PreluQueueDescriptor >, RefBaseWorkload< ResizeQueueDescriptor >, RefBaseWorkload< ReverseV2QueueDescriptor >, RefBaseWorkload< ArgMinMaxQueueDescriptor >, RefBaseWorkload< DepthToSpaceQueueDescriptor >, RefBaseWorkload< GatherQueueDescriptor >, RefBaseWorkload< ComparisonQueueDescriptor >, RefBaseWorkload< Convolution2dQueueDescriptor >, RefBaseWorkload< SplitterQueueDescriptor >, NeonFloorFloatWorkload, ClBaseWorkload< QueueDescriptor >, NeonBaseWorkload< QueueDescriptor >, ClBaseWorkload< InstanceNormalizationQueueDescriptor >, ClBaseWorkload< SpaceToDepthQueueDescriptor >, ClBaseWorkload< Convolution3dQueueDescriptor >, ClBaseWorkload< MultiplicationQueueDescriptor >, ClBaseWorkload< QLstmQueueDescriptor >, ClBaseWorkload< TransposeConvolution2dQueueDescriptor >, ClBaseWorkload< FillQueueDescriptor >, ClBaseWorkload< Pooling3dQueueDescriptor >, ClBaseWorkload< ElementwiseBinaryQueueDescriptor >, ClBaseWorkload< SubtractionQueueDescriptor >, ClBaseWorkload< Pooling2dQueueDescriptor >, ClBaseWorkload< ElementwiseUnaryQueueDescriptor >, ClBaseWorkload< ActivationQueueDescriptor >, ClBaseWorkload< BatchToSpaceNdQueueDescriptor >, ClBaseWorkload< StridedSliceQueueDescriptor >, ClBaseWorkload< BatchMatMulQueueDescriptor >, ClBaseWorkload< AdditionQueueDescriptor >, ClBaseWorkload< DivisionQueueDescriptor >, ClBaseWorkload< RankQueueDescriptor >, ClBaseWorkload< SoftmaxQueueDescriptor >, ClBaseWorkload< FullyConnectedQueueDescriptor >, ClBaseWorkload< CastQueueDescriptor >, ClBaseWorkload< SpaceToBatchNdQueueDescriptor >, ClBaseWorkload< DepthwiseConvolution2dQueueDescriptor >, ClBaseWorkload< DequantizeQueueDescriptor >, ClBaseWorkload< ReshapeQueueDescriptor >, ClBaseWorkload< SliceQueueDescriptor >, ClBaseWorkload< MeanQueueDescriptor >, ClBaseWorkload< TransposeQueueDescriptor >, ClBaseWorkload< QuantizeQueueDescriptor >, ClBaseWorkload< LogicalBinaryQueueDescriptor >, ClBaseWorkload< MaximumQueueDescriptor >, ClBaseWorkload< ConcatQueueDescriptor >, ClBaseWorkload< ConstantQueueDescriptor >, ClBaseWorkload< ReduceQueueDescriptor >, ClBaseWorkload< ChannelShuffleQueueDescriptor >, ClBaseWorkload< PermuteQueueDescriptor >, ClBaseWorkload< MinimumQueueDescriptor >, ClBaseWorkload< GatherNdQueueDescriptor >, ClBaseWorkload< AbsQueueDescriptor >, ClBaseWorkload< LogSoftmaxQueueDescriptor >, ClBaseWorkload< PadQueueDescriptor >, ClBaseWorkload< StackQueueDescriptor >, ClBaseWorkload< PreluQueueDescriptor >, ClBaseWorkload< QuantizedLstmQueueDescriptor >, ClBaseWorkload< ResizeQueueDescriptor >, ClBaseWorkload< ArgMinMaxQueueDescriptor >, ClBaseWorkload< DepthToSpaceQueueDescriptor >, ClBaseWorkload< SplitterQueueDescriptor >, ClBaseWorkload< GatherQueueDescriptor >, ClBaseWorkload< RsqrtQueueDescriptor >, ClBaseWorkload< ComparisonQueueDescriptor >, ClBaseWorkload< Convolution2dQueueDescriptor >, NeonBaseWorkload< Convolution3dQueueDescriptor >, NeonBaseWorkload< InstanceNormalizationQueueDescriptor >, NeonBaseWorkload< MultiplicationQueueDescriptor >, NeonBaseWorkload< SpaceToDepthQueueDescriptor >, NeonBaseWorkload< TransposeConvolution2dQueueDescriptor >, NeonBaseWorkload< FillQueueDescriptor >, NeonBaseWorkload< QLstmQueueDescriptor >, NeonBaseWorkload< ElementwiseBinaryQueueDescriptor >, NeonBaseWorkload< Pooling3dQueueDescriptor >, NeonBaseWorkload< SubtractionQueueDescriptor >, NeonBaseWorkload< Pooling2dQueueDescriptor >, NeonBaseWorkload< ElementwiseUnaryQueueDescriptor >, NeonBaseWorkload< ActivationQueueDescriptor >, NeonBaseWorkload< BatchToSpaceNdQueueDescriptor >, NeonBaseWorkload< StridedSliceQueueDescriptor >, NeonBaseWorkload< BatchMatMulQueueDescriptor >, NeonBaseWorkload< UnidirectionalSequenceLstmQueueDescriptor >, NeonBaseWorkload< AdditionQueueDescriptor >, NeonBaseWorkload< DivisionQueueDescriptor >, NeonBaseWorkload< SoftmaxQueueDescriptor >, NeonBaseWorkload< CastQueueDescriptor >, NeonBaseWorkload< RankQueueDescriptor >, NeonBaseWorkload< FullyConnectedQueueDescriptor >, NeonBaseWorkload< SpaceToBatchNdQueueDescriptor >, NeonBaseWorkload< DepthwiseConvolution2dQueueDescriptor >, NeonBaseWorkload< DequantizeQueueDescriptor >, NeonBaseWorkload< BatchNormalizationQueueDescriptor >, NeonBaseWorkload< ReshapeQueueDescriptor >, NeonBaseWorkload< SliceQueueDescriptor >, NeonBaseWorkload< QuantizeQueueDescriptor >, NeonBaseWorkload< LogicalBinaryQueueDescriptor >, NeonBaseWorkload< MeanQueueDescriptor >, NeonBaseWorkload< TransposeQueueDescriptor >, NeonBaseWorkload< MaximumQueueDescriptor >, NeonBaseWorkload< DetectionPostProcessQueueDescriptor >, NeonBaseWorkload< ConstantQueueDescriptor >, NeonBaseWorkload< ConcatQueueDescriptor >, NeonBaseWorkload< ReduceQueueDescriptor >, NeonBaseWorkload< PadQueueDescriptor >, NeonBaseWorkload< FusedQueueDescriptor >, NeonBaseWorkload< MinimumQueueDescriptor >, NeonBaseWorkload< AbsQueueDescriptor >, NeonBaseWorkload< ChannelShuffleQueueDescriptor >, NeonBaseWorkload< StackQueueDescriptor >, NeonBaseWorkload< GatherNdQueueDescriptor >, NeonBaseWorkload< LogSoftmaxQueueDescriptor >, NeonBaseWorkload< PermuteQueueDescriptor >, NeonBaseWorkload< PreluQueueDescriptor >, NeonBaseWorkload< QuantizedLstmQueueDescriptor >, NeonBaseWorkload< ResizeQueueDescriptor >, NeonBaseWorkload< ArgMinMaxQueueDescriptor >, NeonBaseWorkload< DepthToSpaceQueueDescriptor >, NeonBaseWorkload< SplitterQueueDescriptor >, NeonBaseWorkload< GatherQueueDescriptor >, NeonBaseWorkload< ComparisonQueueDescriptor >, NeonBaseWorkload< Convolution2dQueueDescriptor >, and NeonBaseWorkload< RsqrtQueueDescriptor >.

Definition at line 75 of file Workload.hpp.

76  {
77  armnn::IgnoreUnused(tensorHandle, slot);
78  throw armnn::UnimplementedException("ReplaceInputTensorHandle not implemented for this workload");
79  }

◆ ReplaceOutputTensorHandle()

void ReplaceOutputTensorHandle ( ITensorHandle tensorHandle,
unsigned int  slot 
)
inlineoverridevirtual

Implements IWorkload.

Reimplemented in ClBatchNormalizationFloatWorkload, ClBaseWorkload< QueueDescriptor >, NeonBaseWorkload< QueueDescriptor >, ClBaseWorkload< InstanceNormalizationQueueDescriptor >, ClBaseWorkload< SpaceToDepthQueueDescriptor >, ClBaseWorkload< Convolution3dQueueDescriptor >, ClBaseWorkload< MultiplicationQueueDescriptor >, ClBaseWorkload< QLstmQueueDescriptor >, ClBaseWorkload< TransposeConvolution2dQueueDescriptor >, ClBaseWorkload< FillQueueDescriptor >, ClBaseWorkload< Pooling3dQueueDescriptor >, ClBaseWorkload< ElementwiseBinaryQueueDescriptor >, ClBaseWorkload< SubtractionQueueDescriptor >, ClBaseWorkload< Pooling2dQueueDescriptor >, ClBaseWorkload< ElementwiseUnaryQueueDescriptor >, ClBaseWorkload< ActivationQueueDescriptor >, ClBaseWorkload< BatchToSpaceNdQueueDescriptor >, ClBaseWorkload< StridedSliceQueueDescriptor >, ClBaseWorkload< BatchMatMulQueueDescriptor >, ClBaseWorkload< AdditionQueueDescriptor >, ClBaseWorkload< DivisionQueueDescriptor >, ClBaseWorkload< RankQueueDescriptor >, ClBaseWorkload< SoftmaxQueueDescriptor >, ClBaseWorkload< FullyConnectedQueueDescriptor >, ClBaseWorkload< CastQueueDescriptor >, ClBaseWorkload< SpaceToBatchNdQueueDescriptor >, ClBaseWorkload< DepthwiseConvolution2dQueueDescriptor >, ClBaseWorkload< DequantizeQueueDescriptor >, ClBaseWorkload< ReshapeQueueDescriptor >, ClBaseWorkload< SliceQueueDescriptor >, ClBaseWorkload< MeanQueueDescriptor >, ClBaseWorkload< TransposeQueueDescriptor >, ClBaseWorkload< QuantizeQueueDescriptor >, ClBaseWorkload< LogicalBinaryQueueDescriptor >, ClBaseWorkload< MaximumQueueDescriptor >, ClBaseWorkload< ConcatQueueDescriptor >, ClBaseWorkload< ConstantQueueDescriptor >, ClBaseWorkload< ReduceQueueDescriptor >, ClBaseWorkload< ChannelShuffleQueueDescriptor >, ClBaseWorkload< PermuteQueueDescriptor >, ClBaseWorkload< MinimumQueueDescriptor >, ClBaseWorkload< GatherNdQueueDescriptor >, ClBaseWorkload< AbsQueueDescriptor >, ClBaseWorkload< LogSoftmaxQueueDescriptor >, ClBaseWorkload< PadQueueDescriptor >, ClBaseWorkload< StackQueueDescriptor >, ClBaseWorkload< PreluQueueDescriptor >, ClBaseWorkload< QuantizedLstmQueueDescriptor >, ClBaseWorkload< ResizeQueueDescriptor >, ClBaseWorkload< ArgMinMaxQueueDescriptor >, ClBaseWorkload< DepthToSpaceQueueDescriptor >, ClBaseWorkload< SplitterQueueDescriptor >, ClBaseWorkload< GatherQueueDescriptor >, ClBaseWorkload< RsqrtQueueDescriptor >, ClBaseWorkload< ComparisonQueueDescriptor >, ClBaseWorkload< Convolution2dQueueDescriptor >, NeonBaseWorkload< Convolution3dQueueDescriptor >, NeonBaseWorkload< InstanceNormalizationQueueDescriptor >, NeonBaseWorkload< MultiplicationQueueDescriptor >, NeonBaseWorkload< SpaceToDepthQueueDescriptor >, NeonBaseWorkload< TransposeConvolution2dQueueDescriptor >, NeonBaseWorkload< FillQueueDescriptor >, NeonBaseWorkload< QLstmQueueDescriptor >, NeonBaseWorkload< ElementwiseBinaryQueueDescriptor >, NeonBaseWorkload< Pooling3dQueueDescriptor >, NeonBaseWorkload< SubtractionQueueDescriptor >, NeonBaseWorkload< Pooling2dQueueDescriptor >, NeonBaseWorkload< ElementwiseUnaryQueueDescriptor >, NeonBaseWorkload< ActivationQueueDescriptor >, NeonBaseWorkload< BatchToSpaceNdQueueDescriptor >, NeonBaseWorkload< StridedSliceQueueDescriptor >, NeonBaseWorkload< BatchMatMulQueueDescriptor >, NeonBaseWorkload< UnidirectionalSequenceLstmQueueDescriptor >, NeonBaseWorkload< AdditionQueueDescriptor >, NeonBaseWorkload< DivisionQueueDescriptor >, NeonBaseWorkload< SoftmaxQueueDescriptor >, NeonBaseWorkload< CastQueueDescriptor >, NeonBaseWorkload< RankQueueDescriptor >, NeonBaseWorkload< FullyConnectedQueueDescriptor >, NeonBaseWorkload< SpaceToBatchNdQueueDescriptor >, NeonBaseWorkload< DepthwiseConvolution2dQueueDescriptor >, NeonBaseWorkload< DequantizeQueueDescriptor >, NeonBaseWorkload< BatchNormalizationQueueDescriptor >, NeonBaseWorkload< ReshapeQueueDescriptor >, NeonBaseWorkload< SliceQueueDescriptor >, NeonBaseWorkload< QuantizeQueueDescriptor >, NeonBaseWorkload< LogicalBinaryQueueDescriptor >, NeonBaseWorkload< MeanQueueDescriptor >, NeonBaseWorkload< TransposeQueueDescriptor >, NeonBaseWorkload< MaximumQueueDescriptor >, NeonBaseWorkload< DetectionPostProcessQueueDescriptor >, NeonBaseWorkload< ConstantQueueDescriptor >, NeonBaseWorkload< ConcatQueueDescriptor >, NeonBaseWorkload< ReduceQueueDescriptor >, NeonBaseWorkload< PadQueueDescriptor >, NeonBaseWorkload< FusedQueueDescriptor >, NeonBaseWorkload< MinimumQueueDescriptor >, NeonBaseWorkload< AbsQueueDescriptor >, NeonBaseWorkload< ChannelShuffleQueueDescriptor >, NeonBaseWorkload< StackQueueDescriptor >, NeonBaseWorkload< GatherNdQueueDescriptor >, NeonBaseWorkload< LogSoftmaxQueueDescriptor >, NeonBaseWorkload< PermuteQueueDescriptor >, NeonBaseWorkload< PreluQueueDescriptor >, NeonBaseWorkload< QuantizedLstmQueueDescriptor >, NeonBaseWorkload< ResizeQueueDescriptor >, NeonBaseWorkload< ArgMinMaxQueueDescriptor >, NeonBaseWorkload< DepthToSpaceQueueDescriptor >, NeonBaseWorkload< SplitterQueueDescriptor >, NeonBaseWorkload< GatherQueueDescriptor >, NeonBaseWorkload< ComparisonQueueDescriptor >, NeonBaseWorkload< Convolution2dQueueDescriptor >, NeonBaseWorkload< RsqrtQueueDescriptor >, GpuFsaBaseWorkload< QueueDescriptor >, NeonL2NormalizationFloatWorkload, NeonNormalizationFloatWorkload, TosaRefBaseWorkload< QueueDescriptor >, GpuFsaBaseWorkload< ConstantQueueDescriptor >, ClConvertFp16ToFp32Workload, ClConvertFp32ToFp16Workload, ClL2NormalizationFloatWorkload, RefBaseWorkload< QueueDescriptor >, RefBaseWorkload< InstanceNormalizationQueueDescriptor >, RefBaseWorkload< Convolution3dQueueDescriptor >, RefBaseWorkload< SpaceToDepthQueueDescriptor >, RefBaseWorkload< FillQueueDescriptor >, RefBaseWorkload< QLstmQueueDescriptor >, RefBaseWorkload< TransposeConvolution2dQueueDescriptor >, RefBaseWorkload< ElementwiseBinaryQueueDescriptor >, RefBaseWorkload< Pooling3dQueueDescriptor >, RefBaseWorkload< NormalizationQueueDescriptor >, RefBaseWorkload< FloorQueueDescriptor >, RefBaseWorkload< ElementwiseUnaryQueueDescriptor >, RefBaseWorkload< Pooling2dQueueDescriptor >, RefBaseWorkload< BroadcastToQueueDescriptor >, RefBaseWorkload< BatchToSpaceNdQueueDescriptor >, RefBaseWorkload< ActivationQueueDescriptor >, RefBaseWorkload< StridedSliceQueueDescriptor >, RefBaseWorkload< UnidirectionalSequenceLstmQueueDescriptor >, RefBaseWorkload< BatchMatMulQueueDescriptor >, RefBaseWorkload< TileQueueDescriptor >, RefBaseWorkload< CastQueueDescriptor >, RefBaseWorkload< RankQueueDescriptor >, RefBaseWorkload< SoftmaxQueueDescriptor >, RefBaseWorkload< FullyConnectedQueueDescriptor >, RefBaseWorkload< ParentDescriptor >, RefBaseWorkload< DepthwiseConvolution2dQueueDescriptor >, RefBaseWorkload< DequantizeQueueDescriptor >, RefBaseWorkload< BatchNormalizationQueueDescriptor >, RefBaseWorkload< SpaceToBatchNdQueueDescriptor >, RefBaseWorkload< SliceQueueDescriptor >, RefBaseWorkload< ReshapeQueueDescriptor >, RefBaseWorkload< LogicalBinaryQueueDescriptor >, RefBaseWorkload< QuantizeQueueDescriptor >, RefBaseWorkload< MeanQueueDescriptor >, RefBaseWorkload< DetectionPostProcessQueueDescriptor >, RefBaseWorkload< ConcatQueueDescriptor >, RefBaseWorkload< L2NormalizationQueueDescriptor >, RefBaseWorkload< ReduceQueueDescriptor >, RefBaseWorkload< ConstantQueueDescriptor >, RefBaseWorkload< StackQueueDescriptor >, RefBaseWorkload< ChannelShuffleQueueDescriptor >, RefBaseWorkload< GatherNdQueueDescriptor >, RefBaseWorkload< LogSoftmaxQueueDescriptor >, RefBaseWorkload< LstmQueueDescriptor >, RefBaseWorkload< PadQueueDescriptor >, RefBaseWorkload< ShapeQueueDescriptor >, RefBaseWorkload< PreluQueueDescriptor >, RefBaseWorkload< ResizeQueueDescriptor >, RefBaseWorkload< ReverseV2QueueDescriptor >, RefBaseWorkload< ArgMinMaxQueueDescriptor >, RefBaseWorkload< DepthToSpaceQueueDescriptor >, RefBaseWorkload< GatherQueueDescriptor >, RefBaseWorkload< ComparisonQueueDescriptor >, RefBaseWorkload< Convolution2dQueueDescriptor >, RefBaseWorkload< SplitterQueueDescriptor >, ClFloorFloatWorkload, ClNormalizationFloatWorkload, ClLstmFloatWorkload, NeonConvertFp16ToFp32Workload, NeonConvertFp32ToFp16Workload, NeonLstmFloatWorkload, and NeonFloorFloatWorkload.

Definition at line 82 of file Workload.hpp.

83  {
84  armnn::IgnoreUnused(tensorHandle, slot);
85  throw armnn::UnimplementedException("ReplaceOutputTensorHandle not implemented for this workload");
86  }

◆ SupportsTensorHandleReplacement()

virtual bool SupportsTensorHandleReplacement ( ) const
inlineoverridevirtual

Implements IWorkload.

Reimplemented in ClConvertFp16ToFp32Workload, ClConvertFp32ToFp16Workload, GpuFsaBaseWorkload< QueueDescriptor >, TosaRefBaseWorkload< QueueDescriptor >, GpuFsaBaseWorkload< ConstantQueueDescriptor >, RefBaseWorkload< QueueDescriptor >, RefBaseWorkload< InstanceNormalizationQueueDescriptor >, RefBaseWorkload< Convolution3dQueueDescriptor >, RefBaseWorkload< SpaceToDepthQueueDescriptor >, RefBaseWorkload< FillQueueDescriptor >, RefBaseWorkload< QLstmQueueDescriptor >, RefBaseWorkload< TransposeConvolution2dQueueDescriptor >, RefBaseWorkload< ElementwiseBinaryQueueDescriptor >, RefBaseWorkload< Pooling3dQueueDescriptor >, RefBaseWorkload< NormalizationQueueDescriptor >, RefBaseWorkload< FloorQueueDescriptor >, RefBaseWorkload< ElementwiseUnaryQueueDescriptor >, RefBaseWorkload< Pooling2dQueueDescriptor >, RefBaseWorkload< BroadcastToQueueDescriptor >, RefBaseWorkload< BatchToSpaceNdQueueDescriptor >, RefBaseWorkload< ActivationQueueDescriptor >, RefBaseWorkload< StridedSliceQueueDescriptor >, RefBaseWorkload< UnidirectionalSequenceLstmQueueDescriptor >, RefBaseWorkload< BatchMatMulQueueDescriptor >, RefBaseWorkload< TileQueueDescriptor >, RefBaseWorkload< CastQueueDescriptor >, RefBaseWorkload< RankQueueDescriptor >, RefBaseWorkload< SoftmaxQueueDescriptor >, RefBaseWorkload< FullyConnectedQueueDescriptor >, RefBaseWorkload< ParentDescriptor >, RefBaseWorkload< DepthwiseConvolution2dQueueDescriptor >, RefBaseWorkload< DequantizeQueueDescriptor >, RefBaseWorkload< BatchNormalizationQueueDescriptor >, RefBaseWorkload< SpaceToBatchNdQueueDescriptor >, RefBaseWorkload< SliceQueueDescriptor >, RefBaseWorkload< ReshapeQueueDescriptor >, RefBaseWorkload< LogicalBinaryQueueDescriptor >, RefBaseWorkload< QuantizeQueueDescriptor >, RefBaseWorkload< MeanQueueDescriptor >, RefBaseWorkload< DetectionPostProcessQueueDescriptor >, RefBaseWorkload< ConcatQueueDescriptor >, RefBaseWorkload< L2NormalizationQueueDescriptor >, RefBaseWorkload< ReduceQueueDescriptor >, RefBaseWorkload< ConstantQueueDescriptor >, RefBaseWorkload< StackQueueDescriptor >, RefBaseWorkload< ChannelShuffleQueueDescriptor >, RefBaseWorkload< GatherNdQueueDescriptor >, RefBaseWorkload< LogSoftmaxQueueDescriptor >, RefBaseWorkload< LstmQueueDescriptor >, RefBaseWorkload< PadQueueDescriptor >, RefBaseWorkload< ShapeQueueDescriptor >, RefBaseWorkload< PreluQueueDescriptor >, RefBaseWorkload< ResizeQueueDescriptor >, RefBaseWorkload< ReverseV2QueueDescriptor >, RefBaseWorkload< ArgMinMaxQueueDescriptor >, RefBaseWorkload< DepthToSpaceQueueDescriptor >, RefBaseWorkload< GatherQueueDescriptor >, RefBaseWorkload< ComparisonQueueDescriptor >, RefBaseWorkload< Convolution2dQueueDescriptor >, and RefBaseWorkload< SplitterQueueDescriptor >.

Definition at line 69 of file Workload.hpp.

70  {
71  return false;
72  }

Member Data Documentation

◆ m_Data

QueueDescriptor m_Data
protected

Definition at line 89 of file Workload.hpp.

Referenced by BaseWorkload< SplitterQueueDescriptor >::BaseWorkload(), ClConvertFp16ToFp32Workload::ClConvertFp16ToFp32Workload(), ClConvertFp32ToFp16Workload::ClConvertFp32ToFp16Workload(), ClFloorFloatWorkload::ClFloorFloatWorkload(), ClL2NormalizationFloatWorkload::ClL2NormalizationFloatWorkload(), ClNormalizationFloatWorkload::ClNormalizationFloatWorkload(), RefConvertFp16ToFp32Workload::Execute(), RefConvertFp32ToFp16Workload::Execute(), RefFakeQuantizationFloat32Workload::Execute(), BaseWorkload< SplitterQueueDescriptor >::ExecuteAsync(), BaseWorkload< SplitterQueueDescriptor >::GetData(), NeonConvertFp16ToFp32Workload::NeonConvertFp16ToFp32Workload(), NeonConvertFp32ToFp16Workload::NeonConvertFp32ToFp16Workload(), NeonFloorFloatWorkload::NeonFloorFloatWorkload(), NeonL2NormalizationFloatWorkload::NeonL2NormalizationFloatWorkload(), NeonNormalizationFloatWorkload::NeonNormalizationFloatWorkload(), ClBaseWorkload< Convolution2dQueueDescriptor >::ReplaceInputTensorHandle(), NeonBaseWorkload< RsqrtQueueDescriptor >::ReplaceInputTensorHandle(), NeonFloorFloatWorkload::ReplaceInputTensorHandle(), NeonConvertFp32ToFp16Workload::ReplaceInputTensorHandle(), NeonLstmFloatWorkload::ReplaceInputTensorHandle(), RefBaseWorkload< SplitterQueueDescriptor >::ReplaceInputTensorHandle(), ClLstmFloatWorkload::ReplaceInputTensorHandle(), NeonConvertFp16ToFp32Workload::ReplaceInputTensorHandle(), TosaRefBaseWorkload< QueueDescriptor >::ReplaceInputTensorHandle(), ClNormalizationFloatWorkload::ReplaceInputTensorHandle(), GpuFsaBaseWorkload< ConstantQueueDescriptor >::ReplaceInputTensorHandle(), ClFloorFloatWorkload::ReplaceInputTensorHandle(), ClL2NormalizationFloatWorkload::ReplaceInputTensorHandle(), ClConvertFp16ToFp32Workload::ReplaceInputTensorHandle(), ClConvertFp32ToFp16Workload::ReplaceInputTensorHandle(), NeonL2NormalizationFloatWorkload::ReplaceInputTensorHandle(), NeonNormalizationFloatWorkload::ReplaceInputTensorHandle(), ClBatchNormalizationFloatWorkload::ReplaceInputTensorHandle(), NeonFloorFloatWorkload::ReplaceOutputTensorHandle(), NeonConvertFp32ToFp16Workload::ReplaceOutputTensorHandle(), NeonLstmFloatWorkload::ReplaceOutputTensorHandle(), NeonConvertFp16ToFp32Workload::ReplaceOutputTensorHandle(), ClLstmFloatWorkload::ReplaceOutputTensorHandle(), ClNormalizationFloatWorkload::ReplaceOutputTensorHandle(), ClFloorFloatWorkload::ReplaceOutputTensorHandle(), RefBaseWorkload< SplitterQueueDescriptor >::ReplaceOutputTensorHandle(), ClL2NormalizationFloatWorkload::ReplaceOutputTensorHandle(), ClConvertFp16ToFp32Workload::ReplaceOutputTensorHandle(), ClConvertFp32ToFp16Workload::ReplaceOutputTensorHandle(), TosaRefBaseWorkload< QueueDescriptor >::ReplaceOutputTensorHandle(), NeonNormalizationFloatWorkload::ReplaceOutputTensorHandle(), NeonL2NormalizationFloatWorkload::ReplaceOutputTensorHandle(), GpuFsaBaseWorkload< ConstantQueueDescriptor >::ReplaceOutputTensorHandle(), NeonBaseWorkload< RsqrtQueueDescriptor >::ReplaceOutputTensorHandle(), ClBaseWorkload< Convolution2dQueueDescriptor >::ReplaceOutputTensorHandle(), and ClBatchNormalizationFloatWorkload::ReplaceOutputTensorHandle().

◆ m_Guid

const arm::pipe::ProfilingGuid m_Guid
protected

Definition at line 90 of file Workload.hpp.

Referenced by BaseWorkload< SplitterQueueDescriptor >::GetGuid().

◆ m_Name

const std::string m_Name
protected

Definition at line 91 of file Workload.hpp.

Referenced by BaseWorkload< SplitterQueueDescriptor >::GetName().


The documentation for this class was generated from the following file:
armnn::BaseWorkload::m_Name
const std::string m_Name
Definition: Workload.hpp:91
armnn::IWorkload::Execute
virtual void Execute() const =0
ARMNN_LOG
#define ARMNN_LOG(severity)
Definition: Logging.hpp:212
armnn::BoostLogSeverityMapping::info
@ info
armnn::QueueDescriptor::m_Outputs
std::vector< ITensorHandle * > m_Outputs
Definition: WorkloadData.hpp:27
armnn::BaseWorkload::m_Data
QueueDescriptor m_Data
Definition: Workload.hpp:89
armnn::IgnoreUnused
void IgnoreUnused(Ts &&...)
Definition: IgnoreUnused.hpp:14
armnn::BaseWorkload::m_Guid
const arm::pipe::ProfilingGuid m_Guid
Definition: Workload.hpp:90
armnn::UnimplementedException
Definition: Exceptions.hpp:98
armnn::QueueDescriptor::m_Inputs
std::vector< ITensorHandle * > m_Inputs
Definition: WorkloadData.hpp:26