I have compiled OpenCV by using Intel C++ Compiler. I have used the following flags for compilation:
-O3 -xAVX -march=corei7-avx -openmp -parallel -ipp -mkl -tbb -opt-matmul -std=c++0x -g0
The problem is that: Whenever I run opencv unit tests, some tests are failed due to accuracy problems. Unit tests output for OpenCV core module is attached to this post.
Due to these problems, I have read about floating point operations from compiler's reference guide.
As I have learnt from compiler's reference guide default fp-model is fast, then I have used following option to generate consistent floating point operations: -fp-model precise. This option is not working too.
I work on a 32-bit Ubuntu distro, and using 32 bit compiler environment variables by using following command:
source /path/to/compiler/compilervars.sh -ia32
What do you suggest?