description | title | ms.date | ms.assetid |
---|---|---|---|
Learn more about: OpenMP Library Reference |
OpenMP Library Reference |
12/02/2019 |
a25188c6-edde-43d0-84b5-780e797b08fc |
Provides links to constructs used in the OpenMP API.
The Visual C++ implementation of the OpenMP standard includes the following constructs.
Construct | Description |
---|---|
Directives | Provides links to directives used in the OpenMP API. |
Clauses | Provides links to clauses used in the OpenMP API. |
Functions | Provides links to functions used in the OpenMP API. |
Environment Variables | Provides links to environment variables used in the OpenMP API. |
The Visual C++ OpenMP run-time library functions are contained in the following libraries.
OpenMP run-time library | Characteristics |
---|---|
VCOMP.LIB | Multithreaded, dynamic link (import library for VCOMP140.DLL). |
VCOMPD.LIB | Multithreaded, dynamic link (import library for VCOMP140D.DLL) (debug) |
If _DEBUG is defined in a compilation and if #include <omp.h>
is in source code, VCOMPD.LIB will be the default lib, otherwise, VCOMP.LIB will be used.
You can use /NODEFAULTLIB (ignore libraries) to remove the default lib and explicitly link with the lib of your choice.
The OpenMP DLLs are in the Visual C++ redistributable directory and need to be distributed with applications that use OpenMP.