Building OpenCV 3.2 with MKL and simd optimization

asked 2017-05-02 07:42:27 -0500

lovaj gravatar image

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?

edit retag flag offensive close merge delete