Previous
The performances
Parent
Optimisation of saxpy
Outline
Next
The main_vectorize.cpp
Chapter 7.3 : The vectorization of Saxpy
7.3.1) The main_vectorize.cpp
7.3.2) The CMakeLists.txt
7.3.3) The compilation
7.3.4) The performances
We, again, have to inform the compiler :
The tables (or pointers) are aligned with
__builtin_assume_aligned
The tables (or pointers) do not overhead eachother with
__restrict__
Enable the vectorization with
-O3 -ftree-vectorize -march=native -mtune=native -mavx2
Previous
The performances
Parent
Optimisation of saxpy
Outline
Next
The main_vectorize.cpp