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

Method device_id

dlib/cuda/tensor.h:76–76  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

74 virtual any& annotation() = 0;
75
76 int device_id() const { return data().device_id(); }
77
78 tensor& operator= (float val)
79 {

Callers 3

raii_set_deviceMethod · 0.45
operator()Method · 0.45
enable_peer_accessMethod · 0.45

Calls 1

dataClass · 0.50

Tested by

no test coverage detected