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

Function af_get_offset

src/api/c/internal.cpp:156–163  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

154}
155
156af_err af_get_offset(dim_t *offset, const af_array arr) {
157 try {
158 dim_t res = getInfo(arr).getOffset();
159 std::swap(*offset, res);
160 }
161 CATCHALL;
162 return AF_SUCCESS;
163}
164
165af_err af_get_raw_ptr(void **ptr, const af_array arr) {
166 try {

Callers 1

getOffsetFunction · 0.50

Calls 2

swapFunction · 0.85
getOffsetMethod · 0.45

Tested by

no test coverage detected