vectorizablecode
nounUK /ˈvɛktəraɪzəbəl kəʊd/
US /ˈvɛktəraɪzəbəl koʊd/
Code that a computer can change to do many things at once.
The programmer rewrote the loop as vectorizable code so the computer could process all the numbers together.
RELATED WORDS
OTHER MEANINGS
2. Source code that a compiler can automatically convert into instructions that work on whole arrays at once.
With the right flags, the compiler turned the simple loop into vectorizable code.
3. Code written to avoid branches and dependencies so it can run faster on modern processors.
She kept the inner loop free of conditionals to keep it vectorizable code.
4. A section of a program that can be safely executed in parallel across multiple data elements.
The matrix multiplication routine is vectorizable code and runs much faster on the GPU.