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

Method query

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

Source from the content-addressed store, hash-verified

287bool cv::gpu::DeviceInfo::isCompatible() const { return deviceInfoFuncTable()->isCompatible(device_id_); }
288
289void cv::gpu::DeviceInfo::query()
290{
291 name_ = deviceInfoFuncTable()->name(device_id_);
292 multi_processor_count_ = deviceInfoFuncTable()->multiProcessorCount(device_id_);
293 majorVersion_ = deviceInfoFuncTable()->majorVersion(device_id_);
294 minorVersion_ = deviceInfoFuncTable()->minorVersion(device_id_);
295}
296
297void cv::gpu::printCudaDeviceInfo(int device) { deviceInfoFuncTable()->printCudaDeviceInfo(device); }
298void cv::gpu::printShortCudaDeviceInfo(int device) { deviceInfoFuncTable()->printShortCudaDeviceInfo(device); }

Callers

nothing calls this directly

Calls 5

deviceInfoFuncTableFunction · 0.85
nameMethod · 0.45
multiProcessorCountMethod · 0.45
majorVersionMethod · 0.45
minorVersionMethod · 0.45

Tested by

no test coverage detected