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

Function memcpy

dlib/cuda/gpu_data.h:222–228  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

220#else
221
222 inline void memcpy (gpu_data& dest, const gpu_data& src)
223 {
224 DLIB_CASSERT(dest.size() == src.size());
225 if (src.size() == 0 || &dest == &src)
226 return;
227 std::memcpy(dest.host_write_only(), src.host(), sizeof(float)*src.size());
228 }
229
230 inline void memcpy (
231 gpu_data& dest,

Callers

nothing calls this directly

Calls 5

maxFunction · 0.50
minFunction · 0.50
sizeMethod · 0.45
host_write_onlyMethod · 0.45
hostMethod · 0.45

Tested by

no test coverage detected