I have installed CUDA 6.5 on Ubuntu 14.04 os and also installed OpenCV 2.4.9 while compiling the Opencv gpu program I am getting the below error

asked 2015-02-07 06:44:41 -0600

amit_95 gravatar image

OpenCV Error: Gpu API call (invalid configuration argument) in call, file /root/opencv-2.4.9/modules/gpu/include/opencv2/gpu/device/detail/transform_detail.hpp, line 320 terminate called after throwing an instance of 'cv::Exception' what(): /root/opencv-2.4.9/modules/gpu/include/opencv2/gpu/device/detail/transform_detail.hpp:320: error: (-217) invalid configuration argument in function call

edit retag flag offensive close merge delete

Comments

"installed openCV 2.4.9" - how so ?

try a simple:

#include <opencv2/opencv.hpp>

int main() {
    return printf(cv::getBuildInformation());
}

and see, if cuda support was actually compiled in. (i doubt very much so)

berak gravatar imageberak ( 2015-02-07 06:54:00 -0600 )edit