Intel® C++ Compiler XE 13.1 User and Reference Guides

openmp-task, Qopenmp-task

Lets you choose an OpenMP* tasking model.

IDE Equivalent

None

Architectures

All

Syntax

Linux and OS X:

-openmp-task=model

Windows:

/Qopenmp-task:model

Arguments

model

Is an OpenMP tasking model. Possible values are:

intel

Tells the compiler to accept Intel taskqueuing pragmas (#pragma intel_omp_taskq and #pragma intel_omp_task). When this value is specified, OpenMP 3.0 tasking pragmas are ignored; if they are specified, warnings are issued.

omp

Tells the compiler to accept OpenMP* 3.0 tasking pragmas (#pragma omp_task). When this value is specified, Intel taskqueuing pragmas are ignored; if they are specified, warnings are issued.

Default

-openmp-task=omp or /Qopenmp-task:omp

The compiler accepts OpenMP 3.0 tasking pragmas.

Description

The option lets you choose an OpenMP tasking model.

To use this option, you must also specify option -openmp (Linux OS and OS X) or /Qopenmp (Windows OS).

Alternate Options

None


Submit feedback on this help topic