Compiling the opencv for GPU

asked 2015-10-23 17:32:37 -0500

thexnightmare gravatar image

Dear experts, I have few questions about compiling for GPU to get better performance: 1- When I compile for GPU, does it work then on all GPUs or only Cuda Geforce? 2- If the application run on a PC which dont have GPU, does it run? 3- Any straight forward tutorial for this? Thanks

edit retag flag offensive close merge delete


You can find something for opencv 2.4.11

For opencv 3.0 I don't know where you can find docs

LBerger gravatar imageLBerger ( 2015-10-24 09:43:52 -0500 )edit

Please don't use answer to add a new question.

About totallly lost what does it mean? What is your platform your IDE and opencv version?

LBerger gravatar imageLBerger ( 2015-12-06 11:38:26 -0500 )edit

I meant, i didnt found yet then answers!

thexnightmare gravatar imagethexnightmare ( 2015-12-06 12:07:16 -0500 )edit

In opencv 3.0 doc is here I think if you explicit Cuda function Gpu. I'm not an expert in GPU but I think that as all functions are in namespace cv::CUDA and hence if you haven't got GPU you will run in an exception

LBerger gravatar imageLBerger ( 2015-12-06 13:33:58 -0500 )edit

What baout other GPUs? like mobile GPUs? AMDs?

thexnightmare gravatar imagethexnightmare ( 2015-12-06 13:56:58 -0500 )edit

I think you have to use opencl

LBerger gravatar imageLBerger ( 2015-12-06 14:46:40 -0500 )edit


thexnightmare gravatar imagethexnightmare ( 2015-12-06 15:45:39 -0500 )edit