TutorialsTutorials HomeOpenMPIndexIntroduction PARALLEL DO PARALLEL DO SECTIONS SINGLE MASTER CRITICAL BARRIER FLUSH ATOMIC ORDERED
FullDocument
Related InfoOpenMP Home Page |
FLUSH Directive
!$OMP FLUSH(list)
The FLUSH directive identifies synchronization points at which the implementation is required to provide a consistent view of memory. The directive must appear at the precise point in the code at which the synchronization is required. The optional list argument consists of a comma-separated list of variables that need to be flushed in order to avoid flushing all variables. The FLUSH directive is implied for the following directives:
The directive is not implied if NOWAIT is present. |
![]() |
Page last modified: Mon, 10 Nov 2003 19:18:56 GMT Page URL: http://www.nersc.gov/nusers/help/tutorials/openmp/flush.php Web contact: webmaster@nersc.gov Computing questions: consult@nersc.gov Privacy and Security Notice |
![]() |