aboutsummaryrefslogtreecommitdiff
path: root/src/core/CL/kernels/CLIm2ColKernel.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/CL/kernels/CLIm2ColKernel.cpp')
-rw-r--r--src/core/CL/kernels/CLIm2ColKernel.cpp14
1 files changed, 0 insertions, 14 deletions
diff --git a/src/core/CL/kernels/CLIm2ColKernel.cpp b/src/core/CL/kernels/CLIm2ColKernel.cpp
index 671058106e..44012690e7 100644
--- a/src/core/CL/kernels/CLIm2ColKernel.cpp
+++ b/src/core/CL/kernels/CLIm2ColKernel.cpp
@@ -111,20 +111,6 @@ std::pair<Status, Window> validate_and_configure_window(ITensorInfo *input, ITen
if(data_layout == DataLayout::NHWC)
{
win = calculate_max_window(*input, Steps(num_elems_processed_per_iteration));
-
- const int xin_start = 0;
- const int xin_end = input->dimension(0);
- const int yin_start = 0;
- const int yin_end = input->dimension(1);
-
- const int xout_start = 0;
- const int xout_end = output->dimension(0);
- const int yout_start = 0;
- const int yout_end = output->dimension(1);
-
- AccessWindowStatic input_access(input, xin_start, yin_start, xin_end, yin_end);
- AccessWindowStatic output_access(output, xout_start, yout_start, xout_end, yout_end);
- window_changed = window_changed || update_window_and_padding(win, input_access, output_access);
}
else
{