6 Directives

KAP directives enable, disable, or modify a feature of KAP. Directives function as command qualifiers used within the input file rather than on the command line. To invoke a directive, you must either toggle the directive on, or set a desired value for its level.

With the exception of the !*$* assertions directive, using KAP directives will not affect the correctness of a program. Enabling KAP assertions allows you, through the use of specific assertions, to provide KAP with false information that might lead KAP to perform incorrect transformations. See Chapter 7.

Most KAP directives have corresponding command qualifiers. If conflicting settings are given on the command line and in a directive, KAP uses the value specified on the directive. If command-line control is desired, directives can be disabled (treated as comments) with the /nodirectives qualifier.

The !*$* inline and !*$* ipa directives are disabled by default. When they are enabled, they take precedence over the inlining and IPA qualifiers.

See Chapter 5 for the command qualifiers related to these directives.

KAP recognizes the Fortran CDEC$ directive. Except for the cpar$ do_parallel directive, KAP copies them to the transformed code file but otherwise ignores them. A cpar$ do_ parallel directive is copied to the transformed code file and the immediately following loop nest is left unchanged.


Previous Page | Next Page | Contents | Index |
Command-Line Qualifiers

Copyright © Digital Equipment Corporation. 1999. All Rights Reserved.