MCPcopy 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
534template<typename T>
535void Array<T>::setDataDims(const dim4 &new_dims) {
536 data_dims = new_dims;
537 modDims(new_dims);
538}
539
540template<typename T>
541size_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