MCPcopy 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
531template<typename T>
532void Array<T>::setDataDims(const dim4 &new_dims) {
533 data_dims = new_dims;
534 modDims(new_dims);
535}
536
537template<typename T>
538size_t Array<T>::getAllocatedBytes() const {

Callers 4

sortFunction · 0.45
sort_indexFunction · 0.45
sort_by_keyFunction · 0.45
sortBatchedFunction · 0.45

Calls 1

modDimsFunction · 0.50

Tested by

no test coverage detected