Recommendations on how to evaluate openCV with Intel's Integrated Performance Primitives?
Asked Answered
H

1

6

We have a fair amount of openCV code, and we plan on investigating Intel's IPP, and seeing what kind of speed ups we can achieve in our application.

Intel has a white paper on how to link OpenCV and IPP. Using Intel IPP with OpenCV It looks like the link may be automatic in some cases, but the amount of support is unclear.

We're a windows shop, and am interested in any war stories, or problems/issues to watch out for when performing this kind of evaluation.

Thanks

Hoogh answered 27/1, 2012 at 22:21 Comment(4)
AFAIR, OpenCV does not use much of IPP anymore, so I doubt you will see any improvements. Moreover, I found that sometimes corresponding IPP functions are actually slower than the OpenCV implementation... Get the evaluation license and check it out for the functions you need before spending any more of your time or moneyLocoweed
Sorry @inerdial, no idea what you're talking about.Hoogh
"LazyWeb" is when you make a blog post or such asking for information because you can't be bothered to do the research. SO is for when you've actually started working on something but hit a problem.Chyle
@inerdial thanks for clarifying. I agree, my post makes it look like I'm being lazy. I assure you I have not. I'd spent a few hours reading on this topic, but just unable to find any practical info. Most are very detailed case studies comparing different variations and not getting at the high level trade study style information that I'm needing to make a decision. I'm working other angles now on this problem.Hoogh
A
4

More and more less OpenCV has something to do with IPP. Later years IPP has difficulty to provide something great compared to results of GCC or any other decent compiler on Intel platforms. In old times IPP provided up to 50% of speedup but not anymore if we consider all GCC-s fancy features like TBB.

I read OpenCV lists for years and I cannot remind anyone speaking about IPP for long time. Search over my OpenCV mailbox also didn't expose anything. I suspect IPP support is something not so tested anymore and can even be very broken.

I have seen huge improvements by manual tuning OpenCV on non-Intel platforms. For example on IOS I got big boost replacing cos() and sin() by lookup tables. But IPP is for Intel only.

New trend seems to be GPU processing and there you can see 10 or 20 times speedup more likely. Engineers time is also expensive and instead of looking for hard work to get 20% of benefit, better invest into GPU if applicable.

Ankylosis answered 8/6, 2012 at 6:26 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.