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

Method run

src/core/CL/kernels/CLBitwiseKernel.cpp:107–125  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

105}
106
107void CLBitwiseKernel::run(const Window &window, cl::CommandQueue &queue)
108{
109 ARM_COMPUTE_ERROR_ON_UNCONFIGURED_KERNEL(this);
110 ARM_COMPUTE_ERROR_ON_INVALID_SUBWINDOW(ICLKernel::window(), window);
111
112 Window slice = window.first_slice_window_2D();
113
114 do
115 {
116 unsigned int idx = 0;
117 add_2D_tensor_argument(idx, _input1, slice);
118 if (_input2 != nullptr)
119 {
120 add_2D_tensor_argument(idx, _input2, slice);
121 }
122 add_2D_tensor_argument(idx, _output, slice);
123 enqueue(queue, *this, slice, lws_hint());
124 } while (window.slide_window_slice_2D(slice));
125}
126} // namespace arm_compute

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