I am using OpenCV 2.3.1 with CUDA 4.0.
I have installed the OpenCV 2.3.1 by CMAKE with WITH_CUDA flag on. And then I compiled the OpenCV solution in release and debug mode, but still when I used the getCudaEnabledDevice
function of CV::GPU
it is returning 0. This means it is not detecting the CUDA enabled device.
It seems that I have done everything right, still what is happening??
Can Anybody suggest where can be the problem now??.
Thanks in advance.
I had the same problem. I fixed it by copying opencv_core243d.dll from E:\\opencv\\build\\gpu\\x64\\vc10\\lib
folder to the work directory with the .exe.
Don't know why that should matter but it did.
Using cuda 5.0
VS2010 express
win 7 x64
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.