MCPcopy Create free account
hub / github.com/Xtra-Computing/thundersvm / device_data

Method device_data

src/thundersvm/syncmem.cpp:41–48  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

39 }
40
41 void *SyncMem::device_data() {
42#ifdef USE_CUDA
43 to_device();
44#else
45 NO_GPU;
46#endif
47 return device_ptr;
48 }
49
50 size_t SyncMem::size() const {
51 return size_;

Callers 4

TESTFunction · 0.45
TESTFunction · 0.45
predict_dec_valuesMethod · 0.45
solveMethod · 0.45

Calls

no outgoing calls

Tested by 2

TESTFunction · 0.36
TESTFunction · 0.36