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

Function af_wrap_v2

src/api/c/wrap.cpp:99–111  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

97}
98
99af_err af_wrap_v2(af_array* out, const af_array in, const dim_t ox,
100 const dim_t oy, const dim_t wx, const dim_t wy,
101 const dim_t sx, const dim_t sy, const dim_t px,
102 const dim_t py, const bool is_column) {
103 try {
104 ARG_ASSERT(0, out != 0); // need to dereference out in next call
105 af_wrap_common(out, in, ox, oy, wx, wy, sx, sy, px, py, is_column,
106 *out == 0);
107 }
108 CATCHALL;
109
110 return AF_SUCCESS;
111}

Callers 2

testSpclOutArrayMethod · 0.50
TEST_FFunction · 0.50

Calls 1

af_wrap_commonFunction · 0.85

Tested by

no test coverage detected