MCPcopy Create free account
hub / github.com/arrayfire/arrayfire / regions

Function regions

src/backend/cpu/regions.cpp:28–33  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

26
27template<typename T>
28Array<T> regions(const Array<char> &in, af_connectivity connectivity) {
29 Array<T> out = createValueArray(in.dims(), static_cast<T>(0));
30 getQueue().enqueue(kernel::regions<T>, out, in, connectivity);
31
32 return out;
33}
34
35#define INSTANTIATE(T) \
36 template Array<T> regions<T>(const Array<char> &in, \

Callers

nothing calls this directly

Calls 4

createValueArrayFunction · 0.70
getQueueFunction · 0.50
dimsMethod · 0.45
enqueueMethod · 0.45

Tested by

no test coverage detected