annotate libgomp/libgomp_g.h @ 144:8f4e72ab4e11

fix segmentation fault caused by nothing next cur_op to end
author Takahiro SHIMIZU <anatofuz@cr.ie.u-ryukyu.ac.jp>
date Sun, 23 Dec 2018 21:23:56 +0900
parents 84e7813d76e9
children 1830386684a0
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
131
84e7813d76e9 gcc-8.2
mir3636
parents: 111
diff changeset
1 /* Copyright (C) 2005-2018 Free Software Foundation, Inc.
0
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
2 Contributed by Richard Henderson <rth@redhat.com>.
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
3
111
kono
parents: 0
diff changeset
4 This file is part of the GNU Offloading and Multi Processing Library
kono
parents: 0
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 /* This file contains prototypes of functions in the external ABI.
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
27 This file is included by files in the testsuite. */
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
28
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
29 #ifndef LIBGOMP_G_H
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
30 #define LIBGOMP_G_H 1
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
31
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
32 #include <stdbool.h>
111
kono
parents: 0
diff changeset
33 #include <stddef.h>
0
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
34
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
35 /* barrier.c */
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
36
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
37 extern void GOMP_barrier (void);
111
kono
parents: 0
diff changeset
38 extern bool GOMP_barrier_cancel (void);
0
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
39
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
40 /* critical.c */
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
41
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
42 extern void GOMP_critical_start (void);
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
43 extern void GOMP_critical_end (void);
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
44 extern void GOMP_critical_name_start (void **);
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
45 extern void GOMP_critical_name_end (void **);
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
46 extern void GOMP_atomic_start (void);
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
47 extern void GOMP_atomic_end (void);
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
48
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
49 /* loop.c */
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
50
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
51 extern bool GOMP_loop_static_start (long, long, long, long, long *, long *);
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
52 extern bool GOMP_loop_dynamic_start (long, long, long, long, long *, long *);
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
53 extern bool GOMP_loop_guided_start (long, long, long, long, long *, long *);
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
54 extern bool GOMP_loop_runtime_start (long, long, long, long *, long *);
111
kono
parents: 0
diff changeset
55 extern bool GOMP_loop_nonmonotonic_dynamic_start (long, long, long, long,
kono
parents: 0
diff changeset
56 long *, long *);
kono
parents: 0
diff changeset
57 extern bool GOMP_loop_nonmonotonic_guided_start (long, long, long, long,
kono
parents: 0
diff changeset
58 long *, long *);
0
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
59
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
60 extern bool GOMP_loop_ordered_static_start (long, long, long, long,
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
61 long *, long *);
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
62 extern bool GOMP_loop_ordered_dynamic_start (long, long, long, long,
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
63 long *, long *);
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
64 extern bool GOMP_loop_ordered_guided_start (long, long, long, long,
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
65 long *, long *);
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
66 extern bool GOMP_loop_ordered_runtime_start (long, long, long, long *, long *);
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
67
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
68 extern bool GOMP_loop_static_next (long *, long *);
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
69 extern bool GOMP_loop_dynamic_next (long *, long *);
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
70 extern bool GOMP_loop_guided_next (long *, long *);
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
71 extern bool GOMP_loop_runtime_next (long *, long *);
111
kono
parents: 0
diff changeset
72 extern bool GOMP_loop_nonmonotonic_dynamic_next (long *, long *);
kono
parents: 0
diff changeset
73 extern bool GOMP_loop_nonmonotonic_guided_next (long *, long *);
0
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
74
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
75 extern bool GOMP_loop_ordered_static_next (long *, long *);
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
76 extern bool GOMP_loop_ordered_dynamic_next (long *, long *);
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
77 extern bool GOMP_loop_ordered_guided_next (long *, long *);
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
78 extern bool GOMP_loop_ordered_runtime_next (long *, long *);
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
79
111
kono
parents: 0
diff changeset
80 extern bool GOMP_loop_doacross_static_start (unsigned, long *, long, long *,
kono
parents: 0
diff changeset
81 long *);
kono
parents: 0
diff changeset
82 extern bool GOMP_loop_doacross_dynamic_start (unsigned, long *, long, long *,
kono
parents: 0
diff changeset
83 long *);
kono
parents: 0
diff changeset
84 extern bool GOMP_loop_doacross_guided_start (unsigned, long *, long, long *,
kono
parents: 0
diff changeset
85 long *);
kono
parents: 0
diff changeset
86 extern bool GOMP_loop_doacross_runtime_start (unsigned, long *, long *,
kono
parents: 0
diff changeset
87 long *);
kono
parents: 0
diff changeset
88
0
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
89 extern void GOMP_parallel_loop_static_start (void (*)(void *), void *,
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
90 unsigned, long, long, long, long);
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
91 extern void GOMP_parallel_loop_dynamic_start (void (*)(void *), void *,
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
92 unsigned, long, long, long, long);
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
93 extern void GOMP_parallel_loop_guided_start (void (*)(void *), void *,
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
94 unsigned, long, long, long, long);
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
95 extern void GOMP_parallel_loop_runtime_start (void (*)(void *), void *,
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
96 unsigned, long, long, long);
111
kono
parents: 0
diff changeset
97 extern void GOMP_parallel_loop_static (void (*)(void *), void *,
kono
parents: 0
diff changeset
98 unsigned, long, long, long, long,
kono
parents: 0
diff changeset
99 unsigned);
kono
parents: 0
diff changeset
100 extern void GOMP_parallel_loop_dynamic (void (*)(void *), void *,
kono
parents: 0
diff changeset
101 unsigned, long, long, long, long,
kono
parents: 0
diff changeset
102 unsigned);
kono
parents: 0
diff changeset
103 extern void GOMP_parallel_loop_guided (void (*)(void *), void *,
kono
parents: 0
diff changeset
104 unsigned, long, long, long, long,
kono
parents: 0
diff changeset
105 unsigned);
kono
parents: 0
diff changeset
106 extern void GOMP_parallel_loop_runtime (void (*)(void *), void *,
kono
parents: 0
diff changeset
107 unsigned, long, long, long,
kono
parents: 0
diff changeset
108 unsigned);
kono
parents: 0
diff changeset
109 extern void GOMP_parallel_loop_nonmonotonic_dynamic (void (*)(void *), void *,
kono
parents: 0
diff changeset
110 unsigned, long, long,
kono
parents: 0
diff changeset
111 long, long, unsigned);
kono
parents: 0
diff changeset
112 extern void GOMP_parallel_loop_nonmonotonic_guided (void (*)(void *), void *,
kono
parents: 0
diff changeset
113 unsigned, long, long,
kono
parents: 0
diff changeset
114 long, long, unsigned);
0
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
115
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
116 extern void GOMP_loop_end (void);
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
117 extern void GOMP_loop_end_nowait (void);
111
kono
parents: 0
diff changeset
118 extern bool GOMP_loop_end_cancel (void);
0
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
119
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
120 /* loop_ull.c */
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
121
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
122 extern bool GOMP_loop_ull_static_start (bool, unsigned long long,
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
123 unsigned long long,
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
124 unsigned long long,
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
125 unsigned long long,
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
126 unsigned long long *,
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
127 unsigned long long *);
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
128 extern bool GOMP_loop_ull_dynamic_start (bool, unsigned long long,
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
129 unsigned long long,
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
130 unsigned long long,
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
131 unsigned long long,
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
132 unsigned long long *,
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
133 unsigned long long *);
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
134 extern bool GOMP_loop_ull_guided_start (bool, unsigned long long,
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
135 unsigned long long,
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
136 unsigned long long,
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
137 unsigned long long,
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
138 unsigned long long *,
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
139 unsigned long long *);
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
140 extern bool GOMP_loop_ull_runtime_start (bool, unsigned long long,
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
141 unsigned long long,
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
142 unsigned long long,
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
143 unsigned long long *,
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
144 unsigned long long *);
111
kono
parents: 0
diff changeset
145 extern bool GOMP_loop_ull_nonmonotonic_dynamic_start (bool, unsigned long long,
kono
parents: 0
diff changeset
146 unsigned long long,
kono
parents: 0
diff changeset
147 unsigned long long,
kono
parents: 0
diff changeset
148 unsigned long long,
kono
parents: 0
diff changeset
149 unsigned long long *,
kono
parents: 0
diff changeset
150 unsigned long long *);
kono
parents: 0
diff changeset
151 extern bool GOMP_loop_ull_nonmonotonic_guided_start (bool, unsigned long long,
kono
parents: 0
diff changeset
152 unsigned long long,
kono
parents: 0
diff changeset
153 unsigned long long,
kono
parents: 0
diff changeset
154 unsigned long long,
kono
parents: 0
diff changeset
155 unsigned long long *,
kono
parents: 0
diff changeset
156 unsigned long long *);
0
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
157
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
158 extern bool GOMP_loop_ull_ordered_static_start (bool, unsigned long long,
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
159 unsigned long long,
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
160 unsigned long long,
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
161 unsigned long long,
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
162 unsigned long long *,
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
163 unsigned long long *);
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
164 extern bool GOMP_loop_ull_ordered_dynamic_start (bool, unsigned long long,
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
165 unsigned long long,
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
166 unsigned long long,
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
167 unsigned long long,
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
168 unsigned long long *,
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
169 unsigned long long *);
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
170 extern bool GOMP_loop_ull_ordered_guided_start (bool, unsigned long long,
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
171 unsigned long long,
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
172 unsigned long long,
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
173 unsigned long long,
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
174 unsigned long long *,
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
175 unsigned long long *);
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
176 extern bool GOMP_loop_ull_ordered_runtime_start (bool, unsigned long long,
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
177 unsigned long long,
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
178 unsigned long long,
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
179 unsigned long long *,
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
180 unsigned long long *);
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
181
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
182 extern bool GOMP_loop_ull_static_next (unsigned long long *,
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
183 unsigned long long *);
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
184 extern bool GOMP_loop_ull_dynamic_next (unsigned long long *,
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
185 unsigned long long *);
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
186 extern bool GOMP_loop_ull_guided_next (unsigned long long *,
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
187 unsigned long long *);
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
188 extern bool GOMP_loop_ull_runtime_next (unsigned long long *,
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
189 unsigned long long *);
111
kono
parents: 0
diff changeset
190 extern bool GOMP_loop_ull_nonmonotonic_dynamic_next (unsigned long long *,
kono
parents: 0
diff changeset
191 unsigned long long *);
kono
parents: 0
diff changeset
192 extern bool GOMP_loop_ull_nonmonotonic_guided_next (unsigned long long *,
kono
parents: 0
diff changeset
193 unsigned long long *);
0
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
194
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
195 extern bool GOMP_loop_ull_ordered_static_next (unsigned long long *,
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
196 unsigned long long *);
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
197 extern bool GOMP_loop_ull_ordered_dynamic_next (unsigned long long *,
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
198 unsigned long long *);
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
199 extern bool GOMP_loop_ull_ordered_guided_next (unsigned long long *,
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
200 unsigned long long *);
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
201 extern bool GOMP_loop_ull_ordered_runtime_next (unsigned long long *,
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
202 unsigned long long *);
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
203
111
kono
parents: 0
diff changeset
204 extern bool GOMP_loop_ull_doacross_static_start (unsigned,
kono
parents: 0
diff changeset
205 unsigned long long *,
kono
parents: 0
diff changeset
206 unsigned long long,
kono
parents: 0
diff changeset
207 unsigned long long *,
kono
parents: 0
diff changeset
208 unsigned long long *);
kono
parents: 0
diff changeset
209 extern bool GOMP_loop_ull_doacross_dynamic_start (unsigned,
kono
parents: 0
diff changeset
210 unsigned long long *,
kono
parents: 0
diff changeset
211 unsigned long long,
kono
parents: 0
diff changeset
212 unsigned long long *,
kono
parents: 0
diff changeset
213 unsigned long long *);
kono
parents: 0
diff changeset
214 extern bool GOMP_loop_ull_doacross_guided_start (unsigned,
kono
parents: 0
diff changeset
215 unsigned long long *,
kono
parents: 0
diff changeset
216 unsigned long long,
kono
parents: 0
diff changeset
217 unsigned long long *,
kono
parents: 0
diff changeset
218 unsigned long long *);
kono
parents: 0
diff changeset
219 extern bool GOMP_loop_ull_doacross_runtime_start (unsigned,
kono
parents: 0
diff changeset
220 unsigned long long *,
kono
parents: 0
diff changeset
221 unsigned long long *,
kono
parents: 0
diff changeset
222 unsigned long long *);
kono
parents: 0
diff changeset
223
0
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
224 /* ordered.c */
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
225
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
226 extern void GOMP_ordered_start (void);
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
227 extern void GOMP_ordered_end (void);
111
kono
parents: 0
diff changeset
228 extern void GOMP_doacross_post (long *);
kono
parents: 0
diff changeset
229 extern void GOMP_doacross_wait (long, ...);
kono
parents: 0
diff changeset
230 extern void GOMP_doacross_ull_post (unsigned long long *);
kono
parents: 0
diff changeset
231 extern void GOMP_doacross_ull_wait (unsigned long long, ...);
0
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
232
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
233 /* parallel.c */
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
234
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
235 extern void GOMP_parallel_start (void (*) (void *), void *, unsigned);
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
236 extern void GOMP_parallel_end (void);
111
kono
parents: 0
diff changeset
237 extern void GOMP_parallel (void (*) (void *), void *, unsigned, unsigned);
kono
parents: 0
diff changeset
238 extern bool GOMP_cancel (int, bool);
kono
parents: 0
diff changeset
239 extern bool GOMP_cancellation_point (int);
0
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
240
111
kono
parents: 0
diff changeset
241 /* task.c */
0
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
242
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
243 extern void GOMP_task (void (*) (void *), void *, void (*) (void *, void *),
111
kono
parents: 0
diff changeset
244 long, long, bool, unsigned, void **, int);
kono
parents: 0
diff changeset
245 extern void GOMP_taskloop (void (*) (void *), void *,
kono
parents: 0
diff changeset
246 void (*) (void *, void *), long, long, unsigned,
kono
parents: 0
diff changeset
247 unsigned long, int, long, long, long);
kono
parents: 0
diff changeset
248 extern void GOMP_taskloop_ull (void (*) (void *), void *,
kono
parents: 0
diff changeset
249 void (*) (void *, void *), long, long,
kono
parents: 0
diff changeset
250 unsigned, unsigned long, int,
kono
parents: 0
diff changeset
251 unsigned long long, unsigned long long,
kono
parents: 0
diff changeset
252 unsigned long long);
0
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
253 extern void GOMP_taskwait (void);
111
kono
parents: 0
diff changeset
254 extern void GOMP_taskyield (void);
kono
parents: 0
diff changeset
255 extern void GOMP_taskgroup_start (void);
kono
parents: 0
diff changeset
256 extern void GOMP_taskgroup_end (void);
0
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
257
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
258 /* sections.c */
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
259
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
260 extern unsigned GOMP_sections_start (unsigned);
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
261 extern unsigned GOMP_sections_next (void);
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
262 extern void GOMP_parallel_sections_start (void (*) (void *), void *,
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
263 unsigned, unsigned);
111
kono
parents: 0
diff changeset
264 extern void GOMP_parallel_sections (void (*) (void *), void *,
kono
parents: 0
diff changeset
265 unsigned, unsigned, unsigned);
0
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
266 extern void GOMP_sections_end (void);
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
267 extern void GOMP_sections_end_nowait (void);
111
kono
parents: 0
diff changeset
268 extern bool GOMP_sections_end_cancel (void);
0
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
269
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
270 /* single.c */
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
271
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
272 extern bool GOMP_single_start (void);
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
273 extern void *GOMP_single_copy_start (void);
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
274 extern void GOMP_single_copy_end (void *);
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
275
111
kono
parents: 0
diff changeset
276 /* target.c */
kono
parents: 0
diff changeset
277
kono
parents: 0
diff changeset
278 extern void GOMP_target (int, void (*) (void *), const void *,
kono
parents: 0
diff changeset
279 size_t, void **, size_t *, unsigned char *);
kono
parents: 0
diff changeset
280 extern void GOMP_target_ext (int, void (*) (void *), size_t, void **, size_t *,
kono
parents: 0
diff changeset
281 unsigned short *, unsigned int, void **, void **);
kono
parents: 0
diff changeset
282 extern void GOMP_target_data (int, const void *,
kono
parents: 0
diff changeset
283 size_t, void **, size_t *, unsigned char *);
kono
parents: 0
diff changeset
284 extern void GOMP_target_data_ext (int, size_t, void **, size_t *,
kono
parents: 0
diff changeset
285 unsigned short *);
kono
parents: 0
diff changeset
286 extern void GOMP_target_end_data (void);
kono
parents: 0
diff changeset
287 extern void GOMP_target_update (int, const void *,
kono
parents: 0
diff changeset
288 size_t, void **, size_t *, unsigned char *);
kono
parents: 0
diff changeset
289 extern void GOMP_target_update_ext (int, size_t, void **, size_t *,
kono
parents: 0
diff changeset
290 unsigned short *, unsigned int, void **);
kono
parents: 0
diff changeset
291 extern void GOMP_target_enter_exit_data (int, size_t, void **, size_t *,
kono
parents: 0
diff changeset
292 unsigned short *, unsigned int,
kono
parents: 0
diff changeset
293 void **);
kono
parents: 0
diff changeset
294 extern void GOMP_teams (unsigned int, unsigned int);
kono
parents: 0
diff changeset
295
kono
parents: 0
diff changeset
296 /* oacc-parallel.c */
kono
parents: 0
diff changeset
297
kono
parents: 0
diff changeset
298 extern void GOACC_parallel_keyed (int, void (*) (void *), size_t,
kono
parents: 0
diff changeset
299 void **, size_t *, unsigned short *, ...);
kono
parents: 0
diff changeset
300 extern void GOACC_parallel (int, void (*) (void *), size_t, void **, size_t *,
kono
parents: 0
diff changeset
301 unsigned short *, int, int, int, int, int, ...);
kono
parents: 0
diff changeset
302 extern void GOACC_data_start (int, size_t, void **, size_t *,
kono
parents: 0
diff changeset
303 unsigned short *);
kono
parents: 0
diff changeset
304 extern void GOACC_data_end (void);
kono
parents: 0
diff changeset
305 extern void GOACC_enter_exit_data (int, size_t, void **,
kono
parents: 0
diff changeset
306 size_t *, unsigned short *, int, int, ...);
kono
parents: 0
diff changeset
307 extern void GOACC_update (int, size_t, void **, size_t *,
kono
parents: 0
diff changeset
308 unsigned short *, int, int, ...);
kono
parents: 0
diff changeset
309 extern void GOACC_wait (int, int, ...);
kono
parents: 0
diff changeset
310 extern int GOACC_get_num_threads (void);
kono
parents: 0
diff changeset
311 extern int GOACC_get_thread_num (void);
kono
parents: 0
diff changeset
312 extern void GOACC_declare (int, size_t, void **, size_t *, unsigned short *);
kono
parents: 0
diff changeset
313
0
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
314 #endif /* LIBGOMP_G_H */