Optimize SIMD code with vectorization-friendly data layout
Introduction
What exactly is data layout?
Improve data alignment
Increase complexity
Write hand optimized SIMD code
Structure of arrays
Migrate to the Scalable Vector Extension (SVE)
Next Steps
Optimize SIMD code with vectorization-friendly data layout
Who is this for?
This is an advanced topic for C/C++ developers who are interested in improving the performance of SIMD code.
What will you learn?
Upon completion of this Learning Path, you will be able to:
- Comprehend the importance of data layout when writing SIMD code
Prerequisites
Before starting, you will need the following:
- An Arm computer running Linux and a recent version of Clang or the GNU compiler (gcc) installed.