Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
join
Function · 0.45
reshape
Function · 0.45
lookup
Function · 0.45
convolve2
Function · 0.45
index
Function · 0.45
getAllocatedBytes
Method · 0.45
checkAndMigrate
Function · 0.45
Array
Method · 0.45
evalMultiple
Function · 0.45
getNode
Method · 0.45
flat
Function · 0.45
diff
Function · 0.45
Calls
no outgoing calls
Tested by
no test coverage detected