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

Method configure

src/core/CL/ICLSimpleKernel.cpp:39–59  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

37}
38
39void 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}

Callers

nothing calls this directly

Calls 7

StepsClass · 0.85
calculate_max_windowFunction · 0.50
infoMethod · 0.45
set_valid_regionMethod · 0.45
valid_regionMethod · 0.45

Tested by

no test coverage detected