Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/davisking/dlib
/ gpu_data
Method
gpu_data
dlib/cuda/gpu_data.h:50–53 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
48
public:
49
50
gpu_data(
51
) : data_size(0), host_current(true), device_current(true),have_active_transfer(false),device_in_use(false), the_device_id(0)
52
{
53
}
54
55
// Not copyable
56
gpu_data(const gpu_data&) = delete;
Callers
nothing calls this directly
Calls
1
swap
Function · 0.50
Tested by
no test coverage detected