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

Function update_window_and_padding

src/core/helpers/WindowHelpers.h:46–55  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

44 */
45template <typename... Ts>
46bool update_window_and_padding(Window &win, Ts &&...patterns)
47{
48 bool window_changed = false;
49
50 utility::for_each([&](const IAccessWindow &w) { window_changed |= w.update_window_if_needed(win); }, patterns...);
51
52 utility::for_each([&](IAccessWindow &w) { w.update_padding_if_needed(win); }, patterns...);
53
54 return window_changed;
55}
56
57/** Intersect multiple valid regions.
58 *

Callers 15

configureMethod · 0.85
configureMethod · 0.85
configureMethod · 0.85

Calls 3

for_eachFunction · 0.85

Tested by

no test coverage detected