Matlab in AVX2 mode (for AMD CPU's)

72 次查看(过去 30 天)
MD 2019-12-17
回答: Andre ,2023-8-17
In several questions about poor performance of AMD CPU'S, it is suggested to change Matlab to AVX2 mode. With the mostly accepted answer being:
When I look at the system requirements it is recommended to use "Any Intel or AMD x86-64 processor with four logical cores and AVX2 instruction set support" ,see:
However this made me think: if AVX2 increases performance significantly and is suggested to be supported by the CPU, why isn't this enabled by default for AMD CPU'S.
Therefore the following questions:
  1. Does this introduce instability or unwanted behaviour
  2. Are there other performance penalties caused by AVX2 mode
  3. Are there other disadvantages when using AVX2 mode?
Thanks in advance


Yair Altman
Yair Altman 2020-4-1
编辑:Yair Altman 2020-4-2

更多回答(1 个)

Andre 2023-8-17
sry to necro this thread, but i was searching for AVX512 in this regard, but didnt find a definite answer to this. is AVX512 supported in the latest build and if so, do i have to force using it like AVX2 ?


Help CenterFile Exchange 中查找有关 Startup and Shutdown 的更多信息

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by