MCPcopy Create free account
hub / github.com/davisking/dlib / memcpy

Function memcpy

dlib/cuda/gpu_data.cpp:21–31  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

19// ----------------------------------------------------------------------------------------
20
21 void memcpy (
22 gpu_data& dest,
23 const gpu_data& src
24 )
25 {
26 DLIB_CASSERT(dest.size() == src.size());
27 if (src.size() == 0 || &dest == &src)
28 return;
29
30 memcpy(dest,0, src, 0, src.size());
31 }
32
33 void memcpy (
34 gpu_data& dest,

Callers

nothing calls this directly

Calls 7

device_readyMethod · 0.80
maxFunction · 0.50
minFunction · 0.50
sizeMethod · 0.45
hostMethod · 0.45
device_write_onlyMethod · 0.45
deviceMethod · 0.45

Tested by

no test coverage detected