Intel® C++ Compiler 16.0 User and Reference Guide

qopenmp-task, Qopenmp-task

Lets you choose an OpenMP* tasking model. Option -qopenmp-task is the replacement option for -openmp-task, which is deprecated.

Syntax

Linux and OS X:

-qopenmp-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 API 3.0 tasking pragmas are ignored; if they are specified, warnings are issued.

omp

Tells the compiler to accept OpenMP* API 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

-qopenmp-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 [q or Q]openmp.

IDE Equivalent

None

Alternate Options

None

See Also