文档介绍:1 OpenMP Application
2 Program Interface
3 Version May 2005
4 Copyright © 1997-2005 OpenMP Architecture Review Board.
5 Permission to copy without fee all or part of this material is granted,
6 provided the OpenMP Architecture Review Board copyright notice and the
7 title of this document appear. Notice is given that copying is by permission
8 of OpenMP Architecture Review Board.
1 1. Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1
2 Scope . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1
3 Glossary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2
4 Threading Concepts . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2
5 OpenMP language terminology . . . . . . . . . . . . . . . . . . . . . . 2
6 Data Terminology . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
7 Implementation Terminology . . . . . . . . . . . . . . . . . . . . . . . . 8
8 Execution Model . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
9 Memory Model . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
10 Structure of the OpenMP Memory Model . . . . . . . . . . . . . . 10
11 The Flush Operation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
12 OpenMP Memory Consistency . . . . . . . . . . . . . . . . . . . . . . 12
13 pliance . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13
14 Normative References . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14
15 of this document . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14
16 2. Directives . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17
17 Directive Format . . . . . . . . . . .