annotate libgomp/omp_lib.h.in @ 158:494b0b89df80 default tip

...
author Shinji KONO <kono@ie.u-ryukyu.ac.jp>
date Mon, 25 May 2020 18:13:55 +0900
parents 1830386684a0
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
145
1830386684a0 gcc-9.2.0
anatofuz
parents: 131
diff changeset
1 ! Copyright (C) 2005-2020 Free Software Foundation, Inc.
0
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
2 ! Contributed by Jakub Jelinek <jakub@redhat.com>.
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
3
111
kono
parents: 36
diff changeset
4 ! This file is part of the GNU Offloading and Multi Processing Library
kono
parents: 36
diff changeset
5 ! (libgomp).
0
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
6
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
7 ! Libgomp is free software; you can redistribute it and/or modify it
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
8 ! under the terms of the GNU General Public License as published by
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
9 ! the Free Software Foundation; either version 3, or (at your option)
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
10 ! any later version.
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
11
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
12 ! Libgomp is distributed in the hope that it will be useful, but WITHOUT ANY
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
13 ! WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
14 ! FOR A PARTICULAR PURPOSE. See the GNU General Public License for
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
15 ! more details.
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
16
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
17 ! Under Section 7 of GPL version 3, you are granted additional
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
18 ! permissions described in the GCC Runtime Library Exception, version
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
19 ! 3.1, as published by the Free Software Foundation.
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
20
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
21 ! You should have received a copy of the GNU General Public License and
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
22 ! a copy of the GCC Runtime Library Exception along with this program;
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
23 ! see the files COPYING3 and COPYING.RUNTIME respectively. If not, see
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
24 ! <http://www.gnu.org/licenses/>.
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
25
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
26 integer omp_lock_kind, omp_nest_lock_kind, openmp_version
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
27 parameter (omp_lock_kind = @OMP_LOCK_KIND@)
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
28 parameter (omp_nest_lock_kind = @OMP_NEST_LOCK_KIND@)
111
kono
parents: 36
diff changeset
29 integer omp_sched_kind
0
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
30 parameter (omp_sched_kind = 4)
111
kono
parents: 36
diff changeset
31 integer (omp_sched_kind) omp_sched_static, omp_sched_dynamic
kono
parents: 36
diff changeset
32 integer (omp_sched_kind) omp_sched_guided, omp_sched_auto
0
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
33 parameter (omp_sched_static = 1)
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
34 parameter (omp_sched_dynamic = 2)
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
35 parameter (omp_sched_guided = 3)
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
36 parameter (omp_sched_auto = 4)
111
kono
parents: 36
diff changeset
37 integer omp_proc_bind_kind
kono
parents: 36
diff changeset
38 parameter (omp_proc_bind_kind = 4)
kono
parents: 36
diff changeset
39 integer (omp_proc_bind_kind) omp_proc_bind_false
kono
parents: 36
diff changeset
40 integer (omp_proc_bind_kind) omp_proc_bind_true
kono
parents: 36
diff changeset
41 integer (omp_proc_bind_kind) omp_proc_bind_master
kono
parents: 36
diff changeset
42 integer (omp_proc_bind_kind) omp_proc_bind_close
kono
parents: 36
diff changeset
43 integer (omp_proc_bind_kind) omp_proc_bind_spread
kono
parents: 36
diff changeset
44 parameter (omp_proc_bind_false = 0)
kono
parents: 36
diff changeset
45 parameter (omp_proc_bind_true = 1)
kono
parents: 36
diff changeset
46 parameter (omp_proc_bind_master = 2)
kono
parents: 36
diff changeset
47 parameter (omp_proc_bind_close = 3)
kono
parents: 36
diff changeset
48 parameter (omp_proc_bind_spread = 4)
kono
parents: 36
diff changeset
49 integer omp_lock_hint_kind
kono
parents: 36
diff changeset
50 parameter (omp_lock_hint_kind = 4)
kono
parents: 36
diff changeset
51 integer (omp_lock_hint_kind) omp_lock_hint_none
kono
parents: 36
diff changeset
52 integer (omp_lock_hint_kind) omp_lock_hint_uncontended
kono
parents: 36
diff changeset
53 integer (omp_lock_hint_kind) omp_lock_hint_contended
kono
parents: 36
diff changeset
54 integer (omp_lock_hint_kind) omp_lock_hint_nonspeculative
kono
parents: 36
diff changeset
55 integer (omp_lock_hint_kind) omp_lock_hint_speculative
kono
parents: 36
diff changeset
56 parameter (omp_lock_hint_none = 0)
kono
parents: 36
diff changeset
57 parameter (omp_lock_hint_uncontended = 1)
kono
parents: 36
diff changeset
58 parameter (omp_lock_hint_contended = 2)
kono
parents: 36
diff changeset
59 parameter (omp_lock_hint_nonspeculative = 4)
kono
parents: 36
diff changeset
60 parameter (omp_lock_hint_speculative = 8)
kono
parents: 36
diff changeset
61 parameter (openmp_version = 201511)
145
1830386684a0 gcc-9.2.0
anatofuz
parents: 131
diff changeset
62 integer omp_pause_resource_kind
1830386684a0 gcc-9.2.0
anatofuz
parents: 131
diff changeset
63 parameter (omp_pause_resource_kind = 4)
1830386684a0 gcc-9.2.0
anatofuz
parents: 131
diff changeset
64 integer (omp_pause_resource_kind) omp_pause_soft
1830386684a0 gcc-9.2.0
anatofuz
parents: 131
diff changeset
65 integer (omp_pause_resource_kind) omp_pause_hard
1830386684a0 gcc-9.2.0
anatofuz
parents: 131
diff changeset
66 parameter (omp_pause_soft = 1)
1830386684a0 gcc-9.2.0
anatofuz
parents: 131
diff changeset
67 parameter (omp_pause_hard = 2)
0
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
68
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
69 external omp_init_lock, omp_init_nest_lock
111
kono
parents: 36
diff changeset
70 external omp_init_lock_with_hint
kono
parents: 36
diff changeset
71 external omp_init_nest_lock_with_hint
0
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
72 external omp_destroy_lock, omp_destroy_nest_lock
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
73 external omp_set_lock, omp_set_nest_lock
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
74 external omp_unset_lock, omp_unset_nest_lock
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
75 external omp_set_dynamic, omp_set_nested
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
76 external omp_set_num_threads
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
77
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
78 external omp_get_dynamic, omp_get_nested
36
855418dad1a3 gcc-4.4-20091020
e075725
parents: 0
diff changeset
79 logical(4) omp_get_dynamic, omp_get_nested
0
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
80 external omp_test_lock, omp_in_parallel
36
855418dad1a3 gcc-4.4-20091020
e075725
parents: 0
diff changeset
81 logical(4) omp_test_lock, omp_in_parallel
0
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
82
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
83 external omp_get_max_threads, omp_get_num_procs
36
855418dad1a3 gcc-4.4-20091020
e075725
parents: 0
diff changeset
84 integer(4) omp_get_max_threads, omp_get_num_procs
0
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
85 external omp_get_num_threads, omp_get_thread_num
36
855418dad1a3 gcc-4.4-20091020
e075725
parents: 0
diff changeset
86 integer(4) omp_get_num_threads, omp_get_thread_num
0
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
87 external omp_test_nest_lock
36
855418dad1a3 gcc-4.4-20091020
e075725
parents: 0
diff changeset
88 integer(4) omp_test_nest_lock
0
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
89
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
90 external omp_get_wtick, omp_get_wtime
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
91 double precision omp_get_wtick, omp_get_wtime
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
92
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
93 external omp_set_schedule, omp_get_schedule
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
94 external omp_get_thread_limit, omp_set_max_active_levels
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
95 external omp_get_max_active_levels, omp_get_level
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
96 external omp_get_ancestor_thread_num, omp_get_team_size
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
97 external omp_get_active_level
36
855418dad1a3 gcc-4.4-20091020
e075725
parents: 0
diff changeset
98 integer(4) omp_get_thread_limit, omp_get_max_active_levels
855418dad1a3 gcc-4.4-20091020
e075725
parents: 0
diff changeset
99 integer(4) omp_get_level, omp_get_ancestor_thread_num
855418dad1a3 gcc-4.4-20091020
e075725
parents: 0
diff changeset
100 integer(4) omp_get_team_size, omp_get_active_level
111
kono
parents: 36
diff changeset
101
kono
parents: 36
diff changeset
102 external omp_in_final
kono
parents: 36
diff changeset
103 logical(4) omp_in_final
kono
parents: 36
diff changeset
104
145
1830386684a0 gcc-9.2.0
anatofuz
parents: 131
diff changeset
105 external omp_get_cancellation
1830386684a0 gcc-9.2.0
anatofuz
parents: 131
diff changeset
106 logical(4) omp_get_cancellation
111
kono
parents: 36
diff changeset
107
kono
parents: 36
diff changeset
108 external omp_get_proc_bind
kono
parents: 36
diff changeset
109 integer(omp_proc_bind_kind) omp_get_proc_bind
kono
parents: 36
diff changeset
110
kono
parents: 36
diff changeset
111 integer(4) omp_get_num_places
kono
parents: 36
diff changeset
112 external omp_get_num_places
kono
parents: 36
diff changeset
113 integer(4) omp_get_place_num_procs
kono
parents: 36
diff changeset
114 external omp_get_place_num_procs
kono
parents: 36
diff changeset
115 external omp_get_place_proc_ids
kono
parents: 36
diff changeset
116 integer(4) omp_get_place_num
kono
parents: 36
diff changeset
117 external omp_get_place_num
kono
parents: 36
diff changeset
118 integer(4) omp_get_partition_num_places
kono
parents: 36
diff changeset
119 external omp_get_partition_num_places
kono
parents: 36
diff changeset
120 external omp_get_partition_place_nums
kono
parents: 36
diff changeset
121
kono
parents: 36
diff changeset
122 external omp_set_default_device, omp_get_default_device
kono
parents: 36
diff changeset
123 external omp_get_num_devices, omp_get_num_teams
kono
parents: 36
diff changeset
124 external omp_get_team_num
kono
parents: 36
diff changeset
125 integer(4) omp_get_default_device, omp_get_num_devices
kono
parents: 36
diff changeset
126 integer(4) omp_get_num_teams, omp_get_team_num
kono
parents: 36
diff changeset
127
kono
parents: 36
diff changeset
128 external omp_is_initial_device
kono
parents: 36
diff changeset
129 logical(4) omp_is_initial_device
kono
parents: 36
diff changeset
130 external omp_get_initial_device
kono
parents: 36
diff changeset
131 integer(4) omp_get_initial_device
kono
parents: 36
diff changeset
132
kono
parents: 36
diff changeset
133 external omp_get_max_task_priority
kono
parents: 36
diff changeset
134 integer(4) omp_get_max_task_priority
145
1830386684a0 gcc-9.2.0
anatofuz
parents: 131
diff changeset
135
1830386684a0 gcc-9.2.0
anatofuz
parents: 131
diff changeset
136 external omp_set_affinity_format, omp_get_affinity_format
1830386684a0 gcc-9.2.0
anatofuz
parents: 131
diff changeset
137 external omp_display_affinity, omp_capture_affinity
1830386684a0 gcc-9.2.0
anatofuz
parents: 131
diff changeset
138 integer(4) omp_get_affinity_format
1830386684a0 gcc-9.2.0
anatofuz
parents: 131
diff changeset
139 integer(4) omp_capture_affinity
1830386684a0 gcc-9.2.0
anatofuz
parents: 131
diff changeset
140
1830386684a0 gcc-9.2.0
anatofuz
parents: 131
diff changeset
141 external omp_pause_resource, omp_pause_resource_all
1830386684a0 gcc-9.2.0
anatofuz
parents: 131
diff changeset
142 integer(4) omp_pause_resource
1830386684a0 gcc-9.2.0
anatofuz
parents: 131
diff changeset
143 integer(4) omp_pause_resource_all