shared Clause
- Updated2023-02-21
- 1 minute(s) read
Specifies one or more variables are shared between all threads in a team.
Format
shared(var)
Example
Refer to OpenMP\matrixmult.cws for an example of using the OpenMP shared clause.
Specifies one or more variables are shared between all threads in a team.
shared(var)
Refer to OpenMP\matrixmult.cws for an example of using the OpenMP shared clause.
Previous
No previous sectionNext
No next sectionPrevious
No previous sectionNext
No next section