arm_compute v17.04
[platform/upstream/armcl.git] / src / core / NEON / kernels / NEMeanStdDevKernel.cpp
index 3f2c169..4616203 100644 (file)
@@ -103,12 +103,12 @@ void NEMeanStdDevKernel::configure(const IImage *input, float *mean, uint64_t *g
     _global_sum         = global_sum;
     _global_sum_squared = global_sum_squared;
 
-    const unsigned int processed_elements = 16;
+    constexpr unsigned int num_elems_processed_per_iteration = 16;
 
     // Configure kernel window
-    Window win = calculate_max_window(*input->info(), Steps(processed_elements));
+    Window win = calculate_max_window(*input->info(), Steps(num_elems_processed_per_iteration));
 
-    update_window_and_padding(win, AccessWindowHorizontal(input->info(), 0, processed_elements));
+    update_window_and_padding(win, AccessWindowHorizontal(input->info(), 0, num_elems_processed_per_iteration));
 
     INEKernel::configure(win);
 }