diff options
author | Giorgio Arena <giorgio.arena@arm.com> | 2018-02-16 15:17:23 +0000 |
---|---|---|
committer | Anthony Barbier <anthony.barbier@arm.com> | 2018-11-02 16:49:16 +0000 |
commit | 99ac60bca77e9977c844cc1293751d63ddc3065c (patch) | |
tree | 30867264809a61c817e5c543a6ac997620f4beaa /src/core/CL/cl_kernels/activation_layer.cl | |
parent | 60954c671ffdc3422bbdb728fc022eb6896c1e17 (diff) | |
download | ComputeLibrary-99ac60bca77e9977c844cc1293751d63ddc3065c.tar.gz |
COMPMID-853 Fuse CL DepthwiseConvolution with Activation for QASYM8
Change-Id: I287908f76af458ad4b4d865d353dc37e33877250
Reviewed-on: https://eu-gerrit-1.euhpc.arm.com/120839
Tested-by: Jenkins <bsgcomp@arm.com>
Reviewed-by: Anthony Barbier <anthony.barbier@arm.com>
Reviewed-by: Georgios Pinitas <georgios.pinitas@arm.com>
Diffstat (limited to 'src/core/CL/cl_kernels/activation_layer.cl')
-rw-r--r-- | src/core/CL/cl_kernels/activation_layer.cl | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/core/CL/cl_kernels/activation_layer.cl b/src/core/CL/cl_kernels/activation_layer.cl index 4424a66b61..a8ea7387d6 100644 --- a/src/core/CL/cl_kernels/activation_layer.cl +++ b/src/core/CL/cl_kernels/activation_layer.cl @@ -1,5 +1,5 @@ /* - * Copyright (c) 2016, 2017 ARM Limited. + * Copyright (c) 2016-2018 ARM Limited. * * SPDX-License-Identifier: MIT * @@ -115,6 +115,8 @@ inline TYPE linear_op(TYPE x) #define ACTIVATION_OP2(op, x) op##_op(x) #define ACTIVATION_OP(op, x) ACTIVATION_OP2(op, x) +#if defined(ACT) + /** This performs an activation function floating point inputs. * * @note In order to perform the activation function "in-place", the pre-processor -DIN_PLACE must be passed at compile time @@ -168,3 +170,5 @@ __kernel void activation_layer( VSTORE(VEC_SIZE) (data, 0, (__global DATA_TYPE *)output.ptr); } + +#endif /* defined(ACT) */
\ No newline at end of file |