MCPcopy Create free account
hub / github.com/ComputationalRobotics/XM-code / DeviceStream

Method DeviceStream

XM/include/Utils/memory.h:26–26  ·  view source on GitHub ↗

Initialize using the index of GPU

Source from the content-addressed store, hash-verified

24
25 // Initialize using the index of GPU
26 DeviceStream(): gpu_id(0), stream(NULL) {}
27 DeviceStream(const size_s gpu_id): gpu_id(gpu_id), stream(NULL) {}
28
29 inline void set_gpu_id(const size_s gpu_id) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected