Single instruction, multiple data (SIMD) code for reduction operation loops
Model Configuration Pane: Code Generation / Optimization
The Optimize reductions parameter instructs the code generator to generate single instruction, multiple data (SIMD) code for reduction operation loops. A reduction is an operation that reduces a set of elements, such as an array, to a single value using an associative binary operator. For example, calculating the sum of the elements in an array is a reduction operation that uses the addition operator. Reduction operations are generated from blocks such as Sum of elements and Product of elements blocks.
To use this parameter, you must set Instruction set extensions to a valid instruction set.
off (default) |
Generates single instruction, multiple data (SIMD) code for reduction operation loops.
forloops for reduction operations.
|Type: character vector
Introduced in R2022a