System information (version)
- OpenCV => Master
- Operating System / Platform => Windows 64 Bit
- Compiler => Visual Studio 2015
Detailed description
The CUDA canny edge detector (cudaimgproc/src/canny.cpp) has a bug on line 221, which is:
map_.setTo(Scalar::all(0));
This call is ignoring the stream, which when using prioritized streams causes synchronization problems. The line should be:
map_.setTo(Scalar::all(0), stream);
Steps to reproduce
The code is self-evident.
System information (version)
Detailed description
The CUDA canny edge detector (cudaimgproc/src/canny.cpp) has a bug on line 221, which is:
map_.setTo(Scalar::all(0));This call is ignoring the stream, which when using prioritized streams causes synchronization problems. The line should be:
map_.setTo(Scalar::all(0), stream);Steps to reproduce
The code is self-evident.