MCPcopy Create free account
hub / github.com/ARM-software/ComputeLibrary / run

Method run

src/core/CL/ICLSimple2DKernel.cpp:30–44  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

28using namespace arm_compute;
29
30void ICLSimple2DKernel::run(const Window &window, cl::CommandQueue &queue)
31{
32 ARM_COMPUTE_ERROR_ON_UNCONFIGURED_KERNEL(this);
33 ARM_COMPUTE_ERROR_ON_INVALID_SUBWINDOW(ICLKernel::window(), window);
34
35 Window slice = window.first_slice_window_2D();
36
37 do
38 {
39 unsigned int idx = 0;
40 add_2D_tensor_argument(idx, _input, slice);
41 add_2D_tensor_argument(idx, _output, slice);
42 enqueue(queue, *this, slice, lws_hint());
43 } while (window.slide_window_slice_2D(slice));
44}

Callers

nothing calls this directly

Calls 2

first_slice_window_2DMethod · 0.80
slide_window_slice_2DMethod · 0.80

Tested by

no test coverage detected