From eac9b05d99bb35ae8766ba6d64df000f86e25e1d Mon Sep 17 00:00:00 2001 From: =?utf8?q?Prasanna=20R/SNAP=20/SRI-Bangalore/Engineer/=EC=82=BC?= =?utf8?q?=EC=84=B1=EC=A0=84=EC=9E=90?= Date: Thu, 20 Dec 2018 06:25:19 +0530 Subject: [PATCH] Add #ifndef block for VEC_SIZE in comparison op cl kernel (#4109) This patch adds #ifndef block for VEC_SIZE in comparison op cl kernel Signed-off-by: prasannar --- libs/ARMComputeEx/src/core/CL/cl_kernels/comparison_op.cl | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/libs/ARMComputeEx/src/core/CL/cl_kernels/comparison_op.cl b/libs/ARMComputeEx/src/core/CL/cl_kernels/comparison_op.cl index 8dbaba9..7650725 100644 --- a/libs/ARMComputeEx/src/core/CL/cl_kernels/comparison_op.cl +++ b/libs/ARMComputeEx/src/core/CL/cl_kernels/comparison_op.cl @@ -16,6 +16,10 @@ */ #include "helpers.h" +#ifndef VEC_SIZE +#define VEC_SIZE 1 +#endif + #if defined(DATA_TYPE_IN) && defined(DATA_TYPE_OUT) && defined(OP_CODE) /** Returns truth value of comparison operators. * Comparison operators may be equal, not_equal etc. -- 2.7.4