Software Tuning, Performance Optimization & Platform Monitoring
Discussion regarding monitoring and software tuning methodologies, Performance Monitoring Unit (PMU) of Intel microprocessors, and platform updating.

MKL Library: AVX vs SSE

Animesh_J_
Beginner
1,495 Views

Hi,

I want to measure the performance difference between SSE2 and AVX implementations for a neural network application. I am using Intel MKL to perform the BLAS calculations so that I have the most optimized implementation. 

Is there anyway to instruct the MKL to release only SSE2 code even if machine supports AVX2. I know AVX2 will mostly perform better than SSE2. But I want to quantify that difference.

Regards,

Animesh Jain

0 Kudos
1 Solution
TimP
Honored Contributor III
1,495 Views

Mkl conditional numerical reproducibility offers options which should take care of this.  It has been discussed several times on mkl forum.

View solution in original post

0 Kudos
2 Replies
TimP
Honored Contributor III
1,496 Views

Mkl conditional numerical reproducibility offers options which should take care of this.  It has been discussed several times on mkl forum.

0 Kudos
Animesh_J_
Beginner
1,495 Views

Thank you. I am able to dispatch code variants with different SIMD extensions by using the following environment variables - MKL_CBWR, MKL_NUM_THREADS.

0 Kudos
Reply