24.02
|
Common information for all the kernels. More...
#include <IKernel.h>
Public Member Functions | |
IKernel () | |
Constructor. More... | |
virtual | ~IKernel ()=default |
Destructor. More... | |
virtual bool | is_parallelisable () const |
Indicates whether or not the kernel is parallelisable. More... | |
virtual BorderSize | border_size () const |
The size of the border for that kernel. More... | |
const Window & | window () const |
The maximum window the kernel can be executed on. More... | |
bool | is_window_configured () const |
Function to check if the embedded window of this kernel has been configured. More... | |
IKernel | ( | ) |
Constructor.
Definition at line 33 of file IKernel.cpp.
References Window::DimX, Window::DimY, and Window::set().
|
virtualdefault |
Destructor.
|
virtual |
The size of the border for that kernel.
Reimplemented in CLNormalizationLayerKernel, and ClWinogradInputTransformKernel.
Definition at line 45 of file IKernel.cpp.
Referenced by ICLSimpleKernel::configure(), NEFillBorderKernel::configure(), ClDirectConv2dKernel::configure(), and CLFillBorderKernel::configure().
|
virtual |
Indicates whether or not the kernel is parallelisable.
If the kernel is parallelisable then the window returned by window() can be split into sub-windows which can then be run in parallel.
If the kernel is not parallelisable then only the window returned by window() can be passed to run()
Reimplemented in CLFillBorderKernel, CPPBoxWithNonMaximaSuppressionLimitKernel, CPPTopKVKernel, and CPPUpsampleKernel.
Definition at line 40 of file IKernel.cpp.
Referenced by OMPScheduler::schedule_op().
bool is_window_configured | ( | ) | const |
Function to check if the embedded window of this kernel has been configured.
Definition at line 50 of file IKernel.cpp.
References Window::Dimension::end(), Window::Dimension::start(), and Window::x().
Referenced by arm_compute::error_on_unconfigured_kernel().
const Window & window | ( | ) | const |
The maximum window the kernel can be executed on.
Definition at line 28 of file IKernel.cpp.
Referenced by ICLKernel::add_1D_array_argument(), ICLKernel::add_1D_tensor_argument(), ICLKernel::add_1D_tensor_argument_if(), ICLKernel::add_2D_tensor_argument(), ICLKernel::add_2D_tensor_argument_if(), ICLKernel::add_3D_tensor_argument(), ICLKernel::add_4D_tensor_argument(), ICLKernel::add_5D_tensor_argument(), ICLKernel::add_array_argument(), ICLKernel::add_tensor_argument(), ClFillKernel::configure(), CLMaxUnpoolingLayerKernel::configure(), NEROIPoolingLayerKernel::configure(), ClCastKernel::configure(), NEROIAlignLayerKernel::configure(), CpuWeightsReshapeKernel::configure(), arm_compute::test::validation::DATA_TEST_CASE(), CpuSubKernel::get_mws(), CpuAddKernel::get_mws(), CpuMulKernel::get_mws(), CpuArithmeticKernel::get_mws(), CpuDivisionKernel::get_mws(), ICLKernel::gws_from_window(), ICLSimple2DKernel::run(), ICLSimple3DKernel::run(), ICPPKernel::run(), CPPUpsampleKernel::run(), NEBitwiseNotKernel::run(), NEBitwiseAndKernel::run(), NEBitwiseOrKernel::run(), NEBitwiseXorKernel::run(), CLBitwiseKernel::run(), NEROIPoolingLayerKernel::run(), NETileKernel::run(), NEChannelShuffleLayerKernel::run(), NESpaceToDepthLayerKernel::run(), NEFFTScaleKernel::run(), NEComputeAllAnchorsKernel::run(), CpuGemmAssemblyWrapperKernel< TypeInput, TypeOutput >::run(), NEDepthToSpaceLayerKernel::run(), NEInstanceNormalizationLayerKernel::run(), NEReorgLayerKernel::run(), NEReverseKernel::run(), CPPPermuteKernel::run(), CPPTopKVKernel::run(), NEPriorBoxLayerKernel::run(), NEQLSTMLayerNormalizationKernel::run(), CLChannelShuffleLayerKernel::run(), CLDepthToSpaceLayerKernel::run(), CLSpaceToDepthLayerKernel::run(), CPPBoxWithNonMaximaSuppressionLimitKernel::run(), NEMeanStdDevNormalizationKernel::run(), NERangeKernel::run(), NEFFTDigitReverseKernel::run(), CLInstanceNormalizationLayerKernel::run(), CLDeconvolutionLayerUpsampleKernel::run(), CLFFTScaleKernel::run(), CLComputeAllAnchorsKernel::run(), CLSelectKernel::run(), NEGatherKernel::run(), NENormalizationLayerKernel::run(), CLNormalizationLayerKernel::run(), NESelectKernel::run(), NEFFTRadixStageKernel::run(), NEReductionOperationKernel::run(), CLQLSTMLayerNormalizationKernel::run(), CLRangeKernel::run(), CLReorgLayerKernel::run(), CLTileKernel::run(), CLMaxUnpoolingLayerKernel::run(), CLMeanStdDevNormalizationKernel::run(), CLROIPoolingLayerKernel::run(), CLGatherKernel::run(), NEBoundingBoxTransformKernel::run(), NEStackLayerKernel::run(), NEFillBorderKernel::run(), CLComparisonKernel::run(), CLFFTDigitReverseKernel::run(), NEPadLayerKernel::run(), CLNormalizePlanarYUVLayerKernel::run(), CLReverseKernel::run(), CLReductionOperationKernel::run(), NEROIAlignLayerKernel::run(), CPPNonMaximumSuppressionKernel::run(), CLFFTRadixStageKernel::run(), CLArgMinMaxLayerKernel::run(), CLL2NormalizeLayerKernel::run(), CLPadLayerKernel::run(), CLFillBorderKernel::run(), NECropKernel::run(), CLBoundingBoxTransformKernel::run(), CLPriorBoxLayerKernel::run(), NEBatchNormalizationLayerKernel::run(), NEBatchToSpaceLayerKernel::run(), CLStackLayerKernel::run(), CLROIAlignLayerKernel::run(), NEFuseBatchNormalizationKernel::run(), NESpaceToBatchLayerKernel::run(), CLDeconvolutionReshapeOutputKernel::run(), CLDepthwiseConvolutionLayerNativeKernel::run(), CLBatchNormalizationLayerKernel::run(), CLComputeMeanVariance::run(), CLBatchToSpaceLayerKernel::run(), CLFuseBatchNormalizationKernel::run(), CLSpaceToBatchLayerKernel::run(), ICLKernel::run(), ICPPKernel::run_nd(), CpuGemmAssemblyWrapperKernel< TypeInput, TypeOutput >::run_nd(), CpuFillKernel::run_op(), ClElementwiseKernel::run_op(), CpuTransposeKernel::run_op(), CpuConvertQuantizedSignednessKernel::run_op(), CpuDequantizeKernel::run_op(), CpuReshapeKernel::run_op(), CpuCopyKernel::run_op(), ClKernelRuntime::run_op(), ClDequantizeKernel::run_op(), ClFloorKernel::run_op(), ClReshapeKernel::run_op(), ClTransposeKernel::run_op(), CpuPermuteKernel::run_op(), CpuConcatenateBatchKernel::run_op(), CpuConcatenateHeightKernel::run_op(), CpuConcatenateWidthKernel::run_op(), CpuQuantizeKernel::run_op(), CpuWinogradConv2dTransformInputKernel::run_op(), ClWidthConcatenate2TensorsKernel::run_op(), ClElementWiseUnaryKernel::run_op(), ClCopyKernel::run_op(), ClFillKernel::run_op(), ClQuantizeKernel::run_op(), ClHeightConcatenateKernel::run_op(), ClScaleKernel::run_op(), ClWidthConcatenateKernel::run_op(), NELogicalKernel::run_op(), ClPool3dKernel::run_op(), CpuSoftmaxKernel::run_op(), ClBatchConcatenateKernel::run_op(), ClTransposedConvolutionKernel::run_op(), ClDepthConcatenateKernel::run_op(), ClActivationKernel::run_op(), CpuConcatenateDepthKernel::run_op(), ClPermuteKernel::run_op(), CpuFloorKernel::run_op(), CpuGemmLowpMatrixAReductionKernel::run_op(), ClPool2dKernel::run_op(), CpuGemmLowpMatrixMultiplyKernel::run_op(), ClSoftmaxKernel::run_op(), CpuPool2dKernel::run_op(), CpuElementwiseUnaryKernel::run_op(), CpuConvertFullyConnectedWeightsKernel::run_op(), CpuPool3dKernel::run_op(), ClMatMulLowpNativeMMULKernel::run_op(), CpuGemmInterleave4x4Kernel::run_op(), ClWidthConcatenate4TensorsKernel::run_op(), ClConvertFullyConnectedWeightsKernel::run_op(), ClWinogradFilterTransformKernel::run_op(), CpuSubKernel::run_op(), ClWinogradInputTransformKernel::run_op(), CpuMaxUnpoolingLayerKernel::run_op(), CpuActivationKernel::run_op(), ClMatMulNativeKernel::run_op(), ClGemmReshapeLhsMatrixKernel::run_op(), CpuDirectConv2dOutputStageKernel::run_op(), CpuGemmMatrixAdditionKernel::run_op(), ClCastKernel::run_op(), ClCropKernel::run_op(), ClMatMulLowpNativeKernel::run_op(), ClGemmLowpMatrixMultiplyNativeKernel::run_op(), ClGemmLowpQuantizeDownInt32ScaleByFixedPointKernel::run_op(), CpuCastKernel::run_op(), CpuGemmLowpQuantizeDownInt32ScaleKernel::run_op(), ClGemmLowpQuantizeDownInt32ScaleByFloatKernel::run_op(), CpuAddKernel::run_op(), ClGemmReshapeRhsMatrixKernel::run_op(), ClIndirectConv2dAddressPrecalculationKernel::run_op(), ClGemmLowpQuantizeDownInt32ScaleKernel::run_op(), ClWinogradOutputTransformKernel::run_op(), CpuGemmLowpOffsetContributionKernel::run_op(), CpuWeightsReshapeKernel::run_op(), CpuGemmLowpQuantizeDownInt32ToInt16ScaleByFixedPointKernel::run_op(), ClCol2ImKernel::run_op(), CpuDepthwiseConv2dNativeKernel::run_op(), ICPPKernel::run_op(), ClIndirectConv2dKernel::run_op(), ClGemmMatrixMultiplyNativeKernel::run_op(), NEFillBorderKernel::run_op(), ClGemmLowpMatrixMultiplyReshapedKernel::run_op(), CpuGemmLowpQuantizeDownInt32ToUint8ScaleByFixedPointKernel::run_op(), CpuDepthwiseConv2dAssemblyWrapperKernel::run_op(), CpuGemmLowpQuantizeDownInt32ToInt8ScaleByFixedPointKernel::run_op(), ClGemmMatrixMultiplyReshapedOnlyRhsMMULKernel::run_op(), CpuScaleKernel::run_op(), CpuGemmTranspose1xWKernel::run_op(), CLStridedSliceKernel::run_op(), ClGemmLowpOffsetContributionKernel::run_op(), CpuGemmMatrixMultiplyKernel::run_op(), CpuMulKernel::run_op(), ClDirectConv3dKernel::run_op(), CpuAddMulAddKernel::run_op(), ClWeightsReshapeKernel::run_op(), CpuWinogradConv2dTransformOutputKernel::run_op(), ClMatMulNativeMMULKernel::run_op(), ClDirectConv2dKernel::run_op(), ClGemmLowpMatrixAReductionKernel::run_op(), ClGemmLowpMatrixMultiplyReshapedOnlyRhsMMULKernel::run_op(), ClGemmLowpOffsetContributionOutputStageKernel::run_op(), ClMulKernel::run_op(), CLFillBorderKernel::run_op(), ClGemmLowpMatrixMultiplyReshapedOnlyRhsKernel::run_op(), ClGemmMatrixMultiplyReshapedOnlyRhsKernel::run_op(), ClIm2ColKernel::run_op(), NEStridedSliceKernel::run_op(), ClGemmMatrixMultiplyReshapedKernel::run_op(), CpuGemmLowpOffsetContributionOutputStageKernel::run_op(), CpuGemmLowpMatrixBReductionKernel::run_op(), ClGemmLowpMatrixBReductionKernel::run_op(), ClComplexMulKernel::run_op(), CpuComplexMulKernel::run_op(), ICLKernel::run_op(), SingleThreadScheduler::schedule(), OMPScheduler::schedule(), CPPScheduler::schedule(), and ClFillKernel::validate().