Developer Guide and Reference

Contents

qopenmp-threadprivate, Qopenmp-threadprivate

Lets you specify an OpenMP* threadprivate implementation.

Syntax

Linux:
-qopenmp-threadprivate=
type
macOS:
None
Windows:
/Qopenmp-threadprivate:
type
Arguments
type
Specifies the type of threadprivate implementation. Possible values are:
legacy
Tells the compiler to use the legacy OpenMP* threadprivate implementation used in the previous releases of the Intel® compiler. This setting does not provide compatibility with the implementation used by other compilers.
compat
Tells the compiler to use the compatibility OpenMP* threadprivate implementation
based on applying the __declspec(thread) attribute to each threadprivate variable. The limitations of the attribute on a given platform also apply to the threadprivate implementation.
This setting provides compatibility with the implementation provided by the Microsoft* and GNU* compilers.
Default
-qopenmp-threadprivate=legacy
or
/Qopenmp-threadprivate:legacy
The compiler uses the legacy OpenMP* threadprivate implementation used in the previous releases of the Intel compiler.