diff options
Diffstat (limited to 'src/core/CL/cl_kernels')
-rw-r--r-- | src/core/CL/cl_kernels/elementwise_unary.cl | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/core/CL/cl_kernels/elementwise_unary.cl b/src/core/CL/cl_kernels/elementwise_unary.cl index 2650654e4a..14d6f5dbe1 100644 --- a/src/core/CL/cl_kernels/elementwise_unary.cl +++ b/src/core/CL/cl_kernels/elementwise_unary.cl @@ -32,6 +32,8 @@ #define inverse_sqrt(input) rsqrt(input) // Calculate negative #define neg(input) (-input) +// Calculate sine +#define sine(input) sin(input) /** Applies element wise unary operator in a tensor. * |