1
0
mirror of https://github.com/opencv/opencv.git synced 2026-07-30 07:43:03 +04:00

Merge pull request #8542 from jveitchmichaelis:update-cudadevo-doc

Update documentation for getCudaEnabledDeviceCount
This commit is contained in:
Alexander Alekhin
2017-05-23 17:07:20 +03:00
committed by GitHub
+2 -1
View File
@@ -595,7 +595,8 @@ private:
/** @brief Returns the number of installed CUDA-enabled devices.
Use this function before any other CUDA functions calls. If OpenCV is compiled without CUDA support,
this function returns 0.
this function returns 0. If the CUDA driver is not installed, or is incompatible, this function
returns -1.
*/
CV_EXPORTS int getCudaEnabledDeviceCount();