cuda optflow TVL1 : run safely in async mode#17556
cuda optflow TVL1 : run safely in async mode#17556opencv-pushbot merged 2 commits intoopencv:3.4from
Conversation
|
@nglee Thank you for the contribution! Could you please take a look on this error message (from Custom builder)? (perhaps it is enough to define destructor of the base class as |
629d006 to
69a298b
Compare
|
@alalek Build error is now fixed! |
also modify cuda canny to use createTextureObjectPitch2D, etc.
69a298b to
2043e06
Compare
|
It is ready to be merged. I've also tested with OP's test code in #16013. |
alalek
left a comment
There was a problem hiding this comment.
Well done! Thank you for contribution 👍
|
Hi @nglee , I see build error on Jetson TX1 and TX2. The direct cause come from this line We only enable C++11 feature on master, not on 3.4, but it seems
I appreciate if you could have a look on this. |
|
Thank you for investigation. Would you please check your g++ version?
To enable c++14 via cmake, maybe we can try this flag: Just removing the lines with |
|
Jetson TX1 GCC 5.4.0 |
Fixes #16013
We are going to use texture object, rather than texture reference.
It allows us to run the algorithm asynchronously.
This is similar to what's been done in #11483
Pull Request Readiness Checklist
See details at https://github.com/opencv/opencv/wiki/How_to_contribute#making-a-good-pull-request
Patch to opencv_extra has the same branch name.