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

Function create_window

tests/validation/UNIT/WindowIterator.cpp:46–55  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

44
45template <typename Dim, typename... Dims>
46Window create_window(Dim &&dim0, Dims &&...dims)
47{
48 Window win;
49 const std::array<Dim, 1 + sizeof...(Dims)> dimensions{{dim0, std::forward<Dims>(dims)...}};
50 for (size_t i = 0; i < dimensions.size(); i++)
51 {
52 win.set(i, dimensions[i]);
53 }
54 return win;
55}
56
57template <typename T>
58std::vector<T> create_vector(std::initializer_list<T> list_objs)

Callers 1

WindowIterator.cppFile · 0.85

Calls 2

sizeMethod · 0.45
setMethod · 0.45

Tested by

no test coverage detected