共用方式為


OpenMP in Visual C++

 

The new home for Visual Studio documentation is Visual Studio 2017 Documentation on docs.microsoft.com.

The OpenMP C and C++ application program interface lets you write applications that effectively use multiple processors. Visual C++ supports the OpenMP 2.0 standard.

In This Section

Directives
Provides links to directives used in the OpenMP API.

Clauses
Provides links to clauses used in the OpenMP API.

Library Reference
Provides links to constructs used in the OpenMP API.

C and C++ Application Program Interface
Discusses the OpenMP C and C++ API, as documented in the version 2.0 specification from the OpenMP Architecture Review Board.

/openmp (Enable OpenMP 2.0 Support)
Causes the compiler to process #pragma omp.

Predefined Macros
Names the predefined ANSI C and Microsoft C++ implementation macros. See the _OPENMP macro.