MCPcopy Create free account
hub / github.com/arrayfire/arrayfire / getNode

Method getNode

src/backend/opencl/Array.cpp:296–305  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

294
295template<typename T>
296Node_ptr Array<T>::getNode() {
297 if (node) { return node; }
298
299 KParam kinfo = *this;
300 unsigned bytes = this->dims().elements() * sizeof(T);
301 auto nn = bufferNodePtr<T>();
302 nn->setData(kinfo, data, bytes, isLinear());
303
304 return nn;
305}
306
307template<typename T>
308Node_ptr Array<T>::getNode() const {

Callers 10

realFunction · 0.45
imagFunction · 0.45
absFunction · 0.45
conjFunction · 0.45
joinFunction · 0.45
shiftFunction · 0.45
evalMultipleFunction · 0.45
createSelectNodeFunction · 0.45
copyArrayFunction · 0.45
operator()Method · 0.45

Calls 4

isLinearFunction · 0.85
elementsMethod · 0.45
dimsMethod · 0.45
setDataMethod · 0.45

Tested by

no test coverage detected