mirror of
https://github.com/opencv/opencv.git
synced 2024-11-25 19:50:38 +08:00
Update documentation for getCudaEnabledDeviceCount
Inform users that getCudaEnabledDeviceCount can return -1 in some cases.
This commit is contained in:
parent
0a63ab36bb
commit
8f19363c07
@ -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();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user