The -scheduling
switch tells KAP the kind of scheduling
to use for loop iterations on a multi-processor system. The -
scheduling
options are as follows:
e
- selects even scheduling where KAP divides
the iterations into equal size chunks so that the number of
chunks does not exceed the number of processors. For example,
if there are 9 iterations and 3 processors, the first processor
would execute iterations 1, 2, and 3, the second processor,
iterations 4, 5, and 6, and the third processor, iterations 7,
8, and 9.
s
- selects static scheduling where the
processors execute iterations starting from their processor
number and skipping iterations equal to the total number of
processors. For example, if there are 9 iterations and 3
processors, the first processor would execute iterations 1, 4,
and 7, the second processor, iterations 2, 5, and 8, and the
third processor, iterations 3, 6, and 9.
Copyright © Digital Equipment Corporation. 1997.
All Rights Reserved.