Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Building OpenCV 3.2 with MKL and simd optimization

Disclamer: I'm not a cmake expert, I used it only to build OpenCV.

Reading this it seems that we need to specify that we want to build OpenCV with MKL and simd support.

So do I have to add the following flags?

-DENABLE_AVX2=ON -DHAVE_MKL=ON -DMKL_WITH_TBB=ON

Digging a little bit on opencv repository in this file it seems we need only to enable ipp (with -DWITH_IPP=ON and optionally specify -DWITH_IPP if we want to provide our version of IPP).

Am I correct or I'm missing something?