Vax C90-EL SERIES Service Manual Page 65

  • Download
  • Add to my manuals
  • Print
  • Page
    / 216
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 64
#pragma Directives [3]
#pragma directives are used within the source program to request certain kinds
of special processing. #pragma directives are part of the C and C++ languages,
but the meaning of any #pragma directive is defined by the implementation.
#pragma directives are expressed in the following form:
#pragma [ _CRI] identifier [arguments]
The _CRI specification is optional and ensures that the compiler will issue a
message concerning any directives that it does not recognize. Diagnostics are not
generated for directives that do not contain the _CRI specification.
These directives are classified according to the following types:
General
Instantiation (Cray Standard C++ only)
Vectorization
Scalar
Tasking
Inlining
Macro expansion occurs on the directive line after the directive name. That is,
macro expansion is applied only to arguments. For example, if NUM_CHUNKS is a
macro defined with a value 8, the original code is as follows:
#pragma _CRI taskloop numchunks(NUM_CHUNKS)
The expanded code is equivalent to the following:
#pragma _CRI taskloop numchunks(8)
At the beginning of each section that describes a directive, information is
included about the compilers and systems that allow the use of the directive,
and the scope of the directive. Unless otherwise noted, the following default
information applies to each directive:
S217936 45
Page view 64
1 2 ... 60 61 62 63 64 65 66 67 68 69 70 ... 215 216

Comments to this Manuals

No comments