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

Method copy_to_device

dlib/cuda/gpu_data.cpp:127–134  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

125 }
126
127 void gpu_data::
128 copy_to_device() const
129 {
130 // We want transfers to the device to always be concurrent with any device
131 // computation. So we use our non-default stream to do the transfer.
132 async_copy_to_device();
133 wait_for_transfer_to_finish();
134 }
135
136 void gpu_data::
137 copy_to_host() const

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected