Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Unknown Error during CUDA GPU Matching

Hello,

I'm trying to run the example file "surf_keypoint_matcher.cpp". I've downloaded and compiled the latest version of both 'opencv' and 'opencv_contrib' for Windows and VS2010.

The application compiles and runs the feature detection fine. However when it attempts to run the brutefore matcher (in the lines of code shown below), I get a graphic's card crash and an Unknown Error.

65:  Ptr<cv::cuda::DescriptorMatcher> matcher = 
                   cv::cuda::DescriptorMatcher::createBFMatcher(surf.defaultNorm());
66:  vector<DMatch> matches;    
67:  matcher->match(descriptors1GPU, descriptors2GPU, matches);

The error I'm seeing is:

OpenCV Error: Gpu API call (unknown error) in cv::cuda::device::bf_match::matchUnrolledCached, file  C:/....../cudafeatures2d/src/cuda/bf_match.cu, line 183

I'm currently in the process of trying a bunch of different NVIDIA drivers to see if that fixes it, however I've had no luck so far. I'm running a Quadro 2000 and CUDA 6.5.

Thanks for your help!