aboutsummaryrefslogtreecommitdiff
path: root/src/core/CL/kernels/CLROIPoolingLayerKernel.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/CL/kernels/CLROIPoolingLayerKernel.cpp')
-rw-r--r--src/core/CL/kernels/CLROIPoolingLayerKernel.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/core/CL/kernels/CLROIPoolingLayerKernel.cpp b/src/core/CL/kernels/CLROIPoolingLayerKernel.cpp
index df7687edea..c32ec1bb2b 100644
--- a/src/core/CL/kernels/CLROIPoolingLayerKernel.cpp
+++ b/src/core/CL/kernels/CLROIPoolingLayerKernel.cpp
@@ -52,8 +52,8 @@ std::pair<Status, Window> validate_and_configure_window(ITensorInfo *input, ITen
auto_init_if_empty((*output), output_shape, 1, input->data_type());
// Configure kernel window
- const unsigned int num_elems_processed_per_iteration = 1;
- Window win = calculate_max_window(*output, Steps(num_elems_processed_per_iteration));
+ constexpr unsigned int num_elems_processed_per_iteration = 1;
+ Window win = calculate_max_window(*output, Steps(num_elems_processed_per_iteration));
AccessWindowHorizontal output_access(output, 0, num_elems_processed_per_iteration);
AccessWindowHorizontal input_access(input, input->valid_region().start(0), num_elems_processed_per_iteration);
@@ -145,4 +145,4 @@ void CLROIPoolingLayerKernel::run(const Window &window, cl::CommandQueue &queue)
enqueue(queue, *this, slice);
}
-} // namespace arm_compute \ No newline at end of file
+} // namespace arm_compute