aboutsummaryrefslogtreecommitdiff
path: root/src/core/CL/cl_kernels/activation_layer.cl
diff options
context:
space:
mode:
authorSiCong Li <sicong.li@arm.com>2017-07-27 17:58:52 +0100
committerAnthony Barbier <anthony.barbier@arm.com>2018-11-02 16:35:24 +0000
commit1e5c1575fd7d86344b96988c86b82b66584460c8 (patch)
treead263662d71ad70bdf01c25f88876f87ce38c919 /src/core/CL/cl_kernels/activation_layer.cl
parent0c9a8fdb88bfff9f2a7c4d00cb88b6519dd02f1b (diff)
downloadComputeLibrary-1e5c1575fd7d86344b96988c86b82b66584460c8.tar.gz
COMPMID-450 Add YOLOV2 benchmark tests
* Migrate BatchNormalizationLayer to new benchmark system. * Add YOLOV2 benchmark tests. * Fix F16 type issue in activation_layer cl kernel. * Separate precommit tests from nightly tests. Change-Id: I3f206e3f7469be6749d630ede8dcc9fb399de8b0 Reviewed-on: http://mpd-gerrit.cambridge.arm.com/81582 Tested-by: Kaizen <jeremy.johnson+kaizengerrit@arm.com> Reviewed-by: Anthony Barbier <anthony.barbier@arm.com>
Diffstat (limited to 'src/core/CL/cl_kernels/activation_layer.cl')
-rw-r--r--src/core/CL/cl_kernels/activation_layer.cl2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/CL/cl_kernels/activation_layer.cl b/src/core/CL/cl_kernels/activation_layer.cl
index a1e7002c8b..7527b1ce37 100644
--- a/src/core/CL/cl_kernels/activation_layer.cl
+++ b/src/core/CL/cl_kernels/activation_layer.cl
@@ -42,7 +42,7 @@
#else /* FIXED_POINT_POSITION */
-#define CONST_ONE (1.f)
+#define CONST_ONE 1.f
#define ABS_OP(a) fabs((a))
#define ADD_OP(a, b) ((a) + (b))
#define SUB_OP(a, b) ((a) - (b))