Download PathScale™ Compiler Suite User Guide

Transcript
F – eko man Page
-LNO:ou_prod_max=N
This option indicates that the product of unrolling of the various outer loops in a
given loop nest is not to exceed N, where N is a positive integer. The default is 16.
-LNO:outer=(ON|OFF)
This option enables or disables outer loop fusion. Default is ON.
-LNO:outer_unroll_max,ou_max=N
The Outer_unroll_max option indicates that the compiler may unroll outer loops in
a loop nest by as many as N per loop, but no more. The default is 5.
-LNO:parallel_overhead=N
Effective only when specified with -apo, the parallel_overhead option controls the
auto-parallelizing compiler’s estimate of the overhead (in processor cycles) incurred
by invoking the parallel version of a loop. When the compiler parallelizes a loop, it
generates both a serial and a parallel version. If the amount of work performed by
the loop is small, it may not be beneficial to use the parallel version during execution.
The set value of parallel_overhead is used in this determination during execution
time when the number of processors and the iteration count of the loop are taken
into account. The default value is 4096. Because the optimal value varies across
systems and programs, this option can be used for parallel performance tuning.
-LNO:prefetch=(0|1|2|3)
This option specifies the level of prefetching.
0
Prefetch disabled.
1
Prefetch is done only for arrays that are always referenced in each iteration of
a loop.
2
Prefetch is done without the above restriction. This is the default.
3
Most aggressive.
-LNO:prefetch_ahead=N
Prefetch N cache line(s) ahead. The default is 2.
-LNO:prefetch_verbose=(ON|OFF)
–LNO:prefetch_verbose=ON prints verbose prefetch info to stdout. Default is OFF.
-LNO:processors=N
Tells the compiler to assume that the program compiled under -apo will be run on
a system with the given number of processors. This helps in reducing the amount
of computation during execution for determining whether to enter the parallel or
serial versions of loops that are parallelized (see the –LNO:parallel_overhead
option). The default is 0, which means unknown number of processors. The default
value of 0 should be used if the program is intended to run in different systems with
different number of processors. If the option is set to non-zero and the value is
different from the number of processors, the parallelized code will not perform
optimally.
F-29