AVX Programming, how to do within C mex file
6 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Alain Barraud
le 25 Oct 2023
Déplacé(e) : Walter Roberson
le 26 Oct 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 commentaires
Réponse acceptée
Walter Roberson
le 25 Oct 2023
Déplacé(e) : Walter Roberson
le 26 Oct 2023
If you are using Visual Studio then see https://devblogs.microsoft.com/cppblog/avx-512-auto-vectorization-in-msvc/
1 commentaire
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur Matrix Indexing dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!