From e2428a013014feac81af60f65f9b16cc244327aa Mon Sep 17 00:00:00 2001 From: Usama Arif Date: Thu, 9 May 2019 11:03:17 +0100 Subject: COMPMID-2194: Refactor activation function macro in OpenCL. New Macros for activation. This commit contains the new macros for activation. Only the activation_layer utilizes the new macros in this commit. Change-Id: I2fa8567cc876e8cb67a1e876652bc348b7ed23ea Signed-off-by: Usama Arif Reviewed-on: https://review.mlplatform.org/c/1104 Comments-Addressed: Arm Jenkins Reviewed-by: Gian Marco Iodice Tested-by: Arm Jenkins --- src/core/CL/kernels/CLActivationLayerKernel.cpp | 1 - 1 file changed, 1 deletion(-) (limited to 'src/core/CL/kernels/CLActivationLayerKernel.cpp') diff --git a/src/core/CL/kernels/CLActivationLayerKernel.cpp b/src/core/CL/kernels/CLActivationLayerKernel.cpp index 100184d2f3..d601dfc20d 100644 --- a/src/core/CL/kernels/CLActivationLayerKernel.cpp +++ b/src/core/CL/kernels/CLActivationLayerKernel.cpp @@ -134,7 +134,6 @@ void CLActivationLayerKernel::configure(ICLTensor *input, ICLTensor *output, Act CLBuildOptions build_opts; build_opts.add_option_if(!is_logistic_activation_quantized, "-DACT=" + lower_string(string_from_activation_func(act_info.activation()))); build_opts.add_option(("-DDATA_TYPE=" + get_cl_type_from_data_type(dt))); - build_opts.add_option(("-DSELECT_DATA_TYPE=" + get_cl_select_type_from_data_type(dt))); build_opts.add_option(("-DVEC_SIZE=" + support::cpp11::to_string(num_elems_processed_per_iteration))); if(is_data_type_quantized(dt)) -- cgit v1.2.1