Automatically schedule for-loops
Automatically schedule generated loop nest code
Since R2024a
Model Configuration Pane: Code Generation / Optimization
Description
The Automatically schedule for-loops parameter specifies whether
for
-loop nests in the generated code for Neighborhood Processing
Subsystem, Pixel Processing Subsystem, and Array Processing Subsystem blocks are automatically
scheduled. Automatic scheduling can increase execution speed.
Category: Optimization
Dependencies
To enable this parameter:
Select the Specify custom optimizations model configuration parameter.
Select the Generate parallel for-loops model configuration parameter.
Clear the Generate Halide code model configuration parameter.
Settings
off
(default) | on
- On
Automatically schedules generated loop nest code.
- Off
Does not automatically schedule generated loop nest code.
Recommended Settings
Application | Setting |
---|---|
Debugging | Off |
Traceability | Off |
Efficiency | On (execution speed) |
Safety precaution | No impact |
Programmatic Use
Parameter:
AutoScheduleForLoops |
Type: character vector |
Values:
'on' | 'off' |
Default:
'off' |
Version History
Introduced in R2024a