Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Provides links to clauses used in the OpenMP API.
Visual C++ supports the following OpenMP clauses:
Clause |
Description |
---|---|
Allows threads to access the master thread's value, for a threadprivate variable. |
|
Specifies that one or more variables should be shared among all threads. |
|
Specifies the behavior of unscoped variables in a parallel region. |
|
Specifies that each thread should have its own instance of a variable, and that the variable should be initialized with the value of the variable, because it exists before the parallel construct. |
|
Specifies whether a loop should be executed in parallel or in serial. |
|
Specifies that the enclosing context's version of the variable is set equal to the private version of whichever thread executes the final iteration (for-loop construct) or last section (#pragma sections). |
|
Overrides the barrier implicit in a directive. |
|
Sets the number of threads in a thread team. |
|
Required on a parallel for (OpenMP) statement if an ordered (OpenMP Directives) directive is to be used in the loop. |
|
Specifies that each thread should have its own instance of a variable. |
|
Specifies that one or more variables that are private to each thread are the subject of a reduction operation at the end of the parallel region. |
|
Applies to the for (OpenMP) directive. |
|
Specifies that one or more variables should be shared among all threads. |