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

MKL Library: AVX vs SSE

Animesh_J_
Beginner
419 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
Black Belt
419 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

2 Replies
TimP
Black Belt
420 Views

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

Animesh_J_
Beginner
419 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.

Reply