Intel® Fortran Compiler 18.0 Developer Guide and Reference

OFFLOAD Compiler Directives

Intel® Fortran provides several OFFLOAD compiler directives to perform offloading tasks during compilation. These directives are recognized by default; there is a command line option to tell the compiler to ignore them. These directives only apply when targeting Intel® Xeon Phi™ products.

Compiler directives are specially formatted comments in the source file which provide information to the compiler. Some directives, such as line length or conditional compilation directives provide the compiler information which is used in interpreting the source file. Other directives, such as optimization directives provide hints or suggestions to the compiler, which, in some cases, may be ignored or overridden by the compiler based on the heuristics of the optimizer and/or code generator. If the directive is ignored by the compiler, no diagnostic message is issued.

The following OFFLOAD compiler directives are available:

Note

These directives are deprecated. For similar functionality, you can use the OpenMP Fortran TARGET directives.