Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

openCV with GPU #18

Closed
shivajid opened this issue Dec 20, 2016 · 4 comments
Closed

openCV with GPU #18

shivajid opened this issue Dec 20, 2016 · 4 comments
Assignees

Comments

@shivajid
Copy link

I was looking to use OpenCV with Cuda8. I have Cuda8, but have not been successful with getting openCV working with it. Is there any guidelines for that?

@nachomartinr
Copy link

nachomartinr commented Dec 20, 2016

You have to install Cuda Tookit 8 first (which I assume you have) and compile OpenCV with at least these flags
-D WITH_CUDA=ON
-D ENABLE_FAST_MATH=1
-D CUDA_FAST_MATH=1
-D WITH_CUBLAS=1

After you run cmake, you should get in the ouput that NVIDIA CUDA is enabled.

@shivajid
Copy link
Author

shivajid commented Dec 21, 2016

Thanks nachomartinr. I tried the above steps and had some issues with OpenCV, thus raised the issue. I was wondering if you can point me to the openCV version that you have have tried out.

@nachomartinr
Copy link

I have a GPU enabled OpenCV 3.1 installed in my computer, but compiled from sources. I had problems compiling it, but they weren't related to CUDA, but to the GCC version (OpenCV does not support GCC 6 yet). I don't know of any binary release with enabled GPU acceleration.

@baumanab baumanab self-assigned this Feb 18, 2018
@baumanab
Copy link
Contributor

Closed as out of scope for this repository.

escrowdis pushed a commit to escrowdis/CarND-LaneLines-P1 that referenced this issue Mar 5, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants