Commit 8f19363c authored by jveitchmichaelis's avatar jveitchmichaelis Committed by GitHub

Update documentation for getCudaEnabledDeviceCount

Inform users that getCudaEnabledDeviceCount can return -1 in some cases.
parent 0a63ab36
...@@ -595,7 +595,8 @@ private: ...@@ -595,7 +595,8 @@ private:
/** @brief Returns the number of installed CUDA-enabled devices. /** @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, 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(); CV_EXPORTS int getCudaEnabledDeviceCount();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment