aboutsummaryrefslogtreecommitdiff
path: root/src/core/CL/cl_kernels/elementwise_unary.cl
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/CL/cl_kernels/elementwise_unary.cl')
-rw-r--r--src/core/CL/cl_kernels/elementwise_unary.cl2
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 89bffed16d..866b7ee2b0 100644
--- a/src/core/CL/cl_kernels/elementwise_unary.cl
+++ b/src/core/CL/cl_kernels/elementwise_unary.cl
@@ -36,6 +36,8 @@
#define sin_op(input) sin(input)
// Calculate abs for floating point values
#define fabs_op(input) fabs(input)
+// Calculate natural_log
+#define natural_log_op(input) log(input)
/** Applies element wise unary operator in a tensor.
*