diff options
author | Pablo Tello <pablo.tello@arm.com> | 2019-03-27 09:28:32 +0000 |
---|---|---|
committer | Georgios Pinitas <georgios.pinitas@arm.com> | 2019-04-16 11:31:40 +0000 |
commit | 8f43d745b170aefca269a087fc045d8af3813c33 (patch) | |
tree | 08df4a26c3fab575eb9bdf061be89d2a71fb3581 /arm_compute/core/NEON/kernels/convolution/common/padding.hpp | |
parent | 9e4824c909b14dbaf7106e9527b0ffa22ef09bdc (diff) | |
download | ComputeLibrary-8f43d745b170aefca269a087fc045d8af3813c33.tar.gz |
COMPMID-2063: New Winograd implementation
Refactoring of winograd code reducing the size of the binaries
about 8X.
Change-Id: If8845bda324573e1a5cf436f354ac8603e88a92e
Signed-off-by: Pablo Tello <pablo.tello@arm.com>
Reviewed-on: https://review.mlplatform.org/c/959
Comments-Addressed: Arm Jenkins <bsgcomp@arm.com>
Tested-by: Anthony Barbier <Anthony.barbier@arm.com>
Reviewed-by: Georgios Pinitas <georgios.pinitas@arm.com>
Diffstat (limited to 'arm_compute/core/NEON/kernels/convolution/common/padding.hpp')
-rw-r--r-- | arm_compute/core/NEON/kernels/convolution/common/padding.hpp | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/arm_compute/core/NEON/kernels/convolution/common/padding.hpp b/arm_compute/core/NEON/kernels/convolution/common/padding.hpp index 33f77d7ee9..97b21e0ff5 100644 --- a/arm_compute/core/NEON/kernels/convolution/common/padding.hpp +++ b/arm_compute/core/NEON/kernels/convolution/common/padding.hpp @@ -71,4 +71,21 @@ class CopyCropped ); }; +template <typename T> +void crop_and_copy_tile( + unsigned int tile_rows, + unsigned int tile_cols, + unsigned int n_channels, + const T *inptr, + unsigned int in_row_stride, + unsigned int in_col_stride, + T *outptr, + unsigned int out_row_stride, + unsigned int out_col_stride, + unsigned int crop_top, + unsigned int crop_left, + unsigned int crop_bottom, + unsigned int crop_right +); + } |