the launch timed out and was terminated in function icvCalcLayerDetAndTrace_gpu
OpenCV Error: Gpu API call (the launch timed out and was terminated) in icvCalcLayerDetAndTrace_gpu, file /home/ubuntu/cv/modules/opencv_contrib-master/modules/xfeatures2d/src/cuda/surf.cu, line 250
terminate called after throwing an instance of 'cv::Exception'
what(): /home/ubuntu/cv/modules/opencv_contrib-master/modules/xfeatures2d/src/cuda/surf.cu:250: error: (-217) the launch timed out and was terminated in function icvCalcLayerDetAndTrace_gpu
Anyone seen the error before ?
Look here. My first guess is that you have multiple threads and two threads are trying to access the same memory location ...