Ask Your Question
1

parallel processing in Windows

asked Apr 12 '13

hjf gravatar image

updated Apr 12 '13

I developed an application with OpenCV on Linux, using TBB there to exploit the parallel capabilities of opencv (mostly: knnsearch in FLANN and SURF detection). It uses 100% of my cpu when needed, as expected.

I then ported this application to Windows, but it's only using 25% of my quad-core there. I'm using the prebuilt openCV binaries. I read that since 2.4.3, these are compiled using the Concurrency Framework. Aren't SURF and FLANN "concurrency framework aware"?

I don't have a problem compiling from source using TBB if needed, but i'd like to know if this functionality should work outside the box.

Preview: (hide)

1 answer

Sort by » oldest newest most voted
0

answered Apr 12 '13

Basically switch to the laters 2.4.5 version. There was an update included in 2.4.4 that does the TBB enabling for you, if the hardware is available. Also tons of functions were optimized for internal parallelization starting from version 2.4.4. So again, switch to a newer version and you won't have to bother with configuring TBB yourself.

Preview: (hide)

Comments

actually I'm using 2.4.5

hjf gravatar imagehjf (Apr 12 '13)edit

Question Tools

Stats

Asked: Apr 12 '13

Seen: 516 times

Last updated: Apr 12 '13