User and Reference Guide for the Intel® Fortran Compiler 14.0

offload, Qoffload

Lets you specify the mode for offloading or tell the compiler to ignore language constructs for offloading. This option only applies to Intel® MIC Architecture.

Architecture Restrictions

Only available on Intel® 64 architecture targeting Intel® MIC Architecture

Syntax

Linux OS:

-offload[=keyword]

-no-offload

OS X:

None

Windows OS:

/Qoffload[:keyword]

/Qoffload-

Arguments

keyword

Specifies the mode for offloading or it disables offloading. Possible values are:

none

Tells the compiler to ignore language constructs for offloading. Warnings are issued by the compiler. This is equivalent to the negative form of the option.

mandatory

Specifies that offloading is mandatory (required). If the target is not available, one of the following occurs:

  • If no STATUS clause is specified for the OFFLOAD directive, the program fails with an error message.

  • If the STATUS clause is specified, the program continues execution on the CPU.

optional

Specifies that offloading is optional (requested). If the target is not available, the program is executed on the CPU, not the target.

Default

mandatory

The compiler recognizes language constructs for offloading if they are specified. If option [Q]offload is specified with no keyword, the default is mandatory.

Description

This option lets you specify the mode for offloading or tell the compiler to ignore language constructs for offloading.

If no [Q]offload option appears on the command line, then OFFLOAD directives are processed and:

If any of the following appears on the command line, then OFFLOAD directives are ignored:

However, OpenMP* directives for coprocessor control (for example, !$OMP TARGET) are recognized if the [Q]openmp option is specified, regardless of whether or not OFFLOAD directives are recognized or ignored.

If keyword mandatory or optional appears for [Q]offload, then OFFLOAD directives are processed and:

If the STATUS clause is specified for an OFFLOAD directive, it affects run-time behavior.

IDE Equivalent

Windows: Code Generation > Offload Constructs

Linux: None

OS X: None

Alternate Options

None


Submit feedback on this help topic