aboutsummaryrefslogtreecommitdiff
path: root/src/core/CL/cl_kernels/helpers.h
diff options
context:
space:
mode:
authorGiorgio Arena <giorgio.arena@arm.com>2020-12-23 11:55:29 +0000
committerGiorgio Arena <giorgio.arena@arm.com>2021-01-05 10:18:30 +0000
commit932402276935a5fdf3a15b0c10e5310c7a0ae393 (patch)
treeb69fb9d66b66a7357328a571dc098254ccdcd96a /src/core/CL/cl_kernels/helpers.h
parent0870db478fc46213138bcfd6e1536610ea145ecf (diff)
downloadComputeLibrary-932402276935a5fdf3a15b0c10e5310c7a0ae393.tar.gz
Remove OpenCL padding: CLPadLayerKernel
Resolves: COMPMID-3912 Change-Id: I1f8bd3bfec263ebfd70bc96f9183ccdc3089db13 Signed-off-by: Giorgio Arena <giorgio.arena@arm.com> Reviewed-on: https://review.mlplatform.org/c/ml/ComputeLibrary/+/4754 Tested-by: Arm Jenkins <bsgcomp@arm.com> Comments-Addressed: Arm Jenkins <bsgcomp@arm.com> Reviewed-by: Manuel Bottini <manuel.bottini@arm.com> Reviewed-by: Georgios Pinitas <georgios.pinitas@arm.com> Reviewed-by: Gian Marco Iodice <gianmarco.iodice@arm.com>
Diffstat (limited to 'src/core/CL/cl_kernels/helpers.h')
-rw-r--r--src/core/CL/cl_kernels/helpers.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/core/CL/cl_kernels/helpers.h b/src/core/CL/cl_kernels/helpers.h
index 372ccd91fb..df3b4937b2 100644
--- a/src/core/CL/cl_kernels/helpers.h
+++ b/src/core/CL/cl_kernels/helpers.h
@@ -110,18 +110,22 @@
* @{
*/
#define ROT1_0(x) ((x))
+#define ROT1_1(x) ((x))
#define ROT2_0(x) ((x))
#define ROT2_1(x) ((x).s10)
+#define ROT2_2(x) ((x))
#define ROT3_0(x) ((x))
#define ROT3_1(x) ((x).s201)
#define ROT3_2(x) ((x).s120)
+#define ROT3_3(x) ((x))
#define ROT4_0(x) ((x))
#define ROT4_1(x) ((x).s3012)
#define ROT4_2(x) ((x).s2301)
#define ROT4_3(x) ((x).s1230)
+#define ROT4_4(x) ((x))
#define ROT8_0(x) ((x))
#define ROT8_1(x) ((x).s70123456)
@@ -131,6 +135,7 @@
#define ROT8_5(x) ((x).s34567012)
#define ROT8_6(x) ((x).s23456701)
#define ROT8_7(x) ((x).s12345670)
+#define ROT8_8(x) ((x))
#define ROT16_0(x) ((x))
#define ROT16_1(x) ((x).sF0123456789ABCDE)
@@ -148,6 +153,7 @@
#define ROT16_13(x) ((x).s3456789ABCDEF012)
#define ROT16_14(x) ((x).s23456789ABCDEF01)
#define ROT16_15(x) ((x).s123456789ABCDEF0)
+#define ROT16_16(x) ((x))
/** @} */ // end of group ROTs_n
/** Circular-right-shift (rotate-right) the given vector by the given amount.