Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

getCudaEnabledDeviceCount() returns 0 ?!!


I have installed the pre-compiled OpenCV 2.4.6 and CUDA 5.0 with latest graphics drivers.

While I call the getCudaEnabledDeviceCount() it returns 0 and I can not use its functions. However, when I ran the deviceQuery test I saw that I have a compatible graphics card and every thing is OK! (The code successfully runs with CPU functions)

I wonder why openCV can not access my Graphic Card?