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

Method get

src/backend/cuda/Array.hpp:258–262  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

256 T *device() const { return const_cast<Array<T> *>(this)->device(); }
257
258 T *get(bool withOffset = true) {
259 if (!isReady()) eval();
260 return const_cast<T *>(
261 static_cast<const Array<T> *>(this)->get(withOffset));
262 }
263
264 // FIXME: implement withOffset parameter
265 const T *get(bool withOffset = true) const {

Callers 15

ArrayClass · 0.95
deviceMethod · 0.95
reorderFunction · 0.45
platform.cppFile · 0.45
svdInPlaceFunction · 0.45
createSpMatDescrFunction · 0.45
joinFunction · 0.45
diagExtractFunction · 0.45
copy_vector_fieldFunction · 0.45
reduce_by_key_dimFunction · 0.45
reduce_by_key_firstFunction · 0.45
indexFunction · 0.45

Calls 2

evalClass · 0.70
getOffsetFunction · 0.50

Tested by

no test coverage detected