openmp-task, Qopenmp-task

Lets you choose an OpenMP* tasking model.

IDE Equivalent

None

Architectures

IA-32, Intel® 64, IA-64 architectures

Syntax

Linux and Mac 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 and Mac OS X) or /Qopenmp (Windows).

Alternate Options

None