Using Multiple CUDA devices with OpenCV [closed]
After scouring the internet for information on utilizing multiple NVIDIA CUDA enabled devices in the same program to provide a performance boost, I found out that there wasn't a whole lot of information available, and that there were several unanswered questions on here from users struggling with the same problem.
Anyway, I am kinda answering my own question with my blog post in hopes to get internet points. The blog explains how to share data between threads that manage a CUDA device. Anyway I hope someone finds this useful. Sorry if I broke the forum rules. Here is my blog post
You did not break any forum rules, however do consider to contribute your findings as an online tutorial added to the documentations using a pull request to the repository. That would indeed help people out by referring to that tutorial.
Also just a small notice, it has been proven before that OpenCV is not always thread safe. So you should check your data at all possible moments in order to ensure that data doesn't gets addressed by two threads at the same time.