Developer Guide and Reference

Contents

par-schedule, Qpar-schedule

Lets you specify a scheduling algorithm for loop iterations.

Syntax

Linux and macOS:
-par-schedule-
keyword
[
=
n
]
Windows:
/Qpar-schedule-
keyword
[
[:]
n
]
Arguments
keyword
Specifies the scheduling algorithm or tuning method. Possible values are:
auto
Lets the compiler or run-time system determine the scheduling algorithm.
static
Divides iterations into contiguous pieces.
static-balanced
Divides iterations into even-sized chunks.
static-steal
Divides iterations into even-sized chunks, but allows threads to steal parts of chunks from neighboring threads.
dynamic
Gets a set of iterations dynamically.
guided
Specifies a minimum number of iterations.
guided-analytical
Divides iterations by using exponential distribution or dynamic distribution.
runtime
Defers the scheduling decision until run time.
n
Is the size of the chunk or the number of iterations for each chunk. T