Matlab in AVX2 mode (for AMD CPU's)

63 ビュー (過去 30 日間)
Duintje
Duintje 2019 年 12 月 17 日
編集済み: Yair Altman 2020 年 4 月 2 日
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: https://nl.mathworks.com/matlabcentral/answers/396296-what-if-anything-can-be-done-to-optimize-performance-for-modern-amd-cpu-s#answer_401963.
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: https://nl.mathworks.com/support/requirements/matlab-system-requirements.html.
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 日

その他の回答 (0 件)

Community Treasure Hunt

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

Start Hunting!

Translated by