Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

parallelization with openmp or tbb

Hello,

I was wondering if there was a more preconized parallel library to use with opencv (I mean to use the parallelized code of the library) ?

I tried tbb and it works fine, I was just wondering if it would be even better with openmp ?

I realize it would be more a question like "openmp vs tbb performance", but just to know if some people have experienced some differences ?

And question related, is there a documentation where I can see which feature of opencv is parallelized, or should I look the code ? Because I am parallelizing my app, and I wouldn't want to overload the cpus by using an opencv-parallelized-method in my own parallelized loop (Well it would use the available cpu resources, but I want to let some cores available for other processes) :)

But maybe the question I should answer is "is it more efficient to use parallelized library and at same time parallelize your code" ... maybe it's better to choose one way or other, not to mix ? What do you think ?

Thanx :)