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

Function gforDim

src/api/cpp/array.cpp:53–58  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

51
52namespace {
53int gforDim(af_index_t *indices) {
54 for (int i = 0; i < AF_MAX_DIMS; i++) {
55 if (indices[i].isBatch) { return i; }
56 }
57 return -1;
58}
59
60af_array gforReorder(const af_array in, unsigned dim) {
61 // This is here to stop gcc from complaining

Callers 1

array.cppFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected