Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/arrayfire/arrayfire
/ setDataDims
Method
setDataDims
src/backend/oneapi/Array.cpp:532–535 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
530
531
template<typename T>
532
void Array<T>::setDataDims(const dim4 &new_dims) {
533
data_dims = new_dims;
534
modDims(new_dims);
535
}
536
537
template<typename T>
538
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