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

Method getNode

src/backend/oneapi/Array.cpp:289–298  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

287
288template<typename T>
289Node_ptr Array<T>::getNode() {
290 if (node) { return node; }
291
292 AParam<T, sycl::access_mode::read> info = *this;
293 unsigned bytes = this->dims().elements() * sizeof(T);
294 auto nn = bufferNodePtr<T>();
295 nn->setData(info, data, bytes, isLinear());
296
297 return nn;
298}
299
300template<typename T>
301Node_ptr Array<T>::getNode() const {

Callers 9

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

Calls 4

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

Tested by

no test coverage detected