AVX Programming, how to do within C mex file
9 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Alain Barraud
am 25 Okt. 2023
Verschoben: Walter Roberson
am 26 Okt. 2023
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 Kommentare
Akzeptierte Antwort
Walter Roberson
am 25 Okt. 2023
Verschoben: Walter Roberson
am 26 Okt. 2023
If you are using Visual Studio then see https://devblogs.microsoft.com/cppblog/avx-512-auto-vectorization-in-msvc/
1 Kommentar
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Algorithm Design Basics finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!