MCPcopy Create free account
hub / github.com/apache/arrow / device_id

Function device_id

cpp/src/arrow/device.h:68–68  ·  view source on GitHub ↗

\brief A device ID to identify this device if there are multiple of this type. If there is no "device_id" equivalent (such as for the main CPU device on non-numa systems) returns -1.

Source from the content-addressed store, hash-verified

66 /// If there is no "device_id" equivalent (such as for the main CPU device on
67 /// non-numa systems) returns -1.
68 virtual int64_t device_id() const { return -1; }
69
70 /// \brief Whether this device is the main CPU device.
71 ///

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected