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

Function is_same_lws

src/core/CL/ICLKernel.h:44–60  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

42namespace
43{
44bool is_same_lws(cl::NDRange lws0, cl::NDRange lws1)
45{
46 if (lws0.dimensions() != lws1.dimensions())
47 {
48 return false;
49 }
50
51 for (size_t i = 0; i < lws0.dimensions(); ++i)
52 {
53 if (lws0.get()[i] != lws1.get()[i])
54 {
55 return false;
56 }
57 }
58
59 return true;
60}
61} // namespace
62template <typename T>
63class ICLArray;

Callers 1

configure_internalMethod · 0.85

Calls 2

dimensionsMethod · 0.80
getMethod · 0.45

Tested by

no test coverage detected