Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/arrayfire/arrayfire
/ setDataDims
Method
setDataDims
src/backend/opencl/Array.cpp:535–538 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
533
534
template<typename T>
535
void Array<T>::setDataDims(const dim4 &new_dims) {
536
data_dims = new_dims;
537
modDims(new_dims);
538
}
539
540
template<typename T>
541
size_t Array<T>::getAllocatedBytes() const {
Callers
4
sort
Function · 0.45
sort_index
Function · 0.45
sort_by_key
Function · 0.45
sortBatched
Function · 0.45
Calls
1
modDims
Function · 0.50
Tested by
no test coverage detected