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

Method elements

src/backend/cuda/Param.hpp:34–36  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

32 , ptr(iptr) {}
33
34 __DH__ size_t elements() const noexcept {
35 return dims[0] * dims[1] * dims[2] * dims[3];
36 }
37
38 dim_t *dims_ptr() { return dims; }
39 dim_t *strides_ptr() { return strides; }

Callers 15

joinFunction · 0.45
reshapeFunction · 0.45
lookupFunction · 0.45
convolve2Function · 0.45
indexFunction · 0.45
getAllocatedBytesMethod · 0.45
checkAndMigrateFunction · 0.45
ArrayMethod · 0.45
evalMultipleFunction · 0.45
getNodeMethod · 0.45
flatFunction · 0.45
diffFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected