- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Which compiler flags should be used for OpenCV compilation to get best performance from library?
I want to benefit from vectorization properties of compiler and want machine code of OpenCV which fully benefits SSE and AVX instructions.
At least some clues about this issue will be fine for me.
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I will give them a try and share the results, thank you so much.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Himm that's a very good idea. I will give them try in a batch. Whenever I complete my profiler, I will compile different builds of OpenCV by using this way and profile these different builds. I will share profiler results with you.
Thank you so much for your concern.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Is there any recommendations based on personal experience? I'm currently compiling opencv with icc and would appreciate any pointers.
thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Try to compile openCV programs with various compiler settings and later test your code with Intel VTune profiler.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
>>>fp:fast=2>>>
Instead of /fp:fast compiler option you can use more safe /fp:precise.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
HI,
I want to compile Opencv codes for image processing in Ubuntu, but when i use only the processor to run the code it's slow and for more reliability i want to use the Intel C/C++ compiler what are the changes that should be made in order to make it work. i found the Cmake cchanges and tried it but still it did'nt get through it completely.
Thanks,
Dinesh.

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page