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

CUDA version check #25303

Open
OgreTransporter opened this issue Apr 1, 2024 · 1 comment
Open

CUDA version check #25303

OgreTransporter opened this issue Apr 1, 2024 · 1 comment
Labels

Comments

@OgreTransporter
Copy link

Describe the feature and motivation

I have installed CUDA and was about to build OpenCV 4. In doing so, I noticed a whole series of build errors. The reason is probably the used CUDA version 12.4. Unfortunately it is quite difficult to find out which CUDA version is currently working. As of OpenCV 4.9, CUDA 12.2 is probably supported. Wouldn't it make sense to throw an error message in CMake when recognizing CUDA if the recognized CUDA version is not supported? Or to deactivate the CUDA parts?

Additional context

No response

@cudawarped
Copy link
Contributor

You would also need to check the version of cuDNN and the Nvidia Video Codec SDK. As of 18/03/24 the latest version of all three are not compatible with OpenCV 4.9.0 (released 28/12/2023) see

CUDA 12.4 (released 05/03/2024) - opencv/opencv_contrib#3690

cuDNN 9.0 (released Feb 2024)- #24983

Nvidia Video Codec 12.2 (released 18/03/2024) - opencv/opencv_contrib#3711

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants
@OgreTransporter @cudawarped and others