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

Method host_write_only

dlib/cuda/gpu_data.h:108–113  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

106 }
107
108 float* host_write_only()
109 {
110 host_current = true;
111 device_current = false;
112 return data_host.get();
113 }
114
115 const float* device() const
116 {

Callers 14

test_basic_tensor_opsFunction · 0.45
to_tensor_initMethod · 0.45
to_tensorMethod · 0.45
to_tensorMethod · 0.45
memcpyFunction · 0.45
scale_channelsFunction · 0.45

Calls 1

getMethod · 0.45

Tested by 1

test_basic_tensor_opsFunction · 0.36