diff options
author | Gian Marco Iodice <gianmarco.iodice@arm.com> | 2021-06-30 08:39:44 +0000 |
---|---|---|
committer | SiCong Li <sicong.li@arm.com> | 2021-06-30 14:03:17 +0000 |
commit | c63b722591ff23c8c6fe5fb8ef8c8516d40f03aa (patch) | |
tree | cbcf05d2daf6cf0b4f5f73d289cdd0356a57b7b9 /arm_compute/core/KernelDescriptors.h | |
parent | 4a578b923ed000c67fe0bc1433f945aea634ca9c (diff) | |
download | ComputeLibrary-c63b722591ff23c8c6fe5fb8ef8c8516d40f03aa.tar.gz |
Revert "Rework OpenCL Depthwise Convolution"
This reverts commit 561c176598cd14245e2e7918fdf136d1c888d1da.
Reason for revert: <validation>
Change-Id: I6f2d61c27520439bb538e9265736532104b24cf8
Reviewed-on: https://review.mlplatform.org/c/ml/ComputeLibrary/+/5127
Tested-by: Arm Jenkins <bsgcomp@arm.com>
Reviewed-by: Georgios Pinitas <georgios.pinitas@arm.com>
Comments-Addressed: Arm Jenkins <bsgcomp@arm.com>
Diffstat (limited to 'arm_compute/core/KernelDescriptors.h')
-rw-r--r-- | arm_compute/core/KernelDescriptors.h | 14 |
1 files changed, 9 insertions, 5 deletions
diff --git a/arm_compute/core/KernelDescriptors.h b/arm_compute/core/KernelDescriptors.h index a6e5c3372e..6c1fc74b1e 100644 --- a/arm_compute/core/KernelDescriptors.h +++ b/arm_compute/core/KernelDescriptors.h @@ -96,12 +96,16 @@ struct GEMMKernelInfo GEMMLowpOutputStageInfo output_stage{}; /**< GEMMLowp output stage information */ }; -/** Compute descriptor used by the depthwise convolution native kernel */ -struct DWCComputeKernelInfo +/** Descriptor used by the depthwise convolution kernels */ +struct DWCKernelInfo { - unsigned int n0{ 0 }; /**< Number of columns processed by each thread */ - unsigned int m0{ 0 }; /**< Number of rows processed by each thread */ - bool export_weights_to_cl_image{ false }; /**< Export the weights to cl_image */ + ActivationLayerInfo activation_info{}; /**< Activation function to perform after the depthwise convolution */ +}; + +/** Descriptor used by the depthwise convolution kernels to retrieve the number of output elements processed by each thread */ +struct DWCWeightsKernelInfo +{ + unsigned int n0{ 0 }; /**< Number of columns processed by each thread */ }; /** Descriptor used by the softmax kernels */ |