AVX Programming, how to do within C mex file
조회 수: 5 (최근 30일)
이전 댓글 표시
Hi everybody, fma operations or more generally using avx programming may be very usefull on some circonstancies, better accuracy within dot product for example, faster execution of unrolled loop as blas routines do,....
Is it possible to use this approach within C mex file? Is it nessessary to add specific compilation options at mex command?
Any help or hints about this subject will be great. I have not the fixed-point designer toolbox which probably answers to my question. However I don't use any fixed-point arithmetic.
Best regards
Alain
댓글 수: 0
채택된 답변
Walter Roberson
2023년 10월 25일
이동: Walter Roberson
2023년 10월 26일
If you are using Visual Studio then see https://devblogs.microsoft.com/cppblog/avx-512-auto-vectorization-in-msvc/
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Matrix Indexing에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!