aboutsummaryrefslogtreecommitdiff
path: root/src/core/CL/cl_kernels/direct_convolution1x1.cl
diff options
context:
space:
mode:
authorsteniu01 <steven.niu@arm.com>2017-08-09 16:26:22 +0100
committerAnthony Barbier <anthony.barbier@arm.com>2018-11-02 16:35:24 +0000
commitdb00668890e1aba956e02fa02e1383b54dfd1435 (patch)
treee20cc07d9bc9eb4bf613213007a2351f5d4eec60 /src/core/CL/cl_kernels/direct_convolution1x1.cl
parentff6ab352f4f6715b7028a39d8722759d19d2524b (diff)
downloadComputeLibrary-db00668890e1aba956e02fa02e1383b54dfd1435.tar.gz
COMPMID-478 Implemnt CL direct convolution 5x5
Change-Id: I4b975aff310cda9964d8c5dcee182d5d5c82741b Reviewed-on: http://mpd-gerrit.cambridge.arm.com/83474 Tested-by: Kaizen <jeremy.johnson+kaizengerrit@arm.com> Reviewed-by: Gian Marco Iodice <gianmarco.iodice@arm.com>
Diffstat (limited to 'src/core/CL/cl_kernels/direct_convolution1x1.cl')
-rw-r--r--src/core/CL/cl_kernels/direct_convolution1x1.cl3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/core/CL/cl_kernels/direct_convolution1x1.cl b/src/core/CL/cl_kernels/direct_convolution1x1.cl
index 66c618e033..2aa999a80f 100644
--- a/src/core/CL/cl_kernels/direct_convolution1x1.cl
+++ b/src/core/CL/cl_kernels/direct_convolution1x1.cl
@@ -33,6 +33,7 @@
MULQ_SAT_IMPL(qs32x8, qs32x8)
#else /* FIXED_POINT_POSITION */
+#undef CONVERT_SAT
#define ADD_OP(a, b) ((a) + (b))
#define MUL_OP(a, b) ((a) * (b))
@@ -205,4 +206,4 @@ __kernel void direct_convolution1x1(
vstore8(CONVERT_SAT(pixels, VEC_DATA_TYPE(DATA_TYPE, 8)), 0, (__global DATA_TYPE *)dst.ptr);
}
-#endif // defined(DATA_TYPE) && defined(DATA_SIZE) && defined(STRIDE_X) && defined(WEIGHTS_DEPTH) \ No newline at end of file
+#endif // defined(DATA_TYPE) && defined(DATA_SIZE) && defined(STRIDE_X) && defined(WEIGHTS_DEPTH)