| 133 | } |
| 134 | |
| 135 | void CLMeanStdDevNormalizationKernel::run(const Window &window, cl::CommandQueue &queue) |
| 136 | { |
| 137 | ARM_COMPUTE_ERROR_ON_UNCONFIGURED_KERNEL(this); |
| 138 | ARM_COMPUTE_ERROR_ON_INVALID_SUBWINDOW(ICLKernel::window(), window); |
| 139 | |
| 140 | Window slice = window.first_slice_window_2D(); |
| 141 | // Set slice step equal to width to force gws[0] to 1, as each thread normalizes across all rows |
| 142 | slice.set_dimension_step(Window::DimX, _input->info()->dimension(0)); |
| 143 | |
| 144 | do |
| 145 | { |
| 146 | unsigned int idx = 0; |
| 147 | add_2D_tensor_argument(idx, _input, slice); |
| 148 | add_2D_tensor_argument_if((!_run_in_place), idx, _output, slice); |
| 149 | |
| 150 | enqueue(queue, *this, slice, lws_hint()); |
| 151 | } while (window.slide_window_slice_2D(slice)); |
| 152 | } |
| 153 | } // namespace arm_compute |
nothing calls this directly
no test coverage detected