Changes in cl kernel files related to #if defined conditions (#4106)
authorShubham Gupta/SNAP /SRI-Bangalore/Engineer/삼성전자 <shub98.gupta@samsung.com>
Wed, 2 Jan 2019 02:26:50 +0000 (07:56 +0530)
committer오형석/On-Device Lab(SR)/Staff Engineer/삼성전자 <hseok82.oh@samsung.com>
Wed, 2 Jan 2019 02:26:50 +0000 (11:26 +0900)
commit914130e9fa1091052b8fb44501d43a8a429e7227
treea06b5d13d810a57e0242036527ff42d6776ceeb3
parente409b9e5a3af25e5f04f5731ad4a13f23607378a
Changes in cl kernel files related to #if defined conditions (#4106)

1. Add missing #if defined conditions
2. Remove the Vec_size from #if defined check since kernel
   should execute even if it is not passed as an preprocessor
   argument with an assumption VEC_SIZE=1 i.e., processing
   on one element at a time.

Files modified are:
1. embedding_lookup.cl
2. exp.cl
3. hashtable_lookup.cl
4. neg_tensor.cl

Signed-off-by: shubham <shub98.gupta@samsung.com>
libs/ARMComputeEx/src/core/CL/cl_kernels/embedding_lookup.cl
libs/ARMComputeEx/src/core/CL/cl_kernels/exp.cl
libs/ARMComputeEx/src/core/CL/cl_kernels/hashtable_lookup.cl
libs/ARMComputeEx/src/core/CL/cl_kernels/neg_tensor.cl