Additional Information
The MKL environmental variable MKL_DEBUG_CPU_TYPE allows overriding MKL's Processor Dispatch to manually pick a specific SSE instruction set. The available values are:
- For 64-bit processors:
- 4 for AVX (in use by Intel and AMD since 2011)
- 3 for SSE 4.2
- 2 for Supplemental SSE 3 (SSSE 3)
- 1 for SSE 2
- 0 for SSE
- For 32-bit processors:
- 5 for AVX
- 4 for SSE 4.2
- 3 for Supplemental SSE 3
- 2 for SSE 3
- 1 for SSE2
- 0 the SSE
Warning: Picking an SSE/AVX instruction set that the system's CPU does not support will make MKL non-functional. If so, pick a different instruction set.
Note: This setting has a huge performance impact on math-intensive functions that use the BLAS package. Use the maximum available SSE/AVX version.