Enable automatic parallelization
Automatic parallelization of for
loops
Since R2021a
Description
App Configuration Pane: Speed
Configuration Objects: coder.MexCodeConfig
| coder.CodeConfig
| coder.EmbeddedCodeConfig
Automatic parallelization of for
loops.
When using GPU Coder™, the code generator always enables
automatic parallelization of for
loops.
Settings
- Off
Code generator does not automatically parallelize
for
loops.- On
This value is the default value.
The code generator automatically parallelizes
for
loops in the generated code. Automatic parallelization can significantly improve the execution speed of the generated code. See Automatic Parallelization of for-Loops in the Generated Code.
Programmatic Use
Property:
EnableAutoParallelization |
Values: false |
true |
Default: true |
Version History
Introduced in R2021a