arm_compute v17.04
[platform/upstream/armcl.git] / src / core / CL / kernels / CLActivationLayerKernel.cpp
index 2ca9d13..3e4abaa 100644 (file)
@@ -52,7 +52,7 @@ void CLActivationLayerKernel::configure(const ICLTensor *input, ICLTensor *outpu
     // Create kernel
     _kernel = static_cast<cl::Kernel>(CLKernelLibrary::get().create_kernel("activation_layer", build_opts));
 
-    //Make sure _kernel is initialized before calling the parent's configure
-    constexpr unsigned int processed_elements = 16;
-    ICLSimple2DKernel::configure(input, output, processed_elements);
+    // Make sure _kernel is initialized before calling the parent's configure
+    constexpr unsigned int num_elems_processed_per_iteration = 16;
+    ICLSimple2DKernel::configure(input, output, num_elems_processed_per_iteration);
 }