| 37 | } |
| 38 | |
| 39 | void ICLSimpleKernel::configure(const ICLTensor *input, |
| 40 | ICLTensor *output, |
| 41 | unsigned int num_elems_processed_per_iteration, |
| 42 | bool border_undefined, |
| 43 | const BorderSize &border_size) |
| 44 | { |
| 45 | _input = input; |
| 46 | _output = output; |
| 47 | |
| 48 | // Configure kernel window |
| 49 | Window win = |
| 50 | calculate_max_window(*input->info(), Steps(num_elems_processed_per_iteration), border_undefined, border_size); |
| 51 | AccessWindowHorizontal output_access(output->info(), 0, num_elems_processed_per_iteration); |
| 52 | |
| 53 | update_window_and_padding(win, AccessWindowHorizontal(input->info(), 0, num_elems_processed_per_iteration), |
| 54 | output_access); |
| 55 | |
| 56 | output_access.set_valid_region(win, input->info()->valid_region(), border_undefined, border_size); |
| 57 | |
| 58 | ICLKernel::configure_internal(win); |
| 59 | } |
nothing calls this directly
no test coverage detected