Software Tuning, Performance Optimization & Platform Monitoring
Discussion regarding monitoring and software tuning methodologies, Performance Monitoring Unit (PMU) of Intel microprocessors, and platform updating.
Announcements
FPGA community forums and blogs on community.intel.com are migrating to the new Altera Community and are read-only. For urgent support needs during this transition, please visit the FPGA Design Resources page or contact an Altera Authorized Distributor.

MKL Library: AVX vs SSE

Animesh_J_
Beginner
2,188 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
2,188 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
2,189 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
2,188 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