Skip to content

Latest commit

 

History

History
24 lines (20 loc) · 631 Bytes

copyprivate_clause.md

File metadata and controls

24 lines (20 loc) · 631 Bytes
layout title release_number author tutorial
tutorial_page
OpenMP Directives: Data Scope Attribute Clauses: COPYPRIVATE Clause
UCRL-MI-133316
Blaise Barney, Lawrence Livermore National Laboratory
OpenMP

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.

Format:

Fortran

COPYPRIVATE (list)

C/C++

copyprivate  (list)