MCPcopy Create free account
hub / github.com/creatale/node-dv / setDevice

Method setDevice

deps/opencv/modules/core/src/gpumat.cpp:266–266  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

264int cv::gpu::getCudaEnabledDeviceCount() { return deviceInfoFuncTable()->getCudaEnabledDeviceCount(); }
265
266void cv::gpu::setDevice(int device) { deviceInfoFuncTable()->setDevice(device); }
267int cv::gpu::getDevice() { return deviceInfoFuncTable()->getDevice(); }
268
269void cv::gpu::resetDevice() { deviceInfoFuncTable()->resetDevice(); }

Callers

nothing calls this directly

Calls 1

deviceInfoFuncTableFunction · 0.85

Tested by

no test coverage detected