Ask Your Question

Revision history [back]

CMake for OpenCV (opencv.cpp) + CUDA (cuda.cu) code.

I am using OpenCV and also CUDA, i have done experiments with gpu:: functions available in OpenCV, but now i want to use cuda Kernel, and want to add .cu file with my current project. I am using CMake to build opencv+cuda code, and i am using Ubuntu, the main problem is that i don't know how to build CMake for these kind of projects ( I know only about OpenCV, .cpp projects), please help me if any one has the solution

Thanks in advance.