Matlab in AVX2 mode (for AMD CPU's)
조회 수: 42 (최근 30일)
이전 댓글 표시
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:
- Does this introduce instability or unwanted behaviour
- Are there other performance penalties caused by AVX2 mode
- Are there other disadvantages when using AVX2 mode?
Thanks in advance
댓글 수: 0
채택된 답변
Yair Altman
2020년 4월 1일
편집: Yair Altman
2020년 4월 2일
This is apparently fixed on R2020a as reported by @NedFlanders (original credit is apparently due to @MichelKatz):
댓글 수: 0
추가 답변 (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 ?
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 Startup and Shutdown에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!