Using Multiple CUDA devices with OpenCV [closed]

asked 2014-10-18 15:52:15 -0600

drewski gravatar image

updated 2014-10-18 19:32:53 -0600

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

edit retag flag offensive reopen merge delete

Closed for the following reason the question is answered, right answer was accepted by sturkmen
close date 2020-09-26 08:16:34.174156

Comments

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.

StevenPuttemans gravatar imageStevenPuttemans ( 2014-10-20 05:53:18 -0600 )edit

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.

StevenPuttemans gravatar imageStevenPuttemans ( 2014-10-20 05:54:53 -0600 )edit