AVX Programming, how to do within C mex file
6 views (last 30 days)
Show older comments
Alain Barraud
on 25 Oct 2023
Moved: Walter Roberson
on 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 Comments
Accepted Answer
Walter Roberson
on 25 Oct 2023
Moved: Walter Roberson
on 26 Oct 2023
If you are using Visual Studio then see https://devblogs.microsoft.com/cppblog/avx-512-auto-vectorization-in-msvc/
More Answers (0)
See Also
Categories
Find more on Matrix Indexing in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!