Home
/ Openmp
/ OpenMP Directives: Data Scope Attribute Clauses: COPYPRIVATE Clause
OpenMP Directives: Data Scope Attribute Clauses: COPYPRIVATE Clause
Purpose:
The COPYPRIVATE clause can be used to broadcast values acquired by a single thread directly to all instances of the private variables in the other threads.
Associated with the SINGLE directive
See the most recent OpenMP specs document for additional discussion and examples.