Ask Your Question
0

Is OpenCV 2.4.8 compatible with CUDA 5.5/6.0

asked 2014-06-30 05:24:58 -0600

Palvannan gravatar image

updated 2014-06-30 05:32:51 -0600

Hi Team,

I am using opencv 2.4.8 and i would like to use the gpu apis. I have CUDA5.5/6.0 toolkit in my machine (Red Hat 4.4.7), but i am unable to configure opencv with CUDA. I have used the following commands to configure : cmake -D CMAKE_BUILD_TYPE=RELEASE -D MAKE_INSTALL_PREFIX=/usr/local/home/<customdir> -D WITH_CUDA=ON -D WITH_CUDA=YES -D CUDA_TOOLKIT_ROOT_DIR=/usr/local/cuda ..

Currently the machine points to CUDA6.0(/usr/local/cuda -> CUDA6.0).

Could you please let me know if i am passing required arguments and is opencv 2.4.8 compatible with CUDA 6.0? Thanks for your assistance.

Regards,

Pal

edit retag flag offensive close merge delete

Comments

Yes it is possible! I have both 2.4.8 and 2.4.9 built with CUDA6.0 so that should not be the problem. A guide on how I did so can be found at our research group wiki It is in Dutch but I do think the commands are quite self explanatory!

StevenPuttemans gravatar imageStevenPuttemans ( 2014-06-30 07:54:28 -0600 )edit

1 answer

Sort by ยป oldest newest most voted
0

answered 2014-07-03 11:22:44 -0600

Palvannan gravatar image

Thanks Steven, i was able to configure with CUDA5.5 after updating the CMake version 3.0( the OpenCVCudaDetect.cmake mentioned the requirement for cmake 2.8.3 minimum) and I was having CMake 2.4.6 before. It was also mentioned in your wiki when i verified later. Even when my system was configured with CUDA 6.0, It automatically detects 5.5. For now i am fine, Will check later on this and update.

edit flag offensive delete link more

Question Tools

Stats

Asked: 2014-06-30 05:24:58 -0600

Seen: 435 times

Last updated: Jun 30 '14