simd-friendly code
nounUK /ˌes aɪ em ˈdiː ˈfrendli kəʊd/
US /ˌes aɪ em ˈdiː ˈfrendli koʊd/
Code written so a computer can do the same job on many pieces of data at once.
The programmer rewrote the loop as simd-friendly code so the compiler could vectorize it.
OTHER MEANINGS
2. Code structured to avoid branches and gather operations that block single-instruction multiple-data execution.
Keeping the arrays contiguous made the kernel simd-friendly code.
3. Source code whose memory layout and access patterns suit wide vector registers.
Aligning the structs produced simd-friendly code that ran four times faster.
4. A coding style that lets one instruction process several values in parallel.
The tutorial teaches simd-friendly code for image processing.