-
-
Notifications
You must be signed in to change notification settings - Fork 56.5k
Closed
Labels
bugcategory: build/installcategory: gpu/cuda (contrib)OpenCV 4.0+: moved to opencv_contribOpenCV 4.0+: moved to opencv_contrib
Milestone
Description
System Information
OpenCV version: 4.11.0
Operating System / Platform: Fedora 30 / x86_64
Compiler & compiler version: GCC 12
CUDA Toolkit version: 12.9.0
Detailed description
When building OpenCV with CUDA 12.9, the build fails due to the removal of nppGetStreamContext() from the public headers by NVIDIA. This API is still used in modules/core/include/opencv2/core/private.cuda.hpp.
✅ Proposed Fix (already submitted in PR)
https://github.com/opencv/opencv/pull/27288
In the affected file private.cuda.hpp, add a version guard and manually construct NppStreamContext for CUDA 12.9+
Steps to reproduce
Issue submission checklist
- I report the issue, it's not a question
- I checked the problem with documentation, FAQ, open issues, forum.opencv.org, Stack Overflow, etc and have not found any solution
- I updated to the latest OpenCV version and the issue is still there
- There is reproducer code and related data files (videos, images, onnx, etc)
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugcategory: build/installcategory: gpu/cuda (contrib)OpenCV 4.0+: moved to opencv_contribOpenCV 4.0+: moved to opencv_contrib
