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

Method get

src/backend/opencl/Array.hpp:248–251  ·  view source on GitHub ↗

FIXME: This should do a copy if it is not owner. You do not want to overwrite parents data

Source from the content-addressed store, hash-verified

246 // FIXME: This should do a copy if it is not owner. You do not want to
247 // overwrite parents data
248 cl::Buffer *get() {
249 if (!isReady()) eval();
250 return data.get();
251 }
252
253 const cl::Buffer *get() const {
254 if (!isReady()) eval();

Callers 15

ArrayClass · 0.95
deviceMethod · 0.95
findPlanFunction · 0.45
reorderFunction · 0.45
getOpenCLCDeviceVersionFunction · 0.45
svdFunction · 0.45
fft_inplaceFunction · 0.45
fft_r2cFunction · 0.45
fft_c2rFunction · 0.45
joinFunction · 0.45
diagExtractFunction · 0.45
topkFunction · 0.45

Calls 1

evalClass · 0.70

Tested by

no test coverage detected