AVX Programming, how to do within C mex file
7 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
Alain Barraud
il 25 Ott 2023
Spostato: Walter Roberson
il 26 Ott 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 Commenti
Risposta accettata
Walter Roberson
il 25 Ott 2023
Spostato: Walter Roberson
il 26 Ott 2023
If you are using Visual Studio then see https://devblogs.microsoft.com/cppblog/avx-512-auto-vectorization-in-msvc/
1 Commento
Più risposte (0)
Vedere anche
Categorie
Scopri di più su Matrix Indexing in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!