Closed ghfue closed 3 days ago
I can observe the same issue on Windows 11 with Visual Studio 2022 going from CUDA 12.5 to 12.6.
That is really strange, it seems that <cuda/std/tuple>
is not properly included
That is really strange, it seems that
<cuda/std/tuple>
is not properly included
Is it related to the namespace clach referenced in https://github.com/opencv/opencv_contrib/pull/3744?
Added branch with std::array instead of std::tuple in split-merge and grid operations. The new branch got rid of namespace clash: cv::cuda in OpenCV and ::cuda in CUDA standard library (injected by Thrust). Old tuple branches presumed for compatibility with old code and CUDA versions before 12.4.
I have the same issue on Windows 11 with Visual Studio 2022 ,openCV 5.x and CUDA 12.6
Severity Code Description Project File Line Suppression State Details
Error incomplete type "cuda::std::4::tuple_size<cv::cudev::PtrTraitsBase<cv::cudev::ZipPtrSz<thrust::THRUST_200500_860_890_900NS::tuple<cv::cudev::PtrTraitsBase<cv::cudev::GpuMat
same prob here
me too
same issue here. Windows11 + CUDA 12.6 + opencv/opencv_contrib 4.x + VS 2022
same problem here. Ubuntu 22 CUDA 12.6
Any news @asmorkalov? Do you suggest to wait or to downgrade to cuda 12.5?
Please downgrade for now.
ZipPtr
is inherited from tuple
. Since CUDA 12.6 template magic with tuple_size<cv::cudev::ZipPtr<>
stops working.
I am missing the include for cuda/std/tuple
in the source file, can you verify that you did not accidentally relied on transitive includes
System information (version)
Detailed description
The build breaks when upgrading from CUDA 12.5 to CUDA 12.6.
Here is the full build error:
Steps to reproduce
Build OpenCV with CUDA and cudnn with CUDA 12.6.
Issue submission checklist