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

Function getOffset

src/api/cpp/internal.cpp:32–36  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

30}
31
32dim_t getOffset(const array &in) {
33 dim_t offset;
34 AF_THROW(af_get_offset(&offset, in.get()));
35 return offset;
36}
37
38void *getRawPtr(const array &in) {
39 void *ptr = NULL;

Callers 1

TESTFunction · 0.50

Calls 2

af_get_offsetFunction · 0.50
getMethod · 0.45

Tested by

no test coverage detected