This is a very basic SIMD example, using AVX (Advanced Vector Extensions).
- Under GNU/Linux run
maketo compile and run.
Make sure that clang is installed.
- Under Micorsoft Windows in a
x64 Native tools Command Promptrunbuild.bat.
uses
cl.exe
- to use AVX512 enable the
__m512part of the code and add-mavx512fflag.