opencvsharp icon indicating copy to clipboard operation
opencvsharp copied to clipboard

CPU optimization build?

Open utarn opened this issue 7 years ago • 3 comments

Summary of your issue

I found that the OpenCV can be built with CPU optimization. https://github.com/opencv/opencv/wiki/CPU-optimizations-build-options

Environment

Intel recent generation or AMD Ryzen

What did you intend to be?

Is the release built with CPU DISPATCH optimization? If not, could you please guide me how to build with cpu optimization?

utarn avatar Apr 29 '19 22:04 utarn

opencvsharp is only a wrapper for OpenCV, you can build your own OpenCV (including opencv_contrib) from https://github.com/opencv/opencv and https://github.com/opencv/opencv_contrib with CMake flags you need.

hez2010 avatar May 05 '19 02:05 hez2010

My Cmake variables are: https://github.com/shimat/opencv_files_410/blob/master/CMakeVars_x64.txt The CPU DISPATCH flag values are unchanged from the default.

shimat avatar May 05 '19 03:05 shimat

Thank you. The build uses upto SSE4.2 and AVX which makes use of both ryzen and intel latest generation.

utarn avatar May 05 '19 05:05 utarn