OpenCV 3 and CUDA

asked 2015-09-19 11:30:19 -0500

lgos gravatar image

Recently I migrated to OpenCV 3.0 from 2.4.11 and I noticed that when using gpu (cuda) accelerated algorithms I do not get nvcuda.dll threads (when using VisualStudio debugger). Instead I get nvopencl.dll threads. I also noticed that algorithms are running slower. As I'm using a Nvidia gpu, I would like to know how I can get to run code optimized for cuda architecture.

I compiled openCV setting the flag WITH_CUDA and the architecture for my graphics card (gtx970), that is 5.2.

edit retag flag offensive close merge delete

Comments

Please make sure your Vs and CUDA are all installed in default path in case of numerous errors.

Sheng Liu gravatar imageSheng Liu ( 2015-09-19 12:04:18 -0500 )edit