Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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_ops
Function · 0.45
compute_loss_value_and_gradient
Method · 0.45
compute_loss_value_and_gradient
Method · 0.45
compute_loss_value_and_gradient
Method · 0.45
compute_loss_value_and_gradient
Method · 0.45
compute_loss_value_and_gradient
Method · 0.45
compute_loss_value_and_gradient
Method · 0.45
to_tensor_init
Method · 0.45
to_tensor
Method · 0.45
to_tensor
Method · 0.45
memcpy
Function · 0.45
scale_channels
Function · 0.45
Calls
1
get
Method · 0.45
Tested by
1
test_basic_tensor_ops
Function · 0.36