]>
Commit | Line | Data |
---|---|---|
e8018ccf GA |
1 | 2023-12-13 Julian Brown <julian@codesourcery.com> |
2 | ||
3 | * testsuite/libgomp.fortran/map-subarray.f90: New test. | |
4 | * testsuite/libgomp.fortran/map-subarray-2.f90: New test. | |
5 | * testsuite/libgomp.fortran/map-subarray-3.f90: New test. | |
6 | * testsuite/libgomp.fortran/map-subarray-4.f90: New test. | |
7 | * testsuite/libgomp.fortran/map-subarray-6.f90: New test. | |
8 | * testsuite/libgomp.fortran/map-subarray-7.f90: New test. | |
9 | * testsuite/libgomp.fortran/map-subarray-8.f90: New test. | |
10 | * testsuite/libgomp.fortran/map-subcomponents.f90: New test. | |
11 | * testsuite/libgomp.fortran/struct-elem-map-1.f90: Adjust for | |
12 | descriptor-mapping changes. Remove XFAIL. | |
13 | ||
14 | 2023-12-13 Julian Brown <julian@codesourcery.com> | |
15 | ||
16 | * target.c (gomp_map_pointer): Modify zero-length array section | |
17 | pointer handling. | |
18 | (gomp_attach_pointer): Likewise. | |
19 | (gomp_map_fields_existing): Use gomp_map_0len_lookup. | |
20 | (gomp_attach_pointer): Allow attaching null pointers (or Fortran | |
21 | "unassociated" pointers). | |
22 | (gomp_map_vars_internal): Handle zero-sized struct members. Add | |
23 | diagnostic for unmapped struct pointer members. | |
24 | * testsuite/libgomp.c-c++-common/baseptrs-1.c: New test. | |
25 | * testsuite/libgomp.c-c++-common/baseptrs-2.c: New test. | |
26 | * testsuite/libgomp.c-c++-common/baseptrs-6.c: New test. | |
27 | * testsuite/libgomp.c-c++-common/baseptrs-7.c: New test. | |
28 | * testsuite/libgomp.c-c++-common/ptr-attach-2.c: New test. | |
29 | * testsuite/libgomp.c-c++-common/target-implicit-map-2.c: Fix missing | |
30 | "free". | |
31 | * testsuite/libgomp.c-c++-common/target-implicit-map-5.c: New test. | |
32 | * testsuite/libgomp.c-c++-common/target-map-zlas-1.c: New test. | |
33 | * testsuite/libgomp.c++/class-array-1.C: New test. | |
34 | * testsuite/libgomp.c++/baseptrs-3.C: New test. | |
35 | * testsuite/libgomp.c++/baseptrs-4.C: New test. | |
36 | * testsuite/libgomp.c++/baseptrs-5.C: New test. | |
37 | * testsuite/libgomp.c++/baseptrs-8.C: New test. | |
38 | * testsuite/libgomp.c++/baseptrs-9.C: New test. | |
39 | * testsuite/libgomp.c++/ref-mapping-1.C: New test. | |
40 | * testsuite/libgomp.c++/target-48.C: New test. | |
41 | * testsuite/libgomp.c++/target-49.C: New test. | |
42 | * testsuite/libgomp.c++/target-exit-data-reftoptr-1.C: New test. | |
43 | * testsuite/libgomp.c++/target-lambda-1.C: Update for OpenMP 5.2 | |
44 | semantics. | |
45 | * testsuite/libgomp.c++/target-this-3.C: Likewise. | |
46 | * testsuite/libgomp.c++/target-this-4.C: Likewise. | |
47 | * testsuite/libgomp.fortran/struct-elem-map-1.f90: Add temporary XFAIL. | |
48 | * testsuite/libgomp.fortran/target-enter-data-6.f90: Likewise. | |
49 | ||
50 | 2023-12-13 Thomas Schwinge <thomas@codesourcery.com> | |
51 | ||
52 | * config/linux/allocator.c (linux_memspace_alloc): Fix 'size_t' | |
53 | vs. '%ld' format string mismatch. | |
54 | ||
55 | 2023-12-13 Andrew Stubbs <ams@codesourcery.com> | |
56 | Thomas Schwinge <thomas@codesourcery.com> | |
57 | ||
58 | * allocator.c (MEMSPACE_ALLOC): Add PIN. | |
59 | (MEMSPACE_CALLOC): Add PIN. | |
60 | (MEMSPACE_REALLOC): Add PIN. | |
61 | (MEMSPACE_FREE): Add PIN. | |
62 | (MEMSPACE_VALIDATE): Add PIN. | |
63 | (omp_init_allocator): Use MEMSPACE_VALIDATE to check pinning. | |
64 | (omp_aligned_alloc): Add pinning to all MEMSPACE_* calls. | |
65 | (omp_aligned_calloc): Likewise. | |
66 | (omp_realloc): Likewise. | |
67 | (omp_free): Likewise. | |
68 | * config/linux/allocator.c: New file. | |
69 | * config/nvptx/allocator.c (MEMSPACE_ALLOC): Add PIN. | |
70 | (MEMSPACE_CALLOC): Add PIN. | |
71 | (MEMSPACE_REALLOC): Add PIN. | |
72 | (MEMSPACE_FREE): Add PIN. | |
73 | (MEMSPACE_VALIDATE): Add PIN. | |
74 | * config/gcn/allocator.c (MEMSPACE_ALLOC): Add PIN. | |
75 | (MEMSPACE_CALLOC): Add PIN. | |
76 | (MEMSPACE_REALLOC): Add PIN. | |
77 | (MEMSPACE_FREE): Add PIN. | |
78 | * libgomp.texi: Switch pinned trait to supported. | |
79 | (MEMSPACE_VALIDATE): Add PIN. | |
80 | * testsuite/libgomp.c/alloc-pinned-1.c: New test. | |
81 | * testsuite/libgomp.c/alloc-pinned-2.c: New test. | |
82 | * testsuite/libgomp.c/alloc-pinned-3.c: New test. | |
83 | * testsuite/libgomp.c/alloc-pinned-4.c: New test. | |
84 | ||
d5c96225 GA |
85 | 2023-12-11 Lipeng Zhu <lipeng.zhu@intel.com> |
86 | ||
87 | * testsuite/libgomp.fortran/rwlock_1.f90: New file. | |
88 | * testsuite/libgomp.fortran/rwlock_2.f90: New file. | |
89 | * testsuite/libgomp.fortran/rwlock_3.f90: New file. | |
90 | ||
91 | 2023-12-11 Andre Vieira <andre.simoesdiasvieira@arm.com> | |
92 | ||
93 | * testsuite/libgomp.c/declare-variant-1.c: Adapt test for aarch64. | |
94 | * testsuite/libgomp.fortran/declare-simd-1.f90: Likewise. | |
95 | ||
96 | 2023-12-11 Tobias Burnus <tobias@codesourcery.com> | |
97 | ||
98 | * libgomp_g.h (GOMP_add_alloc, GOMP_is_alloc): Add. | |
99 | ||
dd3b75d8 GA |
100 | 2023-12-08 Tobias Burnus <tobias@codesourcery.com> |
101 | ||
102 | * allocator.c (struct fort_alloc_splay_tree_key_s, | |
103 | fort_alloc_splay_compare, GOMP_add_alloc, GOMP_is_alloc): New. | |
104 | * libgomp.h: Define splay_tree_static for 'reverse' splay tree. | |
105 | * libgomp.map (GOMP_5.1.2): New; add GOMP_add_alloc and | |
106 | GOMP_is_alloc; move GOMP_target_map_indirect_ptr from ... | |
107 | (GOMP_5.1.1): ... here. | |
108 | * libgomp.texi (Impl. Status, Memory management): Update for | |
109 | allocators/allocate directives. | |
110 | * splay-tree.c: Handle splay_tree_static define to declare all | |
111 | functions as static. | |
112 | (splay_tree_lookup_node): New. | |
113 | * splay-tree.h: Handle splay_tree_decl_only define. | |
114 | (splay_tree_lookup_node): New prototype. | |
115 | * target.c: Define splay_tree_static for 'reverse'. | |
116 | * testsuite/libgomp.fortran/allocators-1.f90: New test. | |
117 | * testsuite/libgomp.fortran/allocators-2.f90: New test. | |
118 | * testsuite/libgomp.fortran/allocators-3.f90: New test. | |
119 | * testsuite/libgomp.fortran/allocators-4.f90: New test. | |
120 | * testsuite/libgomp.fortran/allocators-5.f90: New test. | |
121 | ||
ae9e48e5 GA |
122 | 2023-12-06 Andrew Stubbs <ams@codesourcery.com> |
123 | ||
124 | * config/gcn/libgomp-gcn.h (TEAM_ARENA_START): Move to here. | |
125 | (TEAM_ARENA_FREE): Likewise. | |
126 | (TEAM_ARENA_END): Likewise. | |
127 | (GCN_LOWLAT_HEAP): New. | |
128 | * config/gcn/team.c (LITTLEENDIAN_CPU): New, and import hsa.h. | |
129 | (__gcn_lowlat_init): New prototype. | |
130 | (gomp_gcn_enter_kernel): Initialize the low-latency heap. | |
131 | * libgomp.h (TEAM_ARENA_START): Move to libgomp.h. | |
132 | (TEAM_ARENA_FREE): Likewise. | |
133 | (TEAM_ARENA_END): Likewise. | |
134 | * plugin/plugin-gcn.c (lowlat_size): New variable. | |
135 | (print_kernel_dispatch): Label the group_segment_size purpose. | |
136 | (init_environment_variables): Read GOMP_GCN_LOWLAT_POOL. | |
137 | (create_kernel_dispatch): Pass low-latency head allocation to kernel. | |
138 | (run_kernel): Use shadow; don't assume values. | |
139 | * testsuite/libgomp.c/omp_alloc-traits.c: Enable for amdgcn. | |
140 | * config/gcn/allocator.c: New file. | |
141 | * libgomp.texi: Document low-latency implementation details. | |
142 | ||
143 | 2023-12-06 Andrew Stubbs <ams@codesourcery.com> | |
144 | ||
145 | * allocator.c (MEMSPACE_VALIDATE): New macro. | |
146 | (omp_init_allocator): Use MEMSPACE_VALIDATE. | |
147 | (omp_aligned_alloc): Use OMP_LOW_LAT_MEM_ALLOC_INVALID. | |
148 | (omp_aligned_calloc): Likewise. | |
149 | (omp_realloc): Likewise. | |
150 | * config/nvptx/allocator.c (nvptx_memspace_validate): New function. | |
151 | (MEMSPACE_VALIDATE): New macro. | |
152 | (OMP_LOW_LAT_MEM_ALLOC_INVALID): New define. | |
153 | * libgomp.texi: Document low-latency implementation details. | |
154 | * testsuite/libgomp.c/omp_alloc-1.c (main): Add gnu_lowlat. | |
155 | * testsuite/libgomp.c/omp_alloc-2.c (main): Add gnu_lowlat. | |
156 | * testsuite/libgomp.c/omp_alloc-3.c (main): Add gnu_lowlat. | |
157 | * testsuite/libgomp.c/omp_alloc-4.c (main): Add access trait. | |
158 | * testsuite/libgomp.c/omp_alloc-5.c (main): Add gnu_lowlat. | |
159 | * testsuite/libgomp.c/omp_alloc-6.c (main): Add access trait. | |
160 | * testsuite/libgomp.c/omp_alloc-traits.c: New test. | |
161 | ||
162 | 2023-12-06 Andrew Stubbs <ams@codesourcery.com> | |
163 | Kwok Cheung Yeung <kcy@codesourcery.com> | |
164 | Thomas Schwinge <thomas@codesourcery.com> | |
165 | ||
166 | * allocator.c (MEMSPACE_ALLOC): New macro. | |
167 | (MEMSPACE_CALLOC): New macro. | |
168 | (MEMSPACE_REALLOC): New macro. | |
169 | (MEMSPACE_FREE): New macro. | |
170 | (predefined_alloc_mapping): New array. Add _Static_assert to match. | |
171 | (ARRAY_SIZE): New macro. | |
172 | (omp_aligned_alloc): Use MEMSPACE_ALLOC. | |
173 | Implement fall-backs for predefined allocators. Simplify existing | |
174 | fall-backs. | |
175 | (omp_free): Use MEMSPACE_FREE. | |
176 | (omp_calloc): Use MEMSPACE_CALLOC. Implement fall-backs for | |
177 | predefined allocators. Simplify existing fall-backs. | |
178 | (omp_realloc): Use MEMSPACE_REALLOC, MEMSPACE_ALLOC, and MEMSPACE_FREE. | |
179 | Implement fall-backs for predefined allocators. Simplify existing | |
180 | fall-backs. | |
181 | * config/nvptx/team.c (__nvptx_lowlat_pool): New asm variable. | |
182 | (__nvptx_lowlat_init): New prototype. | |
183 | (gomp_nvptx_main): Call __nvptx_lowlat_init. | |
184 | * libgomp.texi: Update memory space table. | |
185 | * plugin/plugin-nvptx.c (lowlat_pool_size): New variable. | |
186 | (GOMP_OFFLOAD_init_device): Read the GOMP_NVPTX_LOWLAT_POOL envvar. | |
187 | (GOMP_OFFLOAD_run): Apply lowlat_pool_size. | |
188 | * basic-allocator.c: New file. | |
189 | * config/nvptx/allocator.c: New file. | |
190 | * testsuite/libgomp.c/omp_alloc-1.c: New test. | |
191 | * testsuite/libgomp.c/omp_alloc-2.c: New test. | |
192 | * testsuite/libgomp.c/omp_alloc-3.c: New test. | |
193 | * testsuite/libgomp.c/omp_alloc-4.c: New test. | |
194 | * testsuite/libgomp.c/omp_alloc-5.c: New test. | |
195 | * testsuite/libgomp.c/omp_alloc-6.c: New test. | |
196 | ||
8428bcd7 GA |
197 | 2023-11-30 Thomas Schwinge <thomas@codesourcery.com> |
198 | ||
199 | * testsuite/libgomp.c/declare-variant-4-fiji.c: Adjust. | |
200 | * testsuite/libgomp.c/declare-variant-4-gfx803.c: Likewise. | |
201 | * testsuite/libgomp.c/declare-variant-4-gfx900.c: Likewise. | |
202 | * testsuite/libgomp.c/declare-variant-4-gfx906.c: Likewise. | |
203 | * testsuite/libgomp.c/declare-variant-4-gfx908.c: Likewise. | |
204 | * testsuite/libgomp.c/declare-variant-4-gfx90a.c: Likewise. | |
205 | * testsuite/libgomp.c/declare-variant-4.h: Likewise. | |
206 | * testsuite/libgomp.c/declare-variant-4.c: New. | |
207 | ||
208 | 2023-11-30 Thomas Schwinge <thomas@codesourcery.com> | |
209 | ||
210 | * testsuite/libgomp.c/declare-variant-3-sm30.c: Turn 'dg-do run' | |
211 | into 'dg-do link'. | |
212 | * testsuite/libgomp.c/declare-variant-3.c: New. | |
213 | * testsuite/libgomp.c/declare-variant-3.h: Extend. | |
214 | ||
215 | 2023-11-30 Thomas Schwinge <thomas@codesourcery.com> | |
216 | ||
217 | * testsuite/libgomp.c/declare-variant-3-sm30.c: Restrict | |
218 | 'scan-offload-tree-dump' to 'only_for_offload_target nvptx-none'. | |
219 | * testsuite/libgomp.c/declare-variant-3-sm35.c: Likewise. | |
220 | * testsuite/libgomp.c/declare-variant-3-sm53.c: Likewise. | |
221 | * testsuite/libgomp.c/declare-variant-3-sm70.c: Likewise. | |
222 | * testsuite/libgomp.c/declare-variant-3-sm75.c: Likewise. | |
223 | * testsuite/libgomp.c/declare-variant-3-sm80.c: Likewise. | |
224 | * testsuite/libgomp.c/declare-variant-4-fiji.c: Restrict | |
225 | 'scan-offload-tree-dump' to | |
226 | 'only_for_offload_target amdgcn-amdhsa'. | |
227 | * testsuite/libgomp.c/declare-variant-4-gfx803.c: Likewise. | |
228 | * testsuite/libgomp.c/declare-variant-4-gfx900.c: Likewise. | |
229 | * testsuite/libgomp.c/declare-variant-4-gfx906.c: Likewise. | |
230 | * testsuite/libgomp.c/declare-variant-4-gfx908.c: Likewise. | |
231 | * testsuite/libgomp.c/declare-variant-4-gfx90a.c: Likewise. | |
232 | ||
233 | 2023-11-30 Thomas Schwinge <thomas@codesourcery.com> | |
234 | ||
235 | * testsuite/libgomp.c/declare-variant-3-sm30.c: | |
236 | 'dg-additional-options -foffload=nvptx-none'. | |
237 | * testsuite/libgomp.c/declare-variant-3-sm35.c: Likewise. | |
238 | * testsuite/libgomp.c/declare-variant-3-sm53.c: Likewise. | |
239 | * testsuite/libgomp.c/declare-variant-3-sm70.c: Likewise. | |
240 | * testsuite/libgomp.c/declare-variant-3-sm75.c: Likewise. | |
241 | * testsuite/libgomp.c/declare-variant-3-sm80.c: Likewise. | |
242 | ||
31d8cf17 GA |
243 | 2023-11-29 Thomas Schwinge <thomas@codesourcery.com> |
244 | ||
245 | * testsuite/libgomp.c/target-simd-clone-1.c: Restrict | |
246 | 'scan-offload-ipa-dump's to | |
247 | 'only_for_offload_target amdgcn-amdhsa'. | |
248 | * testsuite/libgomp.c/target-simd-clone-2.c: Likewise. | |
249 | * testsuite/libgomp.c/target-simd-clone-3.c: Likewise. | |
250 | ||
77cf1dba GA |
251 | 2023-11-24 Tobias Burnus <tobias@codesourcery.com> |
252 | ||
253 | * libgomp.texi (5.2 Impl. Status): An argument to the destroy clause | |
254 | is now supported. | |
255 | ||
26a7e775 GA |
256 | 2023-11-22 Thomas Schwinge <thomas@codesourcery.com> |
257 | ||
258 | * testsuite/libgomp.c/declare-variant-3.h (f30, f35, f53, f70) | |
259 | (f75, f80, f): Add '__attribute__ ((noipa))'. | |
260 | * testsuite/libgomp.c/declare-variant-4.h (gfx803, gfx900, gfx906) | |
261 | (gfx908, gfx90a, f): Likewise. | |
262 | ||
17cc2e57 GA |
263 | 2023-11-15 Andrew Stubbs <ams@codesourcery.com> |
264 | Andrew Jenner <andrew@codesourcery.com> | |
265 | ||
266 | * plugin/plugin-gcn.c (max_isa_vgprs): New. | |
267 | (run_kernel): CDNA2 devices have more VGPRs. | |
268 | ||
b9fd8399 GA |
269 | 2023-11-10 Tobias Burnus <tobias@codesourcery.com> |
270 | ||
271 | * libgomp.texi (OpenMP Impl. Status): Update for OpenMP TR12; | |
272 | renamed section from TR11. | |
273 | ||
c48f1056 GA |
274 | 2023-11-07 Kwok Cheung Yeung <kcy@codesourcery.com> |
275 | ||
276 | * config/linux/target-indirect.c: Move to... | |
277 | * target-indirect.c: ...here. | |
278 | ||
279 | 2023-11-07 Kwok Cheung Yeung <kcy@codesourcery.com> | |
280 | ||
281 | * Makefile.am (libgomp_la_SOURCES): Add target-indirect.c. | |
282 | * Makefile.in: Regenerate. | |
283 | * libgomp-plugin.h (GOMP_INDIRECT_ADDR_MAP): New define. | |
284 | (GOMP_OFFLOAD_load_image): Add extra argument. | |
285 | * libgomp.h (struct indirect_splay_tree_key_s): New. | |
286 | (indirect_splay_tree_node, indirect_splay_tree, | |
287 | indirect_splay_tree_key): New. | |
288 | (indirect_splay_compare): New. | |
289 | * libgomp.map (GOMP_5.1.1): Add GOMP_target_map_indirect_ptr. | |
290 | * libgomp.texi (OpenMP 5.1): Update documentation on indirect | |
291 | calls in target region and on indirect clause. | |
292 | (Other new OpenMP 5.2 features): Add entry for virtual function calls. | |
293 | * libgomp_g.h (GOMP_target_map_indirect_ptr): Add prototype. | |
294 | * oacc-host.c (host_load_image): Add extra argument. | |
295 | * target.c (gomp_load_image_to_device): If the GOMP_VERSION is high | |
296 | enough, read host indirect functions table and pass to | |
297 | load_image_func. | |
298 | * config/accel/target-indirect.c: New. | |
299 | * config/linux/target-indirect.c: New. | |
300 | * config/gcn/team.c (build_indirect_map): Add prototype. | |
301 | (gomp_gcn_enter_kernel): Initialize support for indirect | |
302 | function calls on GCN target. | |
303 | * config/nvptx/team.c (build_indirect_map): Add prototype. | |
304 | (gomp_nvptx_main): Initialize support for indirect function | |
305 | calls on NVPTX target. | |
306 | * plugin/plugin-gcn.c (struct gcn_image_desc): Add field for | |
307 | indirect functions count. | |
308 | (GOMP_OFFLOAD_load_image): Add extra argument. If the GOMP_VERSION | |
309 | is high enough, build address translation table and copy it to target | |
310 | memory. | |
311 | * plugin/plugin-nvptx.c (nvptx_tdata): Add field for indirect | |
312 | functions count. | |
313 | (GOMP_OFFLOAD_load_image): Add extra argument. If the GOMP_VERSION | |
314 | is high enough, Build address translation table and copy it to target | |
315 | memory. | |
316 | * testsuite/libgomp.c-c++-common/declare-target-indirect-1.c: New. | |
317 | * testsuite/libgomp.c-c++-common/declare-target-indirect-2.c: New. | |
318 | * testsuite/libgomp.c++/declare-target-indirect-1.C: New. | |
319 | ||
459866ea GA |
320 | 2023-11-05 Jakub Jelinek <jakub@redhat.com> |
321 | ||
322 | * libgomp.texi (Enabling OpenMP): Adjust wording for attribute syntax | |
323 | supported also in C. | |
324 | ||
eac0917b GA |
325 | 2023-10-31 Thomas Schwinge <thomas@codesourcery.com> |
326 | ||
327 | * testsuite/libgomp.oacc-c-c++-common/deep-copy-8.c: Add OpenACC | |
328 | 'acc_map_data' variant. | |
329 | ||
f75fc1f0 GA |
330 | 2023-10-25 Thomas Schwinge <thomas@codesourcery.com> |
331 | ||
332 | * oacc-parallel.c (GOACC_data_start): Handle | |
333 | 'GOACC_FLAG_LOCAL_DEVICE'. | |
334 | (GOACC_parallel_keyed): Simplify accordingly. | |
335 | * testsuite/libgomp.oacc-fortran/self-1.f90: Adjust. | |
336 | ||
337 | 2023-10-25 Thomas Schwinge <thomas@codesourcery.com> | |
338 | ||
339 | * testsuite/libgomp.oacc-c-c++-common/if-1.c: Enhance. | |
340 | * testsuite/libgomp.oacc-c-c++-common/self-1.c: Likewise. | |
341 | * testsuite/libgomp.oacc-fortran/if-1.f90: Likewise. | |
342 | * testsuite/libgomp.oacc-c-c++-common/if-self-1.c: New. | |
343 | * testsuite/libgomp.oacc-fortran/self-1.f90: Likewise. | |
344 | ||
345 | 2023-10-25 Chung-Lin Tang <cltang@codesourcery.com> | |
346 | ||
347 | * oacc-parallel.c (GOACC_parallel_keyed): Add code to handle | |
348 | GOACC_FLAG_LOCAL_DEVICE case. | |
349 | * testsuite/libgomp.oacc-c-c++-common/self-1.c: New test. | |
350 | ||
3b632746 GA |
351 | 2023-10-22 Iain Sandoe <iain@sandoe.co.uk> |
352 | ||
353 | * Makefile.am: Handle Darwin rpaths. | |
354 | * Makefile.in: Regenerate. | |
355 | * configure: Regenerate. | |
356 | * configure.ac: Handle Darwin rpaths | |
357 | ||
6f684dd2 GA |
358 | 2023-10-20 Andrew Stubbs <ams@codesourcery.com> |
359 | ||
360 | * plugin/plugin-gcn.c (EF_AMDGPU_MACH_AMDGCN_GFX1030): New. | |
361 | (isa_hsa_name): Recognise gfx1030. | |
362 | (isa_code): Likewise. | |
363 | * team.c (defined): Remove s_endpgm. | |
364 | ||
365 | 2023-10-20 Tobias Burnus <tobias@codesourcery.com> | |
366 | ||
367 | * omp_lib.f90.in: Tag omp_lock_hint_* as being deprecated when | |
368 | _OPENMP >= 201811. | |
369 | ||
d5cfabc6 GA |
370 | 2023-10-15 Tobias Burnus <tobias@codesourcery.com> |
371 | ||
372 | * libgomp.texi (Enabling OpenMP): Update for C/C++ attributes; | |
373 | improve wording especially for Fortran; mention -fopenmp-simd. | |
374 | (Enabling OpenACC): Minor cleanup; remove conditional compilation | |
375 | sentinel. | |
376 | ||
377 | 2023-10-15 Tobias Burnus <tobias@codesourcery.com> | |
378 | ||
379 | * libgomp.texi (ACC_DEVICE_TYPE, ACC_DEVICE_NUM, ACC_PROFLIB): | |
380 | Actually document what the function does. | |
381 | (GCC_ACC_NOTIFY): Remove unused env var. | |
382 | ||
383 | 2023-10-15 Tobias Burnus <tobias@codesourcery.com> | |
384 | ||
385 | * libgomp.texi: Replace most future tense by present tense. | |
386 | ||
b3cb98d7 GA |
387 | 2023-10-14 Tobias Burnus <tobias@codesourcery.com> |
388 | ||
389 | * testsuite/libgomp.fortran/allocate-6.f90: Add missing | |
390 | dg-additional-options "-fdump-tree-gimple"; fix scan. | |
391 | ||
392 | 2023-10-14 Tobias Burnus <tobias@codesourcery.com> | |
393 | ||
394 | * libgomp.texi: Fix some typos. | |
395 | (Memory Management Routines): Document remaining 5.x routines. | |
396 | (Memory allocation): Make clear when the section applies. | |
397 | ||
398 | 2023-10-14 Tobias Burnus <tobias@codesourcery.com> | |
399 | ||
400 | * libgomp.texi (OpenMP Impl. Status): Mention that Fortran now | |
401 | supports the allocate directive for stack variables. | |
402 | * testsuite/libgomp.fortran/allocate-5.f90: New test. | |
403 | * testsuite/libgomp.fortran/allocate-6.f90: New test. | |
404 | * testsuite/libgomp.fortran/allocate-7.f90: New test. | |
405 | * testsuite/libgomp.fortran/allocate-8.f90: New test. | |
406 | ||
f9ef2e6d GA |
407 | 2023-10-12 Tobias Burnus <tobias@codesourcery.com> |
408 | ||
409 | * libgomp.texi (OMP_DEFAULT_DEVICE): Update spec ref; add @ref to | |
410 | OMP_TARGET_OFFLOAD. | |
411 | (OMP_TARGET_OFFLOAD): Update spec ref; add @ref to OMP_DEFAULT_DEVICE; | |
412 | clarify MANDATORY behavior. | |
413 | ||
414 | 2023-10-12 Zhang, Jun <jun.zhang@intel.com> | |
415 | ||
416 | * env.c (initialize_env): Use do_adjust_default_spincount. | |
417 | * config/linux/x86/spincount.h: New file. | |
418 | ||
00c67d62 GA |
419 | 2023-10-08 Tobias Burnus <tobias@codesourcery.com> |
420 | ||
421 | * testsuite/libgomp.fortran/strictly-structured-block-1.f90: New test. | |
422 | ||
0defa2a0 GA |
423 | 2023-10-06 Tobias Burnus <tobias@codesourcery.com> |
424 | ||
425 | * libgomp.texi (Device Memory Routines): New. | |
426 | ||
bf2e66e3 GA |
427 | 2023-10-04 Tobias Burnus <tobias@codesourcery.com> |
428 | ||
429 | * libgomp.texi (OpenMP Context Selectors): Clarify 'kind' trait | |
430 | and that other target archs have no 'arch'/'isa' traits implemented. | |
431 | ||
4907d220 GA |
432 | 2023-09-20 Tobias Burnus <tobias@codesourcery.com> |
433 | ||
434 | * libgomp.texi (OpenMP 5.1 Impl.): Mark 'omp allocate' as | |
435 | implemented for C only. | |
436 | * testsuite/libgomp.c/allocate-4.c: New test. | |
437 | * testsuite/libgomp.c/allocate-5.c: New test. | |
438 | * testsuite/libgomp.c/allocate-6.c: New test. | |
439 | ||
440 | 2023-09-20 Jakub Jelinek <jakub@redhat.com> | |
441 | ||
442 | PR c++/111392 | |
443 | * libgomp.texi: Mark decl attribute was added to the C++ attribute | |
444 | syntax as implemented. | |
445 | ||
590a8bec GA |
446 | 2023-09-19 Jakub Jelinek <jakub@redhat.com> |
447 | ||
448 | PR libgomp/111413 | |
449 | * env.c (initialize_env): Don't dereference environ if it is NULL. | |
450 | Reindent. | |
451 | ||
6b78e9a5 GA |
452 | 2023-09-18 Richard Biener <rguenther@suse.de> |
453 | ||
454 | PR tree-optimization/111294 | |
455 | * team.c (gomp_team_start): Assert alloca size to avoid false | |
456 | positive alloc-size diagnostic. | |
457 | ||
a1c20158 GA |
458 | 2023-09-12 Thomas Schwinge <thomas@codesourcery.com> |
459 | Chung-Lin Tang <cltang@codesourcery.com> | |
460 | ||
461 | PR testsuite/91884 | |
462 | PR testsuite/109951 | |
463 | * configure.ac: Revert earlier changes, instead | |
464 | 'AC_SUBST(SYSROOT_CFLAGS_FOR_TARGET)'. | |
465 | * Makefile.in: Regenerate. | |
466 | * configure: Likewise. | |
467 | * testsuite/Makefile.in: Likewise. | |
468 | * testsuite/lib/libgomp.exp (libgomp_init): Remove | |
469 | "Fix up '-funconfigured-libstdc++-v3' in 'GXX_UNDER_TEST'" code. | |
470 | If '--with-build-sysroot=[...]' was specified, use it for | |
471 | build-tree testing. | |
472 | * testsuite/libgomp-site-extra.exp.in (GCC_UNDER_TEST) | |
473 | (GXX_UNDER_TEST, GFORTRAN_UNDER_TEST): Don't set. | |
474 | (SYSROOT_CFLAGS_FOR_TARGET): Set. | |
475 | * testsuite/libgomp.c++/c++.exp (lang_source_re) | |
476 | (lang_include_flags): Set for build-tree testing. | |
477 | * testsuite/libgomp.oacc-c++/c++.exp (lang_source_re) | |
478 | (lang_include_flags): Likewise. | |
479 | ||
109c11f6 GA |
480 | 2023-09-07 Tobias Burnus <tobias@codesourcery.com> |
481 | ||
482 | * libgomp.texi (Memory Management Routines): New; add documentation for | |
483 | omp_init_allocator, omp_destroy_allocator, omp_set_default_allocator, | |
484 | omp_get_default_allocator. | |
485 | (OMP_ALLOCATOR): Fix ICV var name; add see-also references. | |
486 | ||
478c37e7 TB |
487 | 2023-09-07 Tobias Burnus <tobias@codesourcery.com> |
488 | ||
489 | * target.c (gomp_unload_device): Remove tailing whitespace. | |
490 | ||
d820cd78 GA |
491 | 2023-09-04 Tobias Burnus <tobias@codesourcery.com> |
492 | Thomas Schwinge <thomas@codesourcery.com> | |
493 | ||
494 | * testsuite/libgomp.c-c++-common/pr100059-1.c: New. | |
495 | ||
b8863640 GA |
496 | 2023-08-25 Sandra Loosemore <sandra@codesourcery.com> |
497 | ||
498 | * libgomp.texi (OpenMP 5.0): Imperfectly-nested loops are done. | |
499 | ||
500 | 2023-08-25 Sandra Loosemore <sandra@codesourcery.com> | |
501 | ||
502 | * testsuite/libgomp.fortran/imperfect-destructor.f90: New. | |
503 | * testsuite/libgomp.fortran/imperfect1.f90: New. | |
504 | * testsuite/libgomp.fortran/imperfect2.f90: New. | |
505 | * testsuite/libgomp.fortran/imperfect3.f90: New. | |
506 | * testsuite/libgomp.fortran/imperfect4.f90: New. | |
507 | * testsuite/libgomp.fortran/target-imperfect1.f90: New. | |
508 | * testsuite/libgomp.fortran/target-imperfect2.f90: New. | |
509 | * testsuite/libgomp.fortran/target-imperfect3.f90: New. | |
510 | * testsuite/libgomp.fortran/target-imperfect4.f90: New. | |
511 | ||
512 | 2023-08-25 Sandra Loosemore <sandra@codesourcery.com> | |
513 | ||
514 | * testsuite/libgomp.c-c++-common/imperfect1.c: New. | |
515 | * testsuite/libgomp.c-c++-common/imperfect2.c: New. | |
516 | * testsuite/libgomp.c-c++-common/imperfect3.c: New. | |
517 | * testsuite/libgomp.c-c++-common/imperfect4.c: New. | |
518 | * testsuite/libgomp.c-c++-common/imperfect5.c: New. | |
519 | * testsuite/libgomp.c-c++-common/imperfect6.c: New. | |
520 | * testsuite/libgomp.c-c++-common/target-imperfect1.c: New. | |
521 | * testsuite/libgomp.c-c++-common/target-imperfect2.c: New. | |
522 | * testsuite/libgomp.c-c++-common/target-imperfect3.c: New. | |
523 | * testsuite/libgomp.c-c++-common/target-imperfect4.c: New. | |
524 | ||
525 | 2023-08-25 Sandra Loosemore <sandra@codesourcery.com> | |
526 | ||
527 | * testsuite/libgomp.c++/attrs-imperfect1.C: New test. | |
528 | * testsuite/libgomp.c++/attrs-imperfect2.C: New test. | |
529 | * testsuite/libgomp.c++/attrs-imperfect3.C: New test. | |
530 | * testsuite/libgomp.c++/attrs-imperfect4.C: New test. | |
531 | * testsuite/libgomp.c++/attrs-imperfect5.C: New test. | |
532 | * testsuite/libgomp.c++/attrs-imperfect6.C: New test. | |
533 | * testsuite/libgomp.c++/imperfect-class-1.C: New test. | |
534 | * testsuite/libgomp.c++/imperfect-class-2.C: New test. | |
535 | * testsuite/libgomp.c++/imperfect-class-3.C: New test. | |
536 | * testsuite/libgomp.c++/imperfect-destructor.C: New test. | |
537 | * testsuite/libgomp.c++/imperfect-template-1.C: New test. | |
538 | * testsuite/libgomp.c++/imperfect-template-2.C: New test. | |
539 | * testsuite/libgomp.c++/imperfect-template-3.C: New test. | |
540 | ||
6cd85273 GA |
541 | 2023-08-22 Francois-Xavier Coudert <fxcoudert@gmail.com> |
542 | ||
543 | * testsuite/lib/libgomp.exp: Add effective target. | |
544 | * testsuite/libgomp.c/simd-math-1.c: Avoid calling nonstandard | |
545 | functions. | |
546 | ||
547 | 2023-08-22 Tobias Burnus <tobias@codesourcery.com> | |
548 | ||
549 | * libgomp.texi (OpenMP 5.2 status): Add depobj with | |
550 | destroy-var argument as 'N'. Mark defaultmap with | |
551 | 'all' category as 'Y'. | |
552 | ||
1ba33636 GA |
553 | 2023-08-19 Tobias Burnus <tobias@codesourcery.com> |
554 | ||
555 | PR middle-end/111017 | |
556 | * testsuite/libgomp.c-c++-common/non-rect-loop-1.c: New test. | |
557 | ||
1eb2433f GA |
558 | 2023-08-17 Tobias Burnus <tobias@codesourcery.com> |
559 | ||
560 | PR libgomp/111024 | |
561 | * allocator.c (gomp_init_libnuma): Call numa_available; if | |
562 | not available or not returning 0, disable libnuma usage. | |
563 | ||
4b92dba7 GA |
564 | 2023-08-07 Nick Alcock <nick.alcock@oracle.com> |
565 | ||
566 | * configure: Regenerate. | |
567 | ||
568 | 2023-08-07 Alexander von Gluck IV <kallisti5@unixzen.com> | |
569 | ||
570 | * configure: Regenerate. | |
571 | ||
572 | 2023-08-07 Nick Alcock <nick.alcock@oracle.com> | |
573 | ||
574 | * configure: Regenerate. | |
575 | ||
576 | 2023-08-07 Nick Alcock <nick.alcock@oracle.com> | |
577 | ||
578 | * configure: Regenerate. | |
579 | ||
580 | 2023-08-07 H.J. Lu <hjl.tools@gmail.com> | |
581 | ||
582 | * configure: Regenerate. | |
583 | ||
584 | 2023-08-07 H.J. Lu <hjl.tools@gmail.com> | |
585 | ||
586 | * configure: Regenerate. | |
587 | ||
861962ee GA |
588 | 2023-07-29 Tobias Burnus <tobias@codesourcery.com> |
589 | ||
590 | * target.c (omp_target_memcpy_rect_worker): Undo dim=1 change for | |
591 | GOMP_OFFLOAD_CAP_SHARED_MEM. | |
592 | (omp_target_memcpy_rect_copy): Likewise for lock condition. | |
593 | (gomp_load_plugin_for_device): Use DLSYM_OPT not DLSYM for | |
594 | memcpy3d/memcpy2d. | |
595 | * plugin/plugin-nvptx.c (GOMP_OFFLOAD_memcpy2d, | |
596 | GOMP_OFFLOAD_memcpy3d): Use memset 0 to nullify reserved and | |
597 | unused src/dst fields for that mem type; remove '{src,dst}LOD = 0'. | |
598 | ||
5278cd6a GA |
599 | 2023-07-26 Tobias Burnus <tobias@codesourcery.com> |
600 | ||
601 | * libgomp-plugin.h (GOMP_OFFLOAD_memcpy2d, | |
602 | GOMP_OFFLOAD_memcpy3d): New prototypes. | |
603 | * libgomp.h (struct gomp_device_descr): Add memcpy2d_func | |
604 | and memcpy3d_func. | |
605 | * libgomp.texi (nvtpx): Document when cuMemcpy2D/cuMemcpy3D is used. | |
606 | * oacc-host.c (memcpy2d_func, .memcpy3d_func): Init with NULL. | |
607 | * plugin/cuda-lib.def (cuMemcpy2D, cuMemcpy2DUnaligned, | |
608 | cuMemcpy3D): Invoke via CUDA_ONE_CALL. | |
609 | * plugin/plugin-nvptx.c (GOMP_OFFLOAD_memcpy2d, | |
610 | GOMP_OFFLOAD_memcpy3d): New. | |
611 | * target.c (omp_target_memcpy_rect_worker): | |
612 | (omp_target_memcpy_rect_check, omp_target_memcpy_rect_copy): | |
613 | Permit all device-to-device copyies; invoke new plugins for | |
614 | 2D and 3D copying when available. | |
615 | (gomp_load_plugin_for_device): DLSYM the new plugin functions. | |
616 | * testsuite/libgomp.c/target-12.c: Fix dimension bug. | |
617 | * testsuite/libgomp.fortran/target-12.f90: Likewise. | |
618 | * testsuite/libgomp.fortran/target-memcpy-rect-1.f90: New test. | |
619 | ||
620 | 2023-07-26 Tobias Burnus <tobias@codesourcery.com> | |
621 | ||
622 | * libgomp.texi (OpenMP 5.2 features): Add 'all' for 'defaultmap' as 'N'. | |
623 | (Tasking Routines): Document omp_in_explicit_task. | |
624 | (Implementation-defined ICV Initialization): Use @ref not @code. | |
625 | ||
e2bf82d5 GA |
626 | 2023-07-20 Tobias Burnus <tobias@codesourcery.com> |
627 | ||
628 | * libgomp.texi (OpenMP Runtime Library Routines): | |
629 | Split long list by adding sections and moving routines there. | |
630 | (OMP_ALLOCATORS): Fix typo. | |
631 | ||
49bed11d GA |
632 | 2023-07-19 Tobias Burnus <tobias@codesourcery.com> |
633 | ||
634 | PR fortran/107424 | |
635 | * libgomp.texi (Impl. Status 5.0): Add link to new PR110735. | |
636 | * testsuite/libgomp.fortran/non-rectangular-loop-1.f90: Enable | |
637 | commented tests. | |
638 | * testsuite/libgomp.fortran/non-rectangular-loop-1a.f90: Remove | |
639 | test file; tests are in non-rectangular-loop-1.f90. | |
640 | * testsuite/libgomp.fortran/non-rectangular-loop-5.f90: Change | |
641 | testcase to use a non-constant step to retain the 'sorry' test. | |
642 | * testsuite/libgomp.fortran/non-rectangular-loop-6.f90: New test. | |
643 | ||
473c1b58 GA |
644 | 2023-07-17 Tobias Burnus <tobias@codesoucery.com> |
645 | Chung-Lin Tang <cltang@codesourcery.com> | |
646 | ||
647 | * testsuite/libgomp.fortran/uses_allocators_1.f90: New test. | |
648 | * testsuite/libgomp.fortran/uses_allocators_2.f90: New test. | |
649 | ||
18dac101 GA |
650 | 2023-07-14 Tobias Burnus <tobias@codesourcery.com> |
651 | ||
652 | * libgomp.texi (OMP_ALLOCATOR): Document the default values for | |
653 | the traits. Add crossref to 'Memory allocation'. | |
654 | (Memory allocation): Refer to OMP_ALLOCATOR for the available | |
655 | traits and allocators/mem spaces; document the default value | |
656 | for the pool_size trait. | |
657 | ||
658 | 2023-07-14 Tobias Burnus <tobias@codesourcery.com> | |
659 | ||
660 | * allocator.c (omp_init_allocator): Check whether symbol from | |
661 | dlopened libnuma is available before using libnuma for | |
662 | allocations. | |
663 | ||
3d0ca8b5 GA |
664 | 2023-07-13 David Edelsohn <dje.gcc@gmail.com> |
665 | ||
666 | * testsuite/libgomp.c++/target-map-class-2.C: Require LTO. | |
667 | * testsuite/libgomp.c-c++-common/requires-4.c: Require LTO. | |
668 | * testsuite/libgomp.c-c++-common/requires-4a.c: Require LTO. | |
669 | ||
15939bae GA |
670 | 2023-07-12 Tobias Burnus <tobias@codesourcery.com> |
671 | ||
672 | * libgomp.texi (OpenMP 5.0): Replace '... stub' by @ref to | |
673 | 'Memory allocation' section which contains the full status. | |
674 | (TR11): Remove differently worded duplicated entry. | |
675 | ||
676 | 2023-07-12 Tobias Burnus <tobias@codesourcery.com> | |
677 | ||
678 | * allocator.c: Add ifdef for LIBGOMP_USE_LIBNUMA. | |
679 | (enum gomp_numa_memkind_kind): Renamed from gomp_memkind_kind; | |
680 | add GOMP_MEMKIND_LIBNUMA. | |
681 | (struct gomp_libnuma_data, gomp_init_libnuma, gomp_get_libnuma): New. | |
682 | (omp_init_allocator): Handle partition=nearest with libnuma if avail. | |
683 | (omp_aligned_alloc, omp_free, omp_aligned_calloc, omp_realloc): Add | |
684 | numa_alloc_local (+ memset), numa_free, and numa_realloc calls as | |
685 | needed. | |
686 | * config/linux/allocator.c (LIBGOMP_USE_LIBNUMA): Define | |
687 | * libgomp.texi: Fix a typo; use 'fi' instead of its ligature char. | |
688 | (Memory allocation): Renamed from 'Memory allocation with libmemkind'; | |
689 | updated for libnuma usage. | |
690 | * testsuite/libgomp.c-c++-common/alloc-11.c: New test. | |
691 | * testsuite/libgomp.c-c++-common/alloc-12.c: New test. | |
692 | ||
af3d3ce3 GA |
693 | 2023-07-11 Tobias Burnus <tobias@codesourcery.com> |
694 | ||
695 | * allocator.c (omp_init_allocator): Use malloc for | |
696 | omp_high_bw_mem_space when the memkind lib is unavailable | |
697 | instead of returning omp_null_allocator. | |
698 | * libgomp.texi (OpenMP 5.0): Fix typo. | |
699 | (Memory allocation with libmemkind): Document implementation | |
700 | in more detail. | |
701 | ||
270742ce GA |
702 | 2023-06-22 Tobias Burnus <tobias@codesourcery.com> |
703 | ||
704 | * libgomp.texi: Use @var for ICV vars. | |
705 | (OpenMP Environment Variables): Mention _ALL/_DEV/_DEV_<no> variants, | |
706 | document which ICV is set and which scope the ICV has; extend/cleanup | |
707 | some @ref. | |
708 | (Implementation-defined ICV Initialization): New. | |
709 | (nvptx): Document the implementation-defined used per-warp stack size. | |
710 | ||
e517d3f5 GA |
711 | 2023-06-19 Thomas Schwinge <thomas@codesourcery.com> |
712 | ||
713 | * testsuite/libgomp.c/target-51.c: Fix DejaGnu directive syntax | |
714 | error. | |
715 | ||
716 | 2023-06-19 Tobias Burnus <tobias@codesourcery.com> | |
717 | ||
718 | * testsuite/libgomp.c/target-51.c: Accept more error msg variants | |
719 | as expected dg-output. | |
720 | ||
721 | 2023-06-19 Tobias Burnus <tobias@codesourcery.com> | |
722 | ||
723 | PR middle-end/110270 | |
724 | * target.c (gomp_map_vars_internal): Copy host value instead of NULL | |
725 | for GOMP_MAP_ZERO_LEN_ARRAY_SECTION if not mapped. | |
726 | * libgomp.texi (OpenMP 5.2 Impl.): Mark as 'Y'. | |
727 | * testsuite/libgomp.c/target-19.c: Update expected value. | |
728 | * testsuite/libgomp.c++/target-18.C: Likewise. | |
729 | * testsuite/libgomp.c++/target-19.C: Likewise. | |
730 | * testsuite/libgomp.c-c++-common/requires-unified-addr-2.c: New test. | |
731 | * testsuite/libgomp.c-c++-common/target-implicit-map-3.c: New test. | |
732 | * testsuite/libgomp.c-c++-common/target-implicit-map-4.c: New test. | |
733 | ||
f10a4ce0 GA |
734 | 2023-06-16 Tobias Burnus <tobias@codesourcery.com> |
735 | ||
736 | * target.c (resolve_device): Call gomp_get_num_devices early to ensure | |
737 | gomp_init_targets_once was called before using default-device-var. | |
738 | * testsuite/libgomp.c/target-55.c: New test. | |
739 | * testsuite/libgomp.c/target-55a.c: New test. | |
740 | ||
7ff79341 GA |
741 | 2023-06-15 Tobias Burnus <tobias@codesourcery.com> |
742 | ||
743 | * env.c (gomp_def_allocator_envvar): New var. | |
744 | (parse_allocator): Handle OpenMP 5.1 syntax. | |
745 | (cleanup_env): New. | |
746 | (omp_display_env): Output gomp_def_allocator_envvar | |
747 | for an allocator with traits. | |
748 | * libgomp.texi (OMP_ALLOCATOR, OMP_AFFINITY_FORMAT, | |
749 | OMP_DISPLAY_AFFINITY): New. | |
750 | * testsuite/libgomp.c/allocator-1.c: New test. | |
751 | * testsuite/libgomp.c/allocator-2.c: New test. | |
752 | * testsuite/libgomp.c/allocator-3.c: New test. | |
753 | * testsuite/libgomp.c/allocator-4.c: New test. | |
754 | * testsuite/libgomp.c/allocator-5.c: New test. | |
755 | * testsuite/libgomp.c/allocator-6.c: New test. | |
756 | ||
c1c5edef GA |
757 | 2023-06-14 Thomas Schwinge <thomas@codesourcery.com> |
758 | ||
759 | * target.c (resolve_device): Align a | |
760 | 'OMP_TARGET_OFFLOAD=mandatory' diagnostic with others. | |
761 | * testsuite/libgomp.c/target-51.c: Adjust. | |
762 | ||
763 | 2023-06-14 Thomas Schwinge <thomas@codesourcery.com> | |
764 | ||
765 | * testsuite/libgomp.fortran/fortran.exp (lang_link_flags): Don't | |
766 | set. | |
767 | * testsuite/libgomp.oacc-fortran/fortran.exp (lang_link_flags): | |
768 | Likewise. | |
769 | * testsuite/libgomp.c/simd-math-1.c: Remove | |
770 | '-foffload-options=-lm'. | |
771 | * testsuite/libgomp.fortran/fortran-torture_execute_math.f90: | |
772 | Likewise. | |
773 | * testsuite/libgomp.oacc-fortran/fortran-torture_execute_math.f90: | |
774 | Likewise. | |
775 | ||
776 | 2023-06-14 Thomas Schwinge <thomas@codesourcery.com> | |
777 | ||
778 | * testsuite/libgomp.fortran/fortran-torture_execute_math.f90: New. | |
779 | * testsuite/libgomp.oacc-fortran/fortran-torture_execute_math.f90: | |
780 | Likewise. | |
781 | ||
782 | 2023-06-14 Thomas Schwinge <thomas@codesourcery.com> | |
783 | ||
784 | * testsuite/libgomp.c/target-51.c: Fix typo. | |
785 | ||
786 | 2023-06-14 Tobias Burnus <tobias@codesourcery.com> | |
787 | ||
788 | * env.c (gomp_default_icv_values): Init default_device_var to | |
789 | an nonconforming value - INT_MIN. | |
790 | (initialize_env): After env-var parsing, set default_device_var to | |
791 | device 0 unless OMP_TARGET_OFFLOAD=mandatory. | |
792 | (omp_display_env): If default_device_var is INT_MIN, call | |
793 | gomp_init_targets_once. | |
794 | * icv-device.c (omp_get_default_device): Likewise. | |
795 | * libgomp.texi (OMP_DEFAULT_DEVICE): Update init description. | |
796 | (OpenMP 5.2 Impl. Status): Mark OMP_TARGET_OFFLOAD=mandatory as 'Y'. | |
797 | * target.c (resolve_device): Improve error message device-num < 0 | |
798 | with 'mandatory' and no no-host devices available. | |
799 | (gomp_target_init): Set default-device-var if INT_MIN. | |
800 | * testsuite/libgomp.c/target-48.c: New test. | |
801 | * testsuite/libgomp.c/target-49.c: New test. | |
802 | * testsuite/libgomp.c/target-50.c: New test. | |
803 | * testsuite/libgomp.c/target-50a.c: New test. | |
804 | * testsuite/libgomp.c/target-51.c: New test. | |
805 | * testsuite/libgomp.c/target-52.c: New test. | |
806 | * testsuite/libgomp.c/target-53.c: New test. | |
807 | * testsuite/libgomp.c/target-54.c: New test. | |
808 | ||
532fb120 GA |
809 | 2023-06-13 Tobias Burnus <tobias@codesourcery.com> |
810 | ||
811 | PR libgomp/109837 | |
812 | * testsuite/libgomp.c-c++-common/requires-unified-addr-1.c: New test. | |
813 | * testsuite/libgomp.fortran/requires-unified-addr-1.f90: New test. | |
814 | ||
9d250bdb GA |
815 | 2023-06-12 Tobias Burnus <tobias@codesourcery.com> |
816 | ||
817 | * target.c (gomp_to_device_kind_p, gomp_map_vars_internal): Replace | |
818 | GOMP_MAP_PRESENT_{FROM,TO,TOFROM,ACLLOC} by GOMP_MAP_FORCE_PRESENT. | |
819 | (gomp_map_vars_internal, gomp_update): Likewise; unify and improve | |
820 | error message. | |
821 | * testsuite/libgomp.c-c++-common/target-present-2.c: Update for | |
822 | changed error message. | |
823 | * testsuite/libgomp.fortran/target-present-1.f90: Likewise. | |
824 | * testsuite/libgomp.fortran/target-present-2.f90: Likewise. | |
825 | * testsuite/libgomp.oacc-c-c++-common/present-1.c: Likewise. | |
826 | * testsuite/libgomp.c-c++-common/target-present-1.c: Likewise and | |
827 | extend testcase to check that data is copied when needed. | |
828 | * testsuite/libgomp.c-c++-common/target-present-3.c: Likewise. | |
829 | * testsuite/libgomp.fortran/target-present-3.f90: Likewise. | |
830 | ||
8c5b1365 GA |
831 | 2023-06-07 Thomas Schwinge <thomas@codesourcery.com> |
832 | Tobias Burnus <tobias@codesourcery.com> | |
833 | ||
834 | * testsuite/libgomp.c-c++-common/target-present-1.c: Run code | |
835 | also for non-offload_device targets; check that it runs | |
836 | successfully for those and for all until a checkpoint for all | |
837 | * testsuite/libgomp.c-c++-common/target-present-2.c: Likewise. | |
838 | * testsuite/libgomp.c-c++-common/target-present-3.c: Likewise. | |
839 | * testsuite/libgomp.fortran/target-present-1.f90: Likewise. | |
840 | * testsuite/libgomp.fortran/target-present-3.f90: Likewise. | |
841 | * testsuite/libgomp.fortran/target-present-2.f90: Likewise; | |
842 | add missing vars to map clause. | |
843 | ||
4f0d4825 GA |
844 | 2023-06-06 Tobias Burnus <tobias@codesourcery.com> |
845 | ||
846 | * plugin/plugin-gcn.c (GOMP_OFFLOAD_get_num_devices): Regard | |
847 | unified_address requirement as supported. | |
848 | * libgomp.texi (OpenMP 5.0, AMD Radeon, nvptx): Remove | |
849 | 'unified_address' from the not-supported requirements. | |
850 | ||
851 | 2023-06-06 Kwok Cheung Yeung <kcy@codesourcery.com> | |
852 | Tobias Burnus <tobias@codesourcery.com> | |
853 | ||
854 | * libgomp.texi (OpenMP 5.1 Impl. status): Set 'present' support for | |
855 | defaultmap to 'Y', add 'Y' entry for 'present' on to/from/map clauses. | |
856 | * target.c (gomp_to_device_kind_p): Add map kinds with 'present' | |
857 | modifier. | |
858 | (gomp_map_vars_existing): Use new GOMP_MAP_FORCE_P macro. | |
859 | (gomp_map_vars_internal, gomp_update, gomp_target_rev): | |
860 | Emit runtime error if memory region not present. | |
861 | * testsuite/libgomp.c-c++-common/target-present-1.c: New test. | |
862 | * testsuite/libgomp.c-c++-common/target-present-2.c: New test. | |
863 | * testsuite/libgomp.c-c++-common/target-present-3.c: New test. | |
864 | * testsuite/libgomp.fortran/target-present-1.f90: New test. | |
865 | * testsuite/libgomp.fortran/target-present-2.f90: New test. | |
866 | * testsuite/libgomp.fortran/target-present-3.f90: New test. | |
867 | ||
829d5975 GA |
868 | 2023-06-02 Thomas Schwinge <thomas@codesourcery.com> |
869 | ||
870 | PR testsuite/66005 | |
871 | * testsuite/lib/libgomp.exp: 'flock' through stdout. | |
872 | * testsuite/flock: New. | |
873 | * configure.ac (FLOCK): Point to that if no 'flock' available, but | |
874 | 'perl' is. | |
875 | * configure: Regenerate. | |
876 | ||
877 | 2023-06-02 Thomas Schwinge <thomas@codesourcery.com> | |
878 | ||
879 | * configure.ac (PERL): Remove. | |
880 | * configure: Regenerate. | |
881 | * Makefile.in: Likewise. | |
882 | * testsuite/Makefile.in: Likewise. | |
883 | ||
84749914 GA |
884 | 2023-06-01 Tobias Burnus <tobias@codesourcery.com> |
885 | ||
886 | * libgomp.texi (OpenMP 5.2): Mark pure-directive handling as 'Y'. | |
887 | ||
6e6bb373 GA |
888 | 2023-05-26 Tobias Burnus <tobias@codesourcery.com> |
889 | ||
890 | * testsuite/libgomp.fortran/allocate-4.f90: Update dg-error. | |
891 | ||
4579954f GA |
892 | 2023-05-21 Tobias Burnus <tobias@codesourcery.com> |
893 | ||
894 | PR libgomp/109875 | |
895 | * config/gcn/target.c (GOMP_teams4): Honor nteams-var ICV. | |
896 | * config/nvptx/target.c (GOMP_teams4): Likewise. | |
897 | * testsuite/libgomp.c-c++-common/teams-nteams-icv-1.c: New test. | |
898 | * testsuite/libgomp.c-c++-common/teams-nteams-icv-2.c: New test. | |
899 | * testsuite/libgomp.c-c++-common/teams-nteams-icv-3.c: New test. | |
900 | * testsuite/libgomp.c-c++-common/teams-nteams-icv-4.c: New test. | |
901 | ||
5df01f89 GA |
902 | 2023-05-19 Jakub Jelinek <jakub@redhat.com> |
903 | ||
904 | PR libgomp/109904 | |
905 | * configure.ac (link_gomp): Include also $DL_LIBS. | |
906 | * configure: Regenerated. | |
907 | ||
ff2dcddf GA |
908 | 2023-05-17 Tobias Burnus <tobias@codesourcery.com> |
909 | ||
910 | * testsuite/libgomp.fortran/target-enter-data-3.f90: Uncomment | |
911 | 'target exit data'. | |
912 | * testsuite/libgomp.fortran/target-enter-data-4.f90: New test. | |
913 | * testsuite/libgomp.fortran/target-enter-data-5.f90: New test. | |
914 | * testsuite/libgomp.fortran/target-enter-data-6.f90: New test. | |
915 | * testsuite/libgomp.fortran/target-enter-data-7.f90: New test. | |
916 | ||
3427b51b GA |
917 | 2023-05-15 Thomas Schwinge <thomas@codesourcery.com> |
918 | ||
919 | PR testsuite/66005 | |
920 | * configure.ac: Look for 'flock'. | |
921 | * testsuite/Makefile.am (gcc_test_parallel_slots): Enable parallel testing. | |
922 | * testsuite/config/default.exp: Don't 'load_lib "standard.exp"' here... | |
923 | * testsuite/lib/libgomp.exp: ... but here, instead. | |
924 | (libgomp_load): Override for parallel testing. | |
925 | * testsuite/libgomp-site-extra.exp.in (FLOCK): Set. | |
926 | * configure: Regenerate. | |
927 | * Makefile.in: Regenerate. | |
928 | * testsuite/Makefile.in: Regenerate. | |
929 | ||
930 | 2023-05-15 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> | |
931 | Thomas Schwinge <thomas@codesourcery.com> | |
932 | ||
933 | PR testsuite/66005 | |
934 | * testsuite/Makefile.am (PWD_COMMAND): New variable. | |
935 | (%/site.exp): New target. | |
936 | (check_p_numbers0, check_p_numbers1, check_p_numbers2) | |
937 | (check_p_numbers3, check_p_numbers4, check_p_numbers5) | |
938 | (check_p_numbers6, check_p_numbers, gcc_test_parallel_slots) | |
939 | (check_p_subdirs) | |
940 | (check_DEJAGNU_libgomp_targets): New variables. | |
941 | ($(check_DEJAGNU_libgomp_targets)): New target. | |
942 | ($(check_DEJAGNU_libgomp_targets)): New dependency. | |
943 | (check-DEJAGNU $(check_DEJAGNU_libgomp_targets)): New targets. | |
944 | * testsuite/Makefile.in: Regenerate. | |
945 | * testsuite/lib/libgomp.exp: For parallel testing, | |
946 | 'load_file ../libgomp-test-support.exp'. | |
947 | ||
948 | 2023-05-15 Thomas Schwinge <thomas@codesourcery.com> | |
949 | ||
950 | PR testsuite/91884 | |
951 | * configure.ac: 'AC_SUBST(CXX)'. | |
952 | * configure: Regenerate. | |
953 | * Makefile.in: Likewise. | |
954 | * testsuite/Makefile.in: Likewise. | |
955 | * testsuite/libgomp-site-extra.exp.in (GXX_UNDER_TEST) | |
956 | (GFORTRAN_UNDER_TEST): Set. | |
957 | * testsuite/lib/libgomp.exp (libgomp_init): Adjust. | |
958 | * testsuite/libgomp.c++/c++.exp: Use 'GXX_UNDER_TEST'. | |
959 | * testsuite/libgomp.oacc-c++/c++.exp: Likewise. | |
960 | * testsuite/libgomp.fortran/fortran.exp: Use | |
961 | 'GFORTRAN_UNDER_TEST'. | |
962 | * testsuite/libgomp.oacc-fortran/fortran.exp: Likewise. | |
963 | ||
964 | 2023-05-15 Thomas Schwinge <thomas@codesourcery.com> | |
965 | ||
966 | PR testsuite/91884 | |
967 | * testsuite/lib/libgomp.exp (libgomp_target_compile): Don't | |
968 | specify compiler. | |
969 | * testsuite/libgomp.c++/c++.exp (ALWAYS_CFLAGS): Specify compiler. | |
970 | * testsuite/libgomp.c/c.exp (ALWAYS_CFLAGS): Likewise. | |
971 | * testsuite/libgomp.fortran/fortran.exp (ALWAYS_CFLAGS): Likewise. | |
972 | * testsuite/libgomp.graphite/graphite.exp (ALWAYS_CFLAGS): | |
973 | Likewise. | |
974 | * testsuite/libgomp.oacc-c++/c++.exp (ALWAYS_CFLAGS): Likewise. | |
975 | * testsuite/libgomp.oacc-c/c.exp (ALWAYS_CFLAGS): Likewise. | |
976 | * testsuite/libgomp.oacc-fortran/fortran.exp (ALWAYS_CFLAGS): | |
977 | Likewise. | |
978 | ||
20ca33db GA |
979 | 2023-05-12 Tobias Burnus <tobias@codesourcery.com> |
980 | ||
981 | PR libstdc++/109816 | |
982 | * testsuite/libgomp.c++/target-map-class-1.C: New test. | |
983 | * testsuite/libgomp.c++/target-map-class-2.C: New test. | |
984 | ||
985 | 2023-05-12 Thomas Schwinge <thomas@codesourcery.com> | |
986 | ||
987 | * testsuite/lib/libgomp.exp (libgomp_target_compile): Generalize | |
988 | 'lang_library_path' into a list of 'lang_library_paths'. | |
989 | * testsuite/libgomp.c++/c++.exp: Adjust. | |
990 | * testsuite/libgomp.oacc-c++/c++.exp: Likewise. | |
991 | * testsuite/libgomp.fortran/fortran.exp: Adjust. Use that for | |
992 | libquadmath, too. | |
993 | * testsuite/libgomp.oacc-fortran/fortran.exp: Likewise. | |
994 | ||
995 | 2023-05-12 Thomas Schwinge <thomas@codesourcery.com> | |
996 | ||
997 | * testsuite/lib/libgomp.exp (libgomp_target_compile): Don't look | |
998 | at 'lang_test_file_found'. | |
999 | * testsuite/libgomp.c++/c++.exp: Don't set and use it, and instead | |
1000 | 'return' early if not able to test. Simplify 'ld_library_path' setup. | |
1001 | * testsuite/libgomp.fortran/fortran.exp: Likewise. | |
1002 | * testsuite/libgomp.oacc-c++/c++.exp: Likewise. | |
1003 | * testsuite/libgomp.oacc-fortran/fortran.exp: Likewise. | |
1004 | ||
1005 | 2023-05-12 Thomas Schwinge <thomas@codesourcery.com> | |
1006 | ||
1007 | * testsuite/libgomp.c++/c++.exp: Resolve 'lang_test_file_found' | |
1008 | first. | |
1009 | * testsuite/libgomp.fortran/fortran.exp: Likewise. | |
1010 | * testsuite/libgomp.oacc-c++/c++.exp: Likewise. | |
1011 | * testsuite/libgomp.oacc-fortran/fortran.exp: Likewise. | |
1012 | ||
1013 | 2023-05-12 Thomas Schwinge <thomas@codesourcery.com> | |
1014 | ||
1015 | * testsuite/libgomp.c++/c++.exp: Localize 'lang_[...]' etc. | |
1016 | * testsuite/libgomp.c/c.exp: Likewise. | |
1017 | * testsuite/libgomp.fortran/fortran.exp: Likewise. | |
1018 | * testsuite/libgomp.graphite/graphite.exp: Likewise. | |
1019 | * testsuite/libgomp.oacc-c++/c++.exp: Likewise. | |
1020 | * testsuite/libgomp.oacc-c/c.exp: Likewise. | |
1021 | * testsuite/libgomp.oacc-fortran/fortran.exp: Likewise. | |
1022 | ||
35e324da GA |
1023 | 2023-05-09 Thomas Schwinge <thomas@codesourcery.com> |
1024 | ||
1025 | * testsuite/libgomp.c++/c++.exp: Don't set 'lang_test_file'. | |
1026 | * testsuite/libgomp.fortran/fortran.exp: Likewise. | |
1027 | * testsuite/libgomp.oacc-c++/c++.exp: Likewise. | |
1028 | * testsuite/libgomp.oacc-fortran/fortran.exp: Likewise. | |
1029 | * testsuite/libgomp.c/c.exp: Unset 'lang_test_file_found' instead of | |
1030 | 'lang_test_file'. | |
1031 | * testsuite/libgomp.oacc-c/c.exp: Likewise. | |
1032 | * testsuite/libgomp.graphite/graphite.exp: Likewise. | |
1033 | * testsuite/lib/libgomp.exp (libgomp_target_compile): Look for | |
1034 | 'lang_test_file_found' instead of 'lang_test_file'. | |
1035 | ||
1036 | 2023-05-09 Thomas Schwinge <thomas@codesourcery.com> | |
1037 | ||
1038 | * testsuite/lib/libgomp.exp (libgomp_init): Only use 'blddir' if | |
1039 | set. | |
1040 | * testsuite/libgomp.c++/c++.exp: Likewise. | |
1041 | * testsuite/libgomp.oacc-c++/c++.exp: Likewise. | |
1042 | ||
1043 | 2023-05-09 Thomas Schwinge <thomas@codesourcery.com> | |
1044 | ||
1045 | * testsuite/libgomp.c++/c++.exp (blddir): Don't set. | |
1046 | * testsuite/libgomp.oacc-c++/c++.exp (blddir): Likewise. | |
1047 | ||
212905a4 GA |
1048 | 2023-05-08 Thomas Schwinge <thomas@codesourcery.com> |
1049 | ||
1050 | * testsuite/libgomp.c++/c++.exp: Use 'lang_include_flags' instead | |
1051 | of 'libstdcxx_includes'. | |
1052 | * testsuite/libgomp.oacc-c++/c++.exp: Likewise. | |
1053 | ||
1054 | 2023-05-08 Thomas Schwinge <thomas@codesourcery.com> | |
1055 | ||
1056 | * target.c (gomp_target_rev): Instead of 'dev_to_host_cpy', | |
1057 | 'host_to_dev_cpy', 'token', take a single 'goacc_asyncqueue'. | |
1058 | * libgomp.h (gomp_target_rev): Adjust. | |
1059 | * libgomp-plugin.c (GOMP_PLUGIN_target_rev): Adjust. | |
1060 | * libgomp-plugin.h (GOMP_PLUGIN_target_rev): Adjust. | |
1061 | * plugin/plugin-gcn.c (process_reverse_offload): Adjust. | |
1062 | * plugin/plugin-nvptx.c (rev_off_dev_to_host_cpy) | |
1063 | (rev_off_host_to_dev_cpy): Remove. | |
1064 | (GOMP_OFFLOAD_run): Adjust. | |
1065 | ||
fde093b7 GA |
1066 | 2023-05-04 Julian Brown <julian@codesourcery.com> |
1067 | ||
1068 | PR fortran/109622 | |
1069 | * testsuite/libgomp.fortran/pr109622.f90: Move test... | |
1070 | * testsuite/libgomp.oacc-fortran/pr109622.f90: ...to here. Ignore | |
1071 | vector length warning. | |
1072 | * testsuite/libgomp.fortran/pr109622-2.f90: Move test... | |
1073 | * testsuite/libgomp.oacc-fortran/pr109622-2.f90: ...to here. Add | |
1074 | missing copyin/copyout variable. Ignore vector length warnings. | |
1075 | * testsuite/libgomp.fortran/pr109622-3.f90: Move test... | |
1076 | * testsuite/libgomp.oacc-fortran/pr109622-3.f90: ...to here. Ignore | |
1077 | vector length warnings. | |
1078 | * testsuite/libgomp.oacc-fortran/pr109622-4.f90: New test. | |
1079 | ||
50205195 GA |
1080 | 2023-04-28 Julian Brown <julian@codesourcery.com> |
1081 | ||
1082 | PR fortran/109622 | |
1083 | * testsuite/libgomp.fortran/pr109622.f90: New test. | |
1084 | * testsuite/libgomp.fortran/pr109622-2.f90: New test. | |
1085 | * testsuite/libgomp.fortran/pr109622-3.f90: New test. | |
1086 | ||
49cea02d GA |
1087 | 2023-04-25 Tobias Burnus <tobias@codesourcery.com> |
1088 | ||
1089 | * testsuite/libgomp.c-c++-common/scan-1.c: New test. | |
1090 | * testsuite/libgomp.c/scan-23.c: New test. | |
1091 | * testsuite/libgomp.fortran/scan-2.f90: New test. | |
1092 | ||
579cdc1e GA |
1093 | 2023-03-28 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
1094 | ||
1095 | * testsuite/libgomp.oacc-c-c++-common/routine-nohost-2.c: Add | |
1096 | weak_undefined options. | |
1097 | ||
13ec81eb GA |
1098 | 2023-03-24 Tobias Burnus <tobias@codesourcery.com> |
1099 | ||
1100 | * libgomp.texi (Offload-Target Specifics): Grammar fix. | |
1101 | ||
1102 | 2023-03-24 Thomas Schwinge <thomas@codesourcery.com> | |
1103 | ||
1104 | PR fortran/104949 | |
1105 | * target.c (gomp_map_vars_internal) <GOMP_MAP_FIRSTPRIVATE>: Add | |
1106 | caveat/safeguard. | |
1107 | ||
c8065441 GA |
1108 | 2023-03-10 Thomas Schwinge <thomas@codesourcery.com> |
1109 | ||
1110 | PR libgomp/90596 | |
1111 | * target.c (gomp_map_vars_internal): Allow for | |
1112 | 'param_kind == GOMP_MAP_VARS_OPENACC | GOMP_MAP_VARS_TARGET'. | |
1113 | * oacc-parallel.c (GOACC_parallel_keyed): Pass | |
1114 | 'GOMP_MAP_VARS_TARGET' to 'goacc_map_vars'. | |
1115 | * plugin/plugin-gcn.c (alloc_by_agent, gcn_exec) | |
1116 | (GOMP_OFFLOAD_openacc_exec, GOMP_OFFLOAD_openacc_async_exec): | |
1117 | Adjust, simplify. | |
1118 | (gomp_offload_free): Remove. | |
1119 | * plugin/plugin-nvptx.c (nvptx_exec, GOMP_OFFLOAD_openacc_exec) | |
1120 | (GOMP_OFFLOAD_openacc_async_exec): Adjust, simplify. | |
1121 | (cuda_free_argmem): Remove. | |
1122 | * testsuite/libgomp.oacc-c-c++-common/acc_prof-parallel-1.c: | |
1123 | Adjust. | |
1124 | ||
1125 | 2023-03-10 Thomas Schwinge <thomas@codesourcery.com> | |
1126 | ||
1127 | * target.c (gomp_copy_host2dev, gomp_map_vars_internal): Allow | |
1128 | libgomp 'cbuf' buffering with OpenACC 'async' for 'ephemeral' | |
1129 | data. | |
1130 | ||
1131 | 2023-03-10 Thomas Schwinge <thomas@codesourcery.com> | |
1132 | ||
1133 | * target.c (gomp_map_vars_internal): Use 'OFFSET_INLINED' for | |
1134 | 'GOMP_MAP_IF_PRESENT'. | |
1135 | * plugin/plugin-gcn.c (gcn_exec, GOMP_OFFLOAD_openacc_exec) | |
1136 | (GOMP_OFFLOAD_openacc_async_exec): Adjust. | |
1137 | * plugin/plugin-nvptx.c (nvptx_exec, GOMP_OFFLOAD_openacc_exec) | |
1138 | (GOMP_OFFLOAD_openacc_async_exec): Likewise. | |
1139 | * testsuite/libgomp.oacc-c-c++-common/no_create-1.c: Add 'async' | |
1140 | testing. | |
1141 | * testsuite/libgomp.oacc-c-c++-common/no_create-2.c: Likewise. | |
1142 | ||
1143 | 2023-03-10 Thomas Schwinge <thomas@codesourcery.com> | |
1144 | ||
1145 | * oacc-async.c (goacc_wait): Remove 'acc_async_test' -> skip | |
1146 | shortcut. | |
1147 | ||
1148 | 2023-03-10 Thomas Schwinge <thomas@codesourcery.com> | |
1149 | ||
1150 | * testsuite/libgomp.oacc-c-c++-common/data-3.c: Document/verify | |
1151 | another aspect of OpenACC 'async' semantics. | |
1152 | ||
1153 | 2023-03-10 Thomas Schwinge <thomas@codesourcery.com> | |
1154 | ||
1155 | * plugin/plugin-gcn.c (gcn_exec): Fix 'acc_ev_enqueue_launch_end' | |
1156 | position. | |
1157 | * testsuite/libgomp.oacc-c-c++-common/acc_prof-parallel-1.c: | |
1158 | Verify 'acc_ev_alloc', 'acc_ev_free'. | |
1159 | ||
da2b9c6e GA |
1160 | 2023-03-09 Hongyu Wang <hongyu.wang@intel.com> |
1161 | ||
1162 | PR libgomp/109062 | |
1163 | * env.c (wait_policy): Initialize to -1. | |
1164 | (initialize_icvs): Initialize icvs->wait_policy to -1. | |
1165 | * testsuite/libgomp.c-c++-common/pr109062.c: New test. | |
1166 | ||
6a87fdd3 GA |
1167 | 2023-03-08 Tobias Burnus <tobias@codesourcery.com> |
1168 | ||
1169 | * libgomp.texi (Offload-Target Specifics): Mention GCN_STACK_SIZE. | |
1170 | ||
14db9ed5 GA |
1171 | 2023-03-02 Kwok Cheung Yeung <kcy@codesourcery.com> |
1172 | Paul-Antoine Arras <pa@codesourcery.com> | |
1173 | ||
1174 | * testsuite/libgomp.c/simd-math-1.c: New testcase. | |
1175 | ||
c88a7c63 GA |
1176 | 2023-03-01 Tobias Burnus <tobias@codesourcery.com> |
1177 | ||
1178 | PR middle-end/108546 | |
1179 | * testsuite/libgomp.fortran/is_device_ptr-3.f90: New test. | |
1180 | * testsuite/libgomp.fortran/use_device_ptr-optional-4.f90: New test. | |
1181 | ||
b6f98991 GA |
1182 | 2023-02-22 Thomas Schwinge <thomas@codesourcery.com> |
1183 | ||
1184 | * testsuite/libgomp.fortran/alloc-10.f90: Use | |
1185 | '-Wno-complain-wrong-lang'. | |
1186 | * testsuite/libgomp.fortran/alloc-11.f90: Likewise. | |
1187 | * testsuite/libgomp.fortran/alloc-7.f90: Likewise. | |
1188 | * testsuite/libgomp.fortran/alloc-9.f90: Likewise. | |
1189 | * testsuite/libgomp.fortran/allocate-1.f90: Likewise. | |
1190 | * testsuite/libgomp.fortran/depend-4.f90: Likewise. | |
1191 | * testsuite/libgomp.fortran/depend-5.f90: Likewise. | |
1192 | * testsuite/libgomp.fortran/depend-6.f90: Likewise. | |
1193 | * testsuite/libgomp.fortran/depend-7.f90: Likewise. | |
1194 | * testsuite/libgomp.fortran/depend-inoutset-1.f90: Likewise. | |
1195 | * testsuite/libgomp.fortran/examples-4/declare_target-1.f90: | |
1196 | Likewise. | |
1197 | * testsuite/libgomp.fortran/examples-4/declare_target-2.f90: | |
1198 | Likewise. | |
1199 | * testsuite/libgomp.fortran/order-reproducible-1.f90: Likewise. | |
1200 | * testsuite/libgomp.fortran/order-reproducible-2.f90: Likewise. | |
1201 | * testsuite/libgomp.oacc-fortran/parallel-dims.f90: Likewise. | |
1202 | * testsuite/libgomp.fortran/task-detach-6.f90: Remove left-over | |
1203 | 'dg-prune-output'. | |
1204 | ||
88cc4495 GA |
1205 | 2023-02-16 Jakub Jelinek <jakub@redhat.com> |
1206 | ||
1207 | * libgomp.texi: Fix typos - theads -> threads. | |
1208 | ||
1209 | 2023-02-16 Jakub Jelinek <jakub@redhat.com> | |
1210 | ||
1211 | * testsuite/libgomp.fortran/target-nowait-array-section.f90: Fix | |
1212 | comment typo and improve its wording. | |
1213 | ||
29a35391 GA |
1214 | 2023-02-15 Tobias Burnus <tobias@codesourcery.com> |
1215 | ||
1216 | * target.c (gomp_target_rev): Dereference ptr | |
1217 | to get device address. | |
1218 | * testsuite/libgomp.fortran/reverse-offload-5.f90: Add test | |
1219 | for unallocated allocatable. | |
1220 | ||
1221 | 2023-02-15 Tobias Burnus <tobias@codesourcery.com> | |
1222 | ||
1223 | * target.c (gomp_map_vars_internal): Add 'i > 0' before doing a | |
1224 | kind check. | |
1225 | (GOMP_target_enter_exit_data): If the next map item is | |
1226 | GOMP_MAP_ALWAYS_POINTER map it together with the current item. | |
1227 | * testsuite/libgomp.fortran/target-enter-data-3.f90: New test. | |
1228 | ||
e92e2c96 GA |
1229 | 2023-02-09 Tobias Burnus <tobias@codesourcery.com> |
1230 | ||
1231 | PR fortran/107424 | |
1232 | * testsuite/libgomp.fortran/non-rectangular-loop-1.f90: New test. | |
1233 | * testsuite/libgomp.fortran/non-rectangular-loop-1a.f90: New test. | |
1234 | * testsuite/libgomp.fortran/non-rectangular-loop-2.f90: New test. | |
1235 | * testsuite/libgomp.fortran/non-rectangular-loop-3.f90: New test. | |
1236 | * testsuite/libgomp.fortran/non-rectangular-loop-4.f90: New test. | |
1237 | * testsuite/libgomp.fortran/non-rectangular-loop-5.f90: New test. | |
1238 | ||
8f3b85ef GA |
1239 | 2023-02-07 Thomas Schwinge <thomas@codesourcery.com> |
1240 | ||
1241 | * testsuite/libgomp.fortran/reverse-offload-6.f90: Fix nvptx | |
1242 | offloading compilation. | |
1243 | ||
49e52115 GA |
1244 | 2023-02-03 Tobias Burnus <tobias@codesourcery.com> |
1245 | ||
1246 | * target.c (gomp_target_rev): Handle mapnum == 0 and avoid | |
1247 | freeing not allocated memory. | |
1248 | * testsuite/libgomp.fortran/reverse-offload-6.f90: New test. | |
1249 | ||
1250 | 2023-02-03 Tobias Burnus <tobias@codesourcery.com> | |
1251 | ||
1252 | * libgomp.texi (5.0 Impl. Status, gcn specifics): Update for | |
1253 | reverse offload. | |
1254 | * plugin/plugin-gcn.c (GOMP_OFFLOAD_get_num_devices): Accept | |
1255 | reverse-offload requirement. | |
1256 | ||
a37a0cb3 GA |
1257 | 2023-02-02 Andrew Stubbs <ams@codesourcery.com> |
1258 | ||
1259 | * config/gcn/libgomp-gcn.h (DEFAULT_GCN_STACK_SIZE): New define. | |
1260 | (DEFAULT_TEAM_ARENA_SIZE): New define. | |
1261 | (struct heap): Move to this file. | |
1262 | (struct kernargs_abi): Likewise. | |
1263 | * config/gcn/team.c (gomp_gcn_enter_kernel): Use team arena size from | |
1264 | the kernargs. | |
1265 | * libgomp.h: Include libgomp-gcn.h. | |
1266 | (TEAM_ARENA_SIZE): Remove. | |
1267 | (team_malloc): Update the error message. | |
1268 | * plugin/plugin-gcn.c (struct kernargs): Move common content to | |
1269 | struct kernargs_abi. | |
1270 | (struct agent_info): Rename team arenas to ephemeral memories. | |
1271 | (struct team_arena_list): Rename .... | |
1272 | (struct ephemeral_memories_list): to this. | |
1273 | (struct heap): Delete. | |
1274 | (team_arena_size): New variable. | |
1275 | (stack_size): New variable. | |
1276 | (print_kernel_dispatch): Update debug messages. | |
1277 | (init_environment_variables): Read GCN_TEAM_ARENA_SIZE. | |
1278 | Read GCN_STACK_SIZE. | |
1279 | (get_team_arena): Rename ... | |
1280 | (configure_ephemeral_memories): ... to this, and set up stacks. | |
1281 | (release_team_arena): Rename ... | |
1282 | (release_ephemeral_memories): ... to this. | |
1283 | (destroy_team_arenas): Rename ... | |
1284 | (destroy_ephemeral_memories): ... to this. | |
1285 | (create_kernel_dispatch): Add num_threads parameter. | |
1286 | Adjust for kernargs_abi refactor and ephemeral memories. | |
1287 | (release_kernel_dispatch): Adjust for ephemeral memories. | |
1288 | (run_kernel): Pass thread-count to create_kernel_dispatch. | |
1289 | (GOMP_OFFLOAD_init_device): Adjust for ephemeral memories. | |
1290 | (GOMP_OFFLOAD_fini_device): Adjust for ephemeral memories. | |
1291 | ||
1292 | 2023-02-02 Tobias Burnus <tobias@codesourcery.com> | |
1293 | ||
1294 | * libgomp.texi (OpenMP TR11): Fix item for 'strict' modifier. | |
1295 | ||
0a251e74 GA |
1296 | 2023-02-01 Tobias Burnus <tobias@codesourcery.com> |
1297 | ||
1298 | * testsuite/libgomp.fortran/allocate-3.f90: Fix ALIGN | |
1299 | usage, remove unused -fdump-tree-original. | |
1300 | * testsuite/libgomp.fortran/allocate-4.f90: New. | |
1301 | ||
1302 | 2023-02-01 Tobias Burnus <tobias@codesourcery.com> | |
1303 | ||
1304 | * libgomp.texi (5.0 Impl. Status): Update 'requires' and 'ancestor'. | |
1305 | (GCN): Add item about 'omp requires'. | |
1306 | (nvptx): Likewise; add item about reverse offload. | |
1307 | ||
338eb0f0 GA |
1308 | 2023-01-27 Tobias Burnus <tobias@codesourcery.com> |
1309 | ||
1310 | PR fortran/108558 | |
1311 | * testsuite/libgomp.fortran/has_device_addr.f90: New test. | |
1312 | ||
607f278a GA |
1313 | 2023-01-23 Tobias Burnus <tobias@codesourcery.com> |
1314 | ||
1315 | * libgomp.texi (OpenMP 5.0): Set non-rectangular | |
1316 | loop nest back to 'P' as Fortran support is incomplete. | |
1317 | ||
0846336d GA |
1318 | 2023-01-19 Jakub Jelinek <jakub@redhat.com> |
1319 | ||
1320 | PR middle-end/108459 | |
1321 | * testsuite/libgomp.c/pr108459.c: New test. | |
1322 | ||
8d07b193 GA |
1323 | 2023-01-17 Martin Liska <mliska@suse.cz> |
1324 | ||
1325 | * Makefile.in: Regenerate. | |
1326 | * configure: Regenerate. | |
1327 | ||
d901bf8a GA |
1328 | 2023-01-07 LIU Hao <lh_mouse@126.com> |
1329 | ||
1330 | PR middle-end/108300 | |
1331 | * config/mingw32/proc.c: Define `WIN32_LEAN_AND_MEAN` before | |
1332 | <windows.h>. | |
1333 | ||
53ef7c1d GA |
1334 | 2023-01-05 Jakub Jelinek <jakub@redhat.com> |
1335 | ||
1336 | PR c++/108286 | |
1337 | * testsuite/libgomp.c++/pr108286.C: New test. | |
1338 | ||
fee53a31 GA |
1339 | 2023-01-02 Jakub Jelinek <jakub@redhat.com> |
1340 | ||
1341 | * libgomp.texi: Bump @copying's copyright year. | |
1342 | ||
de282a20 GA |
1343 | 2022-12-21 Chung-Lin Tang <cltang@codesourcery.com> |
1344 | ||
1345 | PR target/99555 | |
1346 | * config/nvptx/bar.c (generation_to_barrier): Remove. | |
1347 | (futex_wait,futex_wake,do_spin,do_wait): Remove. | |
1348 | (GOMP_WAIT_H): Remove. | |
1349 | (#include "../linux/bar.c"): Remove. | |
1350 | (gomp_barrier_wait_end): New function. | |
1351 | (gomp_barrier_wait): Likewise. | |
1352 | (gomp_barrier_wait_last): Likewise. | |
1353 | (gomp_team_barrier_wait_end): Likewise. | |
1354 | (gomp_team_barrier_wait): Likewise. | |
1355 | (gomp_team_barrier_wait_final): Likewise. | |
1356 | (gomp_team_barrier_wait_cancel_end): Likewise. | |
1357 | (gomp_team_barrier_wait_cancel): Likewise. | |
1358 | (gomp_team_barrier_cancel): Likewise. | |
1359 | * config/nvptx/bar.h (gomp_barrier_t): Remove waiters, lock fields. | |
1360 | (gomp_barrier_init): Remove init of waiters, lock fields. | |
1361 | (gomp_team_barrier_wake): Remove prototype, add new static inline | |
1362 | function. | |
1363 | ||
1364 | 2022-12-21 Jakub Jelinek <jakub@redhat.com> | |
1365 | ||
1366 | PR c++/108180 | |
1367 | * testsuite/libgomp.c++/pr108180.C: New test. | |
1368 | ||
5fb1e674 GA |
1369 | 2022-12-16 Tobias Burnus <tobias@codesourcery.com> |
1370 | ||
1371 | PR libfortran/108056 | |
1372 | * testsuite/libgomp.fortran/allocate-4.f90: Remove | |
1373 | accidentally added file. | |
1374 | ||
c8f767b2 GA |
1375 | 2022-12-15 Tobias Burnus <tobias@codesourcery.com> |
1376 | ||
1377 | PR libfortran/108056 | |
1378 | * testsuite/libgomp.fortran/allocate-4.f90: New file. | |
1379 | ||
26f4aefa GA |
1380 | 2022-12-14 Julian Brown <julian@codesourcery.com> |
1381 | ||
1382 | * testsuite/libgomp.fortran/combined-directive-splitting-1.f90: New | |
1383 | test. | |
1384 | ||
c6b12b80 GA |
1385 | 2022-12-10 Tobias Burnus <tobias@codesourcery.com> |
1386 | ||
1387 | * libgomp.h (struct target_mem_desc): Predeclare; move | |
1388 | below after 'reverse_splay_tree_node' and add rev_array | |
1389 | member. | |
1390 | (struct reverse_splay_tree_key_s, reverse_splay_compare): New. | |
1391 | (reverse_splay_tree_node, reverse_splay_tree, | |
1392 | reverse_splay_tree_key): New typedef. | |
1393 | (struct gomp_device_descr): Add mem_map_rev member. | |
1394 | * oacc-host.c (host_dispatch): NULL init .mem_map_rev. | |
1395 | * plugin/plugin-nvptx.c (GOMP_OFFLOAD_get_num_devices): Claim | |
1396 | support for GOMP_REQUIRES_REVERSE_OFFLOAD. | |
1397 | * splay-tree.h (splay_tree_callback_stop): New typedef; like | |
1398 | splay_tree_callback but returning int not void. | |
1399 | (splay_tree_foreach_lazy): Define; like splay_tree_foreach but | |
1400 | taking splay_tree_callback_stop as argument. | |
1401 | * splay-tree.c (splay_tree_foreach_internal_lazy, | |
1402 | splay_tree_foreach_lazy): New; but early exit if callback returns | |
1403 | nonzero. | |
1404 | * target.c: Instatiate splay_tree_c with splay_tree_prefix 'reverse'. | |
1405 | (gomp_map_lookup_rev): New. | |
1406 | (gomp_load_image_to_device): Handle reverse-offload function | |
1407 | lookup table. | |
1408 | (gomp_unload_image_from_device): Free devicep->mem_map_rev. | |
1409 | (struct gomp_splay_tree_rev_lookup_data, gomp_splay_tree_rev_lookup, | |
1410 | gomp_map_rev_lookup, struct cpy_data, gomp_map_cdata_lookup_int, | |
1411 | gomp_map_cdata_lookup): New auxiliary structs and functions for | |
1412 | gomp_target_rev. | |
1413 | (gomp_target_rev): Implement reverse offloading and its mapping. | |
1414 | (gomp_target_init): Init current_device.mem_map_rev.root. | |
1415 | * testsuite/libgomp.fortran/reverse-offload-2.f90: New test. | |
1416 | * testsuite/libgomp.fortran/reverse-offload-3.f90: New test. | |
1417 | * testsuite/libgomp.fortran/reverse-offload-4.f90: New test. | |
1418 | * testsuite/libgomp.fortran/reverse-offload-5.f90: New test. | |
1419 | * testsuite/libgomp.fortran/reverse-offload-5a.f90: New test without | |
1420 | mapping of on-device allocated variables. | |
1421 | ||
40ce6485 GA |
1422 | 2022-12-09 Tobias Burnus <tobias@codesourcery.com> |
1423 | ||
1424 | * libgomp.texi (5.1 Impl. Status): Split allocate clause/directive | |
1425 | item about 'align'; mark clause as 'Y' and directive as 'N'. | |
1426 | * testsuite/libgomp.fortran/allocate-2.f90: New test. | |
1427 | * testsuite/libgomp.fortran/allocate-3.f90: New test. | |
1428 | ||
3fe66f7f GA |
1429 | 2022-12-06 Marcel Vollweiler <marcel@codesourcery.com> |
1430 | ||
1431 | * config/gcn/icv-device.c (omp_get_teams_thread_limit): Added to | |
1432 | allow processing of device-specific values. | |
1433 | (omp_set_teams_thread_limit): Likewise. | |
1434 | (ialias): Likewise. | |
1435 | * config/nvptx/icv-device.c (omp_get_teams_thread_limit): Likewise. | |
1436 | (omp_set_teams_thread_limit): Likewise. | |
1437 | (ialias): Likewise. | |
1438 | * icv-device.c (omp_get_teams_thread_limit): Likewise. | |
1439 | (ialias): Likewise. | |
1440 | (omp_set_teams_thread_limit): Likewise. | |
1441 | * icv.c (omp_set_teams_thread_limit): Removed. | |
1442 | (omp_get_teams_thread_limit): Likewise. | |
1443 | (ialias): Likewise. | |
1444 | * libgomp.texi: Updated documentation for nvptx and gcn corresponding | |
1445 | to the limitation of the number of teams. | |
1446 | * plugin/plugin-gcn.c (limit_teams): New helper function that limits | |
1447 | the number of teams by twice the number of compute units. | |
1448 | (parse_target_attributes): Limit the number of teams on gcn offload | |
1449 | devices. | |
1450 | * target.c (get_gomp_offload_icvs): Added teams_thread_limit_var | |
1451 | handling. | |
1452 | (gomp_load_image_to_device): Added a size check for the ICVs struct | |
1453 | variable. | |
1454 | (gomp_copy_back_icvs): New function that is used in GOMP_target_ext to | |
1455 | copy back the ICV values from device to host. | |
1456 | (GOMP_target_ext): Update the number of teams and threads in the kernel | |
1457 | args also considering device-specific values. | |
1458 | * testsuite/libgomp.c-c++-common/icv-4.c: Fixed an error in the reading | |
1459 | of OMP_TEAMS_THREAD_LIMIT from the environment. | |
1460 | * testsuite/libgomp.c-c++-common/icv-5.c: Extended. | |
1461 | * testsuite/libgomp.c-c++-common/icv-6.c: Extended. | |
1462 | * testsuite/libgomp.c-c++-common/icv-7.c: Extended. | |
1463 | * testsuite/libgomp.c-c++-common/icv-9.c: New test. | |
1464 | * testsuite/libgomp.fortran/icv-5.f90: New test. | |
1465 | * testsuite/libgomp.fortran/icv-6.f90: New test. | |
1466 | ||
1467 | 2022-12-06 Tobias Burnus <tobias@codesourcery.com> | |
1468 | ||
1469 | * libgomp.texi (OpenMP 5.2): Add missing 'the'. | |
1470 | (TR11): Add missing '@tab N @tab'. | |
1471 | ||
6eea85a9 GA |
1472 | 2022-11-30 Tobias Burnus <tobias@codesourcery.com> |
1473 | ||
1474 | * libgomp.texi (OpenMP Context Selectors): Add 'gfx803' to gcn's isa. | |
1475 | ||
1476 | 2022-11-30 Paul-Antoine Arras <pa@codesourcery.com> | |
1477 | ||
1478 | * testsuite/libgomp.c/declare-variant-4-fiji.c: New test. | |
1479 | * testsuite/libgomp.c/declare-variant-4-gfx803.c: New test. | |
1480 | * testsuite/libgomp.c/declare-variant-4-gfx900.c: New test. | |
1481 | * testsuite/libgomp.c/declare-variant-4-gfx906.c: New test. | |
1482 | * testsuite/libgomp.c/declare-variant-4-gfx908.c: New test. | |
1483 | * testsuite/libgomp.c/declare-variant-4-gfx90a.c: New test. | |
1484 | * testsuite/libgomp.c/declare-variant-4.h: New header file. | |
1485 | ||
b7748535 GA |
1486 | 2022-11-28 Tobias Burnus <tobias@codesourcery.com> |
1487 | ||
1488 | * libgomp.texi (OpenMP 5.2): Mark end-directive as Y. | |
1489 | ||
d769c504 GA |
1490 | 2022-11-25 Sandra Loosemore <sandra@codesourcery.com> |
1491 | ||
1492 | * testsuite/lib/libgomp.exp: Load scanoffloadipa.exp library. | |
1493 | * testsuite/libgomp.c/target-simd-clone-1.c: New. | |
1494 | * testsuite/libgomp.c/target-simd-clone-2.c: New. | |
1495 | * testsuite/libgomp.c/target-simd-clone-3.c: New. | |
1496 | ||
1497 | 2022-11-25 Tobias Burnus <tobias@codesourcery.com> | |
1498 | ||
1499 | * plugin/plugin-nvptx.c (GOMP_OFFLOAD_load_image): Use unsigned int | |
1500 | for 'i' to match 'fn_entries'; regard absent GOMP_REV_OFFLOAD_VAR | |
1501 | as valid and the code having no reverse-offload code. | |
1502 | * testsuite/libgomp.c-c++-common/reverse-offload-2.c: New test. | |
1503 | ||
1504 | 2022-11-25 Tobias Burnus <tobias@codesourcery.com> | |
1505 | ||
1506 | * libgomp.texi (OpenMP Implementation Status): Add three 5.1 items | |
1507 | and status for Technical Report (TR) 11. | |
1508 | ||
8b7fee1d GA |
1509 | 2022-11-21 Tobias Burnus <tobias@codesourcery.com> |
1510 | ||
1511 | * config/gcn/libgomp-gcn.h (struct output): | |
1512 | Remove 'msg_u64' from the union, change | |
1513 | value_u64[2] to value_u64[6]. | |
1514 | * config/gcn/target.c (GOMP_target_ext): Update accordingly. | |
1515 | * plugin/plugin-gcn.c (process_reverse_offload, console_output): | |
1516 | Likewise. | |
1517 | ||
fb98ede8 GA |
1518 | 2022-11-19 Tobias Burnus <tobias@codesourcery.com> |
1519 | ||
1520 | * config/gcn/libgomp-gcn.h: New file; contains | |
1521 | struct output, declared previously in plugin-gcn.c. | |
1522 | * config/gcn/target.c: Include it. | |
1523 | (GOMP_ADDITIONAL_ICVS): Declare as extern var. | |
1524 | (GOMP_target_ext): Handle reverse offload. | |
1525 | * plugin/plugin-gcn.c: Include libgomp-gcn.h. | |
1526 | (struct kernargs): Replace struct def by the one | |
1527 | from libgomp-gcn.h for output_data. | |
1528 | (process_reverse_offload): New. | |
1529 | (console_output): Call it. | |
1530 | ||
80909529 GA |
1531 | 2022-11-16 Tobias Burnus <tobias@codesourcery.com> |
1532 | Andrew Stubbs <ams@codesourcery.com> | |
1533 | ||
1534 | * config/gcn/team.c (gomp_gcn_enter_kernel): Use | |
1535 | __builtin_gcn_kernarg_ptr instead of asm ("s8"). | |
1536 | ||
83d400bd GA |
1537 | 2022-11-14 Martin Liska <mliska@suse.cz> |
1538 | ||
1539 | Revert: | |
1540 | 2022-11-14 Martin Liska <mliska@suse.cz> | |
1541 | ||
1542 | * doc/amd-radeon-gcn.rst: New file. | |
1543 | * doc/conf.py: New file. | |
1544 | * doc/copyright.rst: New file. | |
1545 | * doc/cuda-streams-usage.rst: New file. | |
1546 | * doc/enabling-openacc.rst: New file. | |
1547 | * doc/enabling-openmp.rst: New file. | |
1548 | * doc/first-invocation-nvidia-cublas-library-api.rst: New file. | |
1549 | * doc/first-invocation-openacc-library-api.rst: New file. | |
1550 | * doc/funding.rst: New file. | |
1551 | * doc/general-public-license-3.rst: New file. | |
1552 | * doc/gnu-free-documentation-license.rst: New file. | |
1553 | * doc/implementation-status-and-implementation-defined-behavior.rst: New file. | |
1554 | * doc/index.rst: New file. | |
1555 | * doc/indices-and-tables.rst: New file. | |
1556 | * doc/introduction.rst: New file. | |
1557 | * doc/memory-allocation-with-libmemkind.rst: New file. | |
1558 | * doc/nvptx.rst: New file. | |
1559 | * doc/offload-target-specifics.rst: New file. | |
1560 | * doc/openacc-environment-variables.rst: New file. | |
1561 | * doc/openacc-environment-variables/accdevicenum.rst: New file. | |
1562 | * doc/openacc-environment-variables/accdevicetype.rst: New file. | |
1563 | * doc/openacc-environment-variables/accproflib.rst: New file. | |
1564 | * doc/openacc-environment-variables/gccaccnotify.rst: New file. | |
1565 | * doc/openacc-introduction.rst: New file. | |
1566 | * doc/openacc-library-and-environment-variables.rst: New file. | |
1567 | * doc/openacc-library-interoperability.rst: New file. | |
1568 | * doc/openacc-profiling-interface.rst: New file. | |
1569 | * doc/openacc-runtime-library-routines.rst: New file. | |
1570 | * doc/openacc-runtime-library-routines/accasynctest.rst: New file. | |
1571 | * doc/openacc-runtime-library-routines/accasynctestall.rst: New file. | |
1572 | * doc/openacc-runtime-library-routines/accattach.rst: New file. | |
1573 | * doc/openacc-runtime-library-routines/acccopyin.rst: New file. | |
1574 | * doc/openacc-runtime-library-routines/acccopyout.rst: New file. | |
1575 | * doc/openacc-runtime-library-routines/acccreate.rst: New file. | |
1576 | * doc/openacc-runtime-library-routines/accdelete.rst: New file. | |
1577 | * doc/openacc-runtime-library-routines/accdetach.rst: New file. | |
1578 | * doc/openacc-runtime-library-routines/accdeviceptr.rst: New file. | |
1579 | * doc/openacc-runtime-library-routines/accfree.rst: New file. | |
1580 | * doc/openacc-runtime-library-routines/accgetcudastream.rst: New file. | |
1581 | * doc/openacc-runtime-library-routines/accgetcurrentcudacontext.rst: New file. | |
1582 | * doc/openacc-runtime-library-routines/accgetcurrentcudadevice.rst: New file. | |
1583 | * doc/openacc-runtime-library-routines/accgetdevicenum.rst: New file. | |
1584 | * doc/openacc-runtime-library-routines/accgetdevicetype.rst: New file. | |
1585 | * doc/openacc-runtime-library-routines/accgetnumdevices.rst: New file. | |
1586 | * doc/openacc-runtime-library-routines/accgetproperty.rst: New file. | |
1587 | * doc/openacc-runtime-library-routines/acchostptr.rst: New file. | |
1588 | * doc/openacc-runtime-library-routines/accinit.rst: New file. | |
1589 | * doc/openacc-runtime-library-routines/accispresent.rst: New file. | |
1590 | * doc/openacc-runtime-library-routines/accmalloc.rst: New file. | |
1591 | * doc/openacc-runtime-library-routines/accmapdata.rst: New file. | |
1592 | * doc/openacc-runtime-library-routines/accmemcpyfromdevice.rst: New file. | |
1593 | * doc/openacc-runtime-library-routines/accmemcpytodevice.rst: New file. | |
1594 | * doc/openacc-runtime-library-routines/accondevice.rst: New file. | |
1595 | * doc/openacc-runtime-library-routines/accpresentorcopyin.rst: New file. | |
1596 | * doc/openacc-runtime-library-routines/accpresentorcreate.rst: New file. | |
1597 | * doc/openacc-runtime-library-routines/accproflookup.rst: New file. | |
1598 | * doc/openacc-runtime-library-routines/accprofregister.rst: New file. | |
1599 | * doc/openacc-runtime-library-routines/accprofunregister.rst: New file. | |
1600 | * doc/openacc-runtime-library-routines/accregisterlibrary.rst: New file. | |
1601 | * doc/openacc-runtime-library-routines/accsetcudastream.rst: New file. | |
1602 | * doc/openacc-runtime-library-routines/accsetdevicenum.rst: New file. | |
1603 | * doc/openacc-runtime-library-routines/accsetdevicetype.rst: New file. | |
1604 | * doc/openacc-runtime-library-routines/accshutdown.rst: New file. | |
1605 | * doc/openacc-runtime-library-routines/accunmapdata.rst: New file. | |
1606 | * doc/openacc-runtime-library-routines/accupdatedevice.rst: New file. | |
1607 | * doc/openacc-runtime-library-routines/accupdateself.rst: New file. | |
1608 | * doc/openacc-runtime-library-routines/accwait.rst: New file. | |
1609 | * doc/openacc-runtime-library-routines/accwaitall.rst: New file. | |
1610 | * doc/openacc-runtime-library-routines/accwaitallasync.rst: New file. | |
1611 | * doc/openacc-runtime-library-routines/accwaitasync.rst: New file. | |
1612 | * doc/openmp-context-selectors.rst: New file. | |
1613 | * doc/openmp-environment-variables.rst: New file. | |
1614 | * doc/openmp-environment-variables/gompcpuaffinity.rst: New file. | |
1615 | * doc/openmp-environment-variables/gompdebug.rst: New file. | |
1616 | * doc/openmp-environment-variables/gomprtemsthreadpools.rst: New file. | |
1617 | * doc/openmp-environment-variables/gompspincount.rst: New file. | |
1618 | * doc/openmp-environment-variables/gompstacksize.rst: New file. | |
1619 | * doc/openmp-environment-variables/ompcancellation.rst: New file. | |
1620 | * doc/openmp-environment-variables/ompdefaultdevice.rst: New file. | |
1621 | * doc/openmp-environment-variables/ompdisplayenv.rst: New file. | |
1622 | * doc/openmp-environment-variables/ompdynamic.rst: New file. | |
1623 | * doc/openmp-environment-variables/ompmaxactivelevels.rst: New file. | |
1624 | * doc/openmp-environment-variables/ompmaxtaskpriority.rst: New file. | |
1625 | * doc/openmp-environment-variables/ompnested.rst: New file. | |
1626 | * doc/openmp-environment-variables/ompnumteams.rst: New file. | |
1627 | * doc/openmp-environment-variables/ompnumthreads.rst: New file. | |
1628 | * doc/openmp-environment-variables/ompplaces.rst: New file. | |
1629 | * doc/openmp-environment-variables/ompprocbind.rst: New file. | |
1630 | * doc/openmp-environment-variables/ompschedule.rst: New file. | |
1631 | * doc/openmp-environment-variables/ompstacksize.rst: New file. | |
1632 | * doc/openmp-environment-variables/omptargetoffload.rst: New file. | |
1633 | * doc/openmp-environment-variables/ompteamsthreadlimit.rst: New file. | |
1634 | * doc/openmp-environment-variables/ompthreadlimit.rst: New file. | |
1635 | * doc/openmp-environment-variables/ompwaitpolicy.rst: New file. | |
1636 | * doc/openmp-implementation-specifics.rst: New file. | |
1637 | * doc/openmp-implementation-status.rst: New file. | |
1638 | * doc/openmp-implementation-status/openmp-45.rst: New file. | |
1639 | * doc/openmp-implementation-status/openmp-50.rst: New file. | |
1640 | * doc/openmp-implementation-status/openmp-51.rst: New file. | |
1641 | * doc/openmp-implementation-status/openmp-52.rst: New file. | |
1642 | * doc/openmp-runtime-library-routines.rst: New file. | |
1643 | * doc/openmp-runtime-library-routines/ompdestroylock.rst: New file. | |
1644 | * doc/openmp-runtime-library-routines/ompdestroynestlock.rst: New file. | |
1645 | * doc/openmp-runtime-library-routines/ompfulfillevent.rst: New file. | |
1646 | * doc/openmp-runtime-library-routines/ompgetactivelevel.rst: New file. | |
1647 | * doc/openmp-runtime-library-routines/ompgetancestorthreadnum.rst: New file. | |
1648 | * doc/openmp-runtime-library-routines/ompgetcancellation.rst: New file. | |
1649 | * doc/openmp-runtime-library-routines/ompgetdefaultdevice.rst: New file. | |
1650 | * doc/openmp-runtime-library-routines/ompgetdevicenum.rst: New file. | |
1651 | * doc/openmp-runtime-library-routines/ompgetdynamic.rst: New file. | |
1652 | * doc/openmp-runtime-library-routines/ompgetinitialdevice.rst: New file. | |
1653 | * doc/openmp-runtime-library-routines/ompgetlevel.rst: New file. | |
1654 | * doc/openmp-runtime-library-routines/ompgetmaxactivelevels.rst: New file. | |
1655 | * doc/openmp-runtime-library-routines/ompgetmaxtaskpriority.rst: New file. | |
1656 | * doc/openmp-runtime-library-routines/ompgetmaxteams.rst: New file. | |
1657 | * doc/openmp-runtime-library-routines/ompgetmaxthreads.rst: New file. | |
1658 | * doc/openmp-runtime-library-routines/ompgetnested.rst: New file. | |
1659 | * doc/openmp-runtime-library-routines/ompgetnumdevices.rst: New file. | |
1660 | * doc/openmp-runtime-library-routines/ompgetnumprocs.rst: New file. | |
1661 | * doc/openmp-runtime-library-routines/ompgetnumteams.rst: New file. | |
1662 | * doc/openmp-runtime-library-routines/ompgetnumthreads.rst: New file. | |
1663 | * doc/openmp-runtime-library-routines/ompgetprocbind.rst: New file. | |
1664 | * doc/openmp-runtime-library-routines/ompgetschedule.rst: New file. | |
1665 | * doc/openmp-runtime-library-routines/ompgetsupportedactivelevels.rst: New file. | |
1666 | * doc/openmp-runtime-library-routines/ompgetteamnum.rst: New file. | |
1667 | * doc/openmp-runtime-library-routines/ompgetteamsize.rst: New file. | |
1668 | * doc/openmp-runtime-library-routines/ompgetteamsthreadlimit.rst: New file. | |
1669 | * doc/openmp-runtime-library-routines/ompgetthreadlimit.rst: New file. | |
1670 | * doc/openmp-runtime-library-routines/ompgetthreadnum.rst: New file. | |
1671 | * doc/openmp-runtime-library-routines/ompgetwtick.rst: New file. | |
1672 | * doc/openmp-runtime-library-routines/ompgetwtime.rst: New file. | |
1673 | * doc/openmp-runtime-library-routines/ompinfinal.rst: New file. | |
1674 | * doc/openmp-runtime-library-routines/ompinitlock.rst: New file. | |
1675 | * doc/openmp-runtime-library-routines/ompinitnestlock.rst: New file. | |
1676 | * doc/openmp-runtime-library-routines/ompinparallel.rst: New file. | |
1677 | * doc/openmp-runtime-library-routines/ompisinitialdevice.rst: New file. | |
1678 | * doc/openmp-runtime-library-routines/ompsetdefaultdevice.rst: New file. | |
1679 | * doc/openmp-runtime-library-routines/ompsetdynamic.rst: New file. | |
1680 | * doc/openmp-runtime-library-routines/ompsetlock.rst: New file. | |
1681 | * doc/openmp-runtime-library-routines/ompsetmaxactivelevels.rst: New file. | |
1682 | * doc/openmp-runtime-library-routines/ompsetnested.rst: New file. | |
1683 | * doc/openmp-runtime-library-routines/ompsetnestlock.rst: New file. | |
1684 | * doc/openmp-runtime-library-routines/ompsetnumteams.rst: New file. | |
1685 | * doc/openmp-runtime-library-routines/ompsetnumthreads.rst: New file. | |
1686 | * doc/openmp-runtime-library-routines/ompsetschedule.rst: New file. | |
1687 | * doc/openmp-runtime-library-routines/ompsetteamsthreadlimit.rst: New file. | |
1688 | * doc/openmp-runtime-library-routines/omptestlock.rst: New file. | |
1689 | * doc/openmp-runtime-library-routines/omptestnestlock.rst: New file. | |
1690 | * doc/openmp-runtime-library-routines/ompunsetlock.rst: New file. | |
1691 | * doc/openmp-runtime-library-routines/ompunsetnestlock.rst: New file. | |
1692 | * doc/reporting-bugs.rst: New file. | |
1693 | * doc/the-libgomp-abi.rst: New file. | |
1694 | * doc/the-libgomp-abi/implementing-atomic-construct.rst: New file. | |
1695 | * doc/the-libgomp-abi/implementing-barrier-construct.rst: New file. | |
1696 | * doc/the-libgomp-abi/implementing-critical-construct.rst: New file. | |
1697 | * doc/the-libgomp-abi/implementing-firstprivate-lastprivate-copyin-and-copyprivate-clauses.rst: | |
1698 | New file. | |
1699 | * doc/the-libgomp-abi/implementing-flush-construct.rst: New file. | |
1700 | * doc/the-libgomp-abi/implementing-for-construct.rst: New file. | |
1701 | * doc/the-libgomp-abi/implementing-master-construct.rst: New file. | |
1702 | * doc/the-libgomp-abi/implementing-openaccs-parallel-construct.rst: New file. | |
1703 | * doc/the-libgomp-abi/implementing-ordered-construct.rst: New file. | |
1704 | * doc/the-libgomp-abi/implementing-parallel-construct.rst: New file. | |
1705 | * doc/the-libgomp-abi/implementing-private-clause.rst: New file. | |
1706 | * doc/the-libgomp-abi/implementing-reduction-clause.rst: New file. | |
1707 | * doc/the-libgomp-abi/implementing-sections-construct.rst: New file. | |
1708 | * doc/the-libgomp-abi/implementing-single-construct.rst: New file. | |
1709 | * doc/the-libgomp-abi/implementing-threadprivate-construct.rst: New file. | |
1710 | ||
1711 | 2022-11-14 Martin Liska <mliska@suse.cz> | |
1712 | ||
1713 | Revert: | |
1714 | 2022-11-14 Martin Liska <mliska@suse.cz> | |
1715 | ||
1716 | * Makefile.in: Support Sphinx based documentation. | |
1717 | ||
1718 | 2022-11-14 Martin Liska <mliska@suse.cz> | |
1719 | ||
1720 | Revert: | |
1721 | 2022-11-14 Martin Liska <mliska@suse.cz> | |
1722 | ||
1723 | * libgomp.texi: Removed. | |
1724 | ||
1725 | 2022-11-14 Martin Liska <mliska@suse.cz> | |
1726 | ||
1727 | Revert: | |
1728 | 2022-11-14 Martin Liska <mliska@suse.cz> | |
1729 | ||
1730 | * Makefile.in: Support --with-sphinx-build. | |
1731 | * configure.ac: Likewise.. | |
1732 | * configure: Regenerate. | |
1733 | ||
1734 | 2022-11-14 Martin Liska <mliska@suse.cz> | |
1735 | ||
1736 | Revert: | |
1737 | 2022-11-09 Martin Liska <mliska@suse.cz> | |
1738 | ||
1739 | * Makefile.in: Build info pages conditionally. | |
1740 | ||
1741 | 2022-11-14 Martin Liska <mliska@suse.cz> | |
1742 | ||
1743 | Revert: | |
1744 | 2022-11-14 Martin Liska <mliska@suse.cz> | |
1745 | ||
1746 | * doc/amd-radeon-gcn.rst: | |
3d3b561f | 1747 | Add trailing newline. |
83d400bd | 1748 | * doc/copyright.rst: |
3d3b561f | 1749 | Add trailing newline. |
83d400bd | 1750 | * doc/cuda-streams-usage.rst: |
3d3b561f | 1751 | Add trailing newline. |
83d400bd | 1752 | * doc/enabling-openacc.rst: |
3d3b561f | 1753 | Add trailing newline. |
83d400bd | 1754 | * doc/enabling-openmp.rst: |
3d3b561f | 1755 | Add trailing newline. |
83d400bd | 1756 | * doc/first-invocation-nvidia-cublas-library-api.rst: |
3d3b561f | 1757 | Add trailing newline. |
83d400bd | 1758 | * doc/first-invocation-openacc-library-api.rst: |
3d3b561f | 1759 | Add trailing newline. |
83d400bd | 1760 | * doc/funding.rst: |
3d3b561f | 1761 | Add trailing newline. |
83d400bd | 1762 | * doc/general-public-license-3.rst: |
3d3b561f | 1763 | Add trailing newline. |
83d400bd | 1764 | * doc/gnu-free-documentation-license.rst: |
3d3b561f | 1765 | Add trailing newline. |
83d400bd | 1766 | * doc/implementation-status-and-implementation-defined-behavior.rst: |
3d3b561f | 1767 | Add trailing newline. |
83d400bd | 1768 | * doc/index.rst: |
3d3b561f | 1769 | Add trailing newline. |
83d400bd | 1770 | * doc/indices-and-tables.rst: |
3d3b561f | 1771 | Add trailing newline. |
83d400bd | 1772 | * doc/introduction.rst: |
3d3b561f | 1773 | Add trailing newline. |
83d400bd | 1774 | * doc/memory-allocation-with-libmemkind.rst: |
3d3b561f | 1775 | Add trailing newline. |
83d400bd | 1776 | * doc/nvptx.rst: |
3d3b561f | 1777 | Add trailing newline. |
83d400bd | 1778 | * doc/offload-target-specifics.rst: |
3d3b561f | 1779 | Add trailing newline. |
83d400bd | 1780 | * doc/openacc-environment-variables.rst: |
3d3b561f | 1781 | Add trailing newline. |
83d400bd | 1782 | * doc/openacc-environment-variables/accdevicenum.rst: |
3d3b561f | 1783 | Add trailing newline. |
83d400bd | 1784 | * doc/openacc-environment-variables/accdevicetype.rst: |
3d3b561f | 1785 | Add trailing newline. |
83d400bd | 1786 | * doc/openacc-environment-variables/accproflib.rst: |
3d3b561f | 1787 | Add trailing newline. |
83d400bd | 1788 | * doc/openacc-environment-variables/gccaccnotify.rst: |
3d3b561f | 1789 | Add trailing newline. |
83d400bd | 1790 | * doc/openacc-introduction.rst: |
3d3b561f | 1791 | Add trailing newline. |
83d400bd | 1792 | * doc/openacc-library-and-environment-variables.rst: |
3d3b561f | 1793 | Add trailing newline. |
83d400bd | 1794 | * doc/openacc-library-interoperability.rst: |
3d3b561f | 1795 | Add trailing newline. |
83d400bd | 1796 | * doc/openacc-profiling-interface.rst: |
3d3b561f | 1797 | Add trailing newline. |
83d400bd | 1798 | * doc/openacc-runtime-library-routines.rst: |
3d3b561f | 1799 | Add trailing newline. |
83d400bd | 1800 | * doc/openacc-runtime-library-routines/accasynctest.rst: |
3d3b561f | 1801 | Add trailing newline. |
83d400bd | 1802 | * doc/openacc-runtime-library-routines/accasynctestall.rst: |
3d3b561f | 1803 | Add trailing newline. |
83d400bd | 1804 | * doc/openacc-runtime-library-routines/accattach.rst: |
3d3b561f | 1805 | Add trailing newline. |
83d400bd | 1806 | * doc/openacc-runtime-library-routines/acccopyin.rst: |
3d3b561f | 1807 | Add trailing newline. |
83d400bd | 1808 | * doc/openacc-runtime-library-routines/acccopyout.rst: |
3d3b561f | 1809 | Add trailing newline. |
83d400bd | 1810 | * doc/openacc-runtime-library-routines/acccreate.rst: |
3d3b561f | 1811 | Add trailing newline. |
83d400bd | 1812 | * doc/openacc-runtime-library-routines/accdelete.rst: |
3d3b561f | 1813 | Add trailing newline. |
83d400bd | 1814 | * doc/openacc-runtime-library-routines/accdetach.rst: |
3d3b561f | 1815 | Add trailing newline. |
83d400bd | 1816 | * doc/openacc-runtime-library-routines/accdeviceptr.rst: |
3d3b561f | 1817 | Add trailing newline. |
83d400bd | 1818 | * doc/openacc-runtime-library-routines/accfree.rst: |
3d3b561f | 1819 | Add trailing newline. |
83d400bd | 1820 | * doc/openacc-runtime-library-routines/accgetcudastream.rst: |
3d3b561f | 1821 | Add trailing newline. |
83d400bd | 1822 | * doc/openacc-runtime-library-routines/accgetcurrentcudacontext.rst: |
3d3b561f | 1823 | Add trailing newline. |
83d400bd | 1824 | * doc/openacc-runtime-library-routines/accgetcurrentcudadevice.rst: |
3d3b561f | 1825 | Add trailing newline. |
83d400bd | 1826 | * doc/openacc-runtime-library-routines/accgetdevicenum.rst: |
3d3b561f | 1827 | Add trailing newline. |
83d400bd | 1828 | * doc/openacc-runtime-library-routines/accgetdevicetype.rst: |
3d3b561f | 1829 | Add trailing newline. |
83d400bd | 1830 | * doc/openacc-runtime-library-routines/accgetnumdevices.rst: |
3d3b561f | 1831 | Add trailing newline. |
83d400bd | 1832 | * doc/openacc-runtime-library-routines/accgetproperty.rst: |
3d3b561f | 1833 | Add trailing newline. |
83d400bd | 1834 | * doc/openacc-runtime-library-routines/acchostptr.rst: |
3d3b561f | 1835 | Add trailing newline. |
83d400bd | 1836 | * doc/openacc-runtime-library-routines/accinit.rst: |
3d3b561f | 1837 | Add trailing newline. |
83d400bd | 1838 | * doc/openacc-runtime-library-routines/accispresent.rst: |
3d3b561f | 1839 | Add trailing newline. |
83d400bd | 1840 | * doc/openacc-runtime-library-routines/accmalloc.rst: |
3d3b561f | 1841 | Add trailing newline. |
83d400bd | 1842 | * doc/openacc-runtime-library-routines/accmapdata.rst: |
3d3b561f | 1843 | Add trailing newline. |
83d400bd | 1844 | * doc/openacc-runtime-library-routines/accmemcpyfromdevice.rst: |
3d3b561f | 1845 | Add trailing newline. |
83d400bd | 1846 | * doc/openacc-runtime-library-routines/accmemcpytodevice.rst: |
3d3b561f | 1847 | Add trailing newline. |
83d400bd | 1848 | * doc/openacc-runtime-library-routines/accondevice.rst: |
3d3b561f | 1849 | Add trailing newline. |
83d400bd | 1850 | * doc/openacc-runtime-library-routines/accpresentorcopyin.rst: |
3d3b561f | 1851 | Add trailing newline. |
83d400bd | 1852 | * doc/openacc-runtime-library-routines/accpresentorcreate.rst: |
3d3b561f | 1853 | Add trailing newline. |
83d400bd | 1854 | * doc/openacc-runtime-library-routines/accproflookup.rst: |
3d3b561f | 1855 | Add trailing newline. |
83d400bd | 1856 | * doc/openacc-runtime-library-routines/accprofregister.rst: |
3d3b561f | 1857 | Add trailing newline. |
83d400bd | 1858 | * doc/openacc-runtime-library-routines/accprofunregister.rst: |
3d3b561f | 1859 | Add trailing newline. |
83d400bd | 1860 | * doc/openacc-runtime-library-routines/accregisterlibrary.rst: |
3d3b561f | 1861 | Add trailing newline. |
83d400bd | 1862 | * doc/openacc-runtime-library-routines/accsetcudastream.rst: |
3d3b561f | 1863 | Add trailing newline. |
83d400bd | 1864 | * doc/openacc-runtime-library-routines/accsetdevicenum.rst: |
3d3b561f | 1865 | Add trailing newline. |
83d400bd | 1866 | * doc/openacc-runtime-library-routines/accsetdevicetype.rst: |
3d3b561f | 1867 | Add trailing newline. |
83d400bd | 1868 | * doc/openacc-runtime-library-routines/accshutdown.rst: |
3d3b561f | 1869 | Add trailing newline. |
83d400bd | 1870 | * doc/openacc-runtime-library-routines/accunmapdata.rst: |
3d3b561f | 1871 | Add trailing newline. |
83d400bd | 1872 | * doc/openacc-runtime-library-routines/accupdatedevice.rst: |
3d3b561f | 1873 | Add trailing newline. |
83d400bd | 1874 | * doc/openacc-runtime-library-routines/accupdateself.rst: |
3d3b561f | 1875 | Add trailing newline. |
83d400bd | 1876 | * doc/openacc-runtime-library-routines/accwait.rst: |
3d3b561f | 1877 | Add trailing newline. |
83d400bd | 1878 | * doc/openacc-runtime-library-routines/accwaitall.rst: |
3d3b561f | 1879 | Add trailing newline. |
83d400bd | 1880 | * doc/openacc-runtime-library-routines/accwaitallasync.rst: |
3d3b561f | 1881 | Add trailing newline. |
83d400bd | 1882 | * doc/openacc-runtime-library-routines/accwaitasync.rst: |
3d3b561f | 1883 | Add trailing newline. |
83d400bd | 1884 | * doc/openmp-context-selectors.rst: |
3d3b561f | 1885 | Add trailing newline. |
83d400bd | 1886 | * doc/openmp-environment-variables.rst: |
3d3b561f | 1887 | Add trailing newline. |
83d400bd | 1888 | * doc/openmp-environment-variables/gompcpuaffinity.rst: |
3d3b561f | 1889 | Add trailing newline. |
83d400bd | 1890 | * doc/openmp-environment-variables/gompdebug.rst: |
3d3b561f | 1891 | Add trailing newline. |
83d400bd | 1892 | * doc/openmp-environment-variables/gomprtemsthreadpools.rst: |
3d3b561f | 1893 | Add trailing newline. |
83d400bd | 1894 | * doc/openmp-environment-variables/gompspincount.rst: |
3d3b561f | 1895 | Add trailing newline. |
83d400bd | 1896 | * doc/openmp-environment-variables/gompstacksize.rst: |
3d3b561f | 1897 | Add trailing newline. |
83d400bd | 1898 | * doc/openmp-environment-variables/ompcancellation.rst: |
3d3b561f | 1899 | Add trailing newline. |
83d400bd | 1900 | * doc/openmp-environment-variables/ompdefaultdevice.rst: |
3d3b561f | 1901 | Add trailing newline. |
83d400bd | 1902 | * doc/openmp-environment-variables/ompdisplayenv.rst: |
3d3b561f | 1903 | Add trailing newline. |
83d400bd | 1904 | * doc/openmp-environment-variables/ompdynamic.rst: |
3d3b561f | 1905 | Add trailing newline. |
83d400bd | 1906 | * doc/openmp-environment-variables/ompmaxactivelevels.rst: |
3d3b561f | 1907 | Add trailing newline. |
83d400bd | 1908 | * doc/openmp-environment-variables/ompmaxtaskpriority.rst: |
3d3b561f | 1909 | Add trailing newline. |
83d400bd | 1910 | * doc/openmp-environment-variables/ompnested.rst: |
3d3b561f | 1911 | Add trailing newline. |
83d400bd | 1912 | * doc/openmp-environment-variables/ompnumteams.rst: |
3d3b561f | 1913 | Add trailing newline. |
83d400bd | 1914 | * doc/openmp-environment-variables/ompnumthreads.rst: |
3d3b561f | 1915 | Add trailing newline. |
83d400bd | 1916 | * doc/openmp-environment-variables/ompplaces.rst: |
3d3b561f | 1917 | Add trailing newline. |
83d400bd | 1918 | * doc/openmp-environment-variables/ompprocbind.rst: |
3d3b561f | 1919 | Add trailing newline. |
83d400bd | 1920 | * doc/openmp-environment-variables/ompschedule.rst: |
3d3b561f | 1921 | Add trailing newline. |
83d400bd | 1922 | * doc/openmp-environment-variables/ompstacksize.rst: |
3d3b561f | 1923 | Add trailing newline. |
83d400bd | 1924 | * doc/openmp-environment-variables/omptargetoffload.rst: |
3d3b561f | 1925 | Add trailing newline. |
83d400bd | 1926 | * doc/openmp-environment-variables/ompteamsthreadlimit.rst: |
3d3b561f | 1927 | Add trailing newline. |
83d400bd | 1928 | * doc/openmp-environment-variables/ompthreadlimit.rst: |
3d3b561f | 1929 | Add trailing newline. |
83d400bd | 1930 | * doc/openmp-environment-variables/ompwaitpolicy.rst: |
3d3b561f | 1931 | Add trailing newline. |
83d400bd | 1932 | * doc/openmp-implementation-specifics.rst: |
3d3b561f | 1933 | Add trailing newline. |
83d400bd | 1934 | * doc/openmp-implementation-status.rst: |
3d3b561f | 1935 | Add trailing newline. |
83d400bd | 1936 | * doc/openmp-implementation-status/openmp-45.rst: |
3d3b561f | 1937 | Add trailing newline. |
83d400bd | 1938 | * doc/openmp-implementation-status/openmp-50.rst: |
3d3b561f | 1939 | Add trailing newline. |
83d400bd | 1940 | * doc/openmp-implementation-status/openmp-51.rst: |
3d3b561f | 1941 | Add trailing newline. |
83d400bd | 1942 | * doc/openmp-implementation-status/openmp-52.rst: |
3d3b561f | 1943 | Add trailing newline. |
83d400bd | 1944 | * doc/openmp-runtime-library-routines.rst: |
3d3b561f | 1945 | Add trailing newline. |
83d400bd | 1946 | * doc/openmp-runtime-library-routines/ompdestroylock.rst: |
3d3b561f | 1947 | Add trailing newline. |
83d400bd | 1948 | * doc/openmp-runtime-library-routines/ompdestroynestlock.rst: |
3d3b561f | 1949 | Add trailing newline. |
83d400bd | 1950 | * doc/openmp-runtime-library-routines/ompfulfillevent.rst: |
3d3b561f | 1951 | Add trailing newline. |
83d400bd | 1952 | * doc/openmp-runtime-library-routines/ompgetactivelevel.rst: |
3d3b561f | 1953 | Add trailing newline. |
83d400bd | 1954 | * doc/openmp-runtime-library-routines/ompgetancestorthreadnum.rst: |
3d3b561f | 1955 | Add trailing newline. |
83d400bd | 1956 | * doc/openmp-runtime-library-routines/ompgetcancellation.rst: |
3d3b561f | 1957 | Add trailing newline. |
83d400bd | 1958 | * doc/openmp-runtime-library-routines/ompgetdefaultdevice.rst: |
3d3b561f | 1959 | Add trailing newline. |
83d400bd | 1960 | * doc/openmp-runtime-library-routines/ompgetdevicenum.rst: |
3d3b561f | 1961 | Add trailing newline. |
83d400bd | 1962 | * doc/openmp-runtime-library-routines/ompgetdynamic.rst: |
3d3b561f | 1963 | Add trailing newline. |
83d400bd | 1964 | * doc/openmp-runtime-library-routines/ompgetinitialdevice.rst: |
3d3b561f | 1965 | Add trailing newline. |
83d400bd | 1966 | * doc/openmp-runtime-library-routines/ompgetlevel.rst: |
3d3b561f | 1967 | Add trailing newline. |
83d400bd | 1968 | * doc/openmp-runtime-library-routines/ompgetmaxactivelevels.rst: |
3d3b561f | 1969 | Add trailing newline. |
83d400bd | 1970 | * doc/openmp-runtime-library-routines/ompgetmaxtaskpriority.rst: |
3d3b561f | 1971 | Add trailing newline. |
83d400bd | 1972 | * doc/openmp-runtime-library-routines/ompgetmaxteams.rst: |
3d3b561f | 1973 | Add trailing newline. |
83d400bd | 1974 | * doc/openmp-runtime-library-routines/ompgetmaxthreads.rst: |
3d3b561f | 1975 | Add trailing newline. |
83d400bd | 1976 | * doc/openmp-runtime-library-routines/ompgetnested.rst: |
3d3b561f | 1977 | Add trailing newline. |
83d400bd | 1978 | * doc/openmp-runtime-library-routines/ompgetnumdevices.rst: |
3d3b561f | 1979 | Add trailing newline. |
83d400bd | 1980 | * doc/openmp-runtime-library-routines/ompgetnumprocs.rst: |
3d3b561f | 1981 | Add trailing newline. |
83d400bd | 1982 | * doc/openmp-runtime-library-routines/ompgetnumteams.rst: |
3d3b561f | 1983 | Add trailing newline. |
83d400bd | 1984 | * doc/openmp-runtime-library-routines/ompgetnumthreads.rst: |
3d3b561f | 1985 | Add trailing newline. |
83d400bd | 1986 | * doc/openmp-runtime-library-routines/ompgetprocbind.rst: |
3d3b561f | 1987 | Add trailing newline. |
83d400bd | 1988 | * doc/openmp-runtime-library-routines/ompgetschedule.rst: |
3d3b561f | 1989 | Add trailing newline. |
83d400bd | 1990 | * doc/openmp-runtime-library-routines/ompgetsupportedactivelevels.rst: |
3d3b561f | 1991 | Add trailing newline. |
83d400bd | 1992 | * doc/openmp-runtime-library-routines/ompgetteamnum.rst: |
3d3b561f | 1993 | Add trailing newline. |
83d400bd | 1994 | * doc/openmp-runtime-library-routines/ompgetteamsize.rst: |
3d3b561f | 1995 | Add trailing newline. |
83d400bd | 1996 | * doc/openmp-runtime-library-routines/ompgetteamsthreadlimit.rst: |
3d3b561f | 1997 | Add trailing newline. |
83d400bd | 1998 | * doc/openmp-runtime-library-routines/ompgetthreadlimit.rst: |
3d3b561f | 1999 | Add trailing newline. |
83d400bd | 2000 | * doc/openmp-runtime-library-routines/ompgetthreadnum.rst: |
3d3b561f | 2001 | Add trailing newline. |
83d400bd | 2002 | * doc/openmp-runtime-library-routines/ompgetwtick.rst: |
3d3b561f | 2003 | Add trailing newline. |
83d400bd | 2004 | * doc/openmp-runtime-library-routines/ompgetwtime.rst: |
3d3b561f | 2005 | Add trailing newline. |
83d400bd | 2006 | * doc/openmp-runtime-library-routines/ompinfinal.rst: |
3d3b561f | 2007 | Add trailing newline. |
83d400bd | 2008 | * doc/openmp-runtime-library-routines/ompinitlock.rst: |
3d3b561f | 2009 | Add trailing newline. |
83d400bd | 2010 | * doc/openmp-runtime-library-routines/ompinitnestlock.rst: |
3d3b561f | 2011 | Add trailing newline. |
83d400bd | 2012 | * doc/openmp-runtime-library-routines/ompinparallel.rst: |
3d3b561f | 2013 | Add trailing newline. |
83d400bd | 2014 | * doc/openmp-runtime-library-routines/ompisinitialdevice.rst: |
3d3b561f | 2015 | Add trailing newline. |
83d400bd | 2016 | * doc/openmp-runtime-library-routines/ompsetdefaultdevice.rst: |
3d3b561f | 2017 | Add trailing newline. |
83d400bd | 2018 | * doc/openmp-runtime-library-routines/ompsetdynamic.rst: |
3d3b561f | 2019 | Add trailing newline. |
83d400bd | 2020 | * doc/openmp-runtime-library-routines/ompsetlock.rst: |
3d3b561f | 2021 | Add trailing newline. |
83d400bd | 2022 | * doc/openmp-runtime-library-routines/ompsetmaxactivelevels.rst: |
3d3b561f | 2023 | Add trailing newline. |
83d400bd | 2024 | * doc/openmp-runtime-library-routines/ompsetnested.rst: |
3d3b561f | 2025 | Add trailing newline. |
83d400bd | 2026 | * doc/openmp-runtime-library-routines/ompsetnestlock.rst: |
3d3b561f | 2027 | Add trailing newline. |
83d400bd | 2028 | * doc/openmp-runtime-library-routines/ompsetnumteams.rst: |
3d3b561f | 2029 | Add trailing newline. |
83d400bd | 2030 | * doc/openmp-runtime-library-routines/ompsetnumthreads.rst: |
3d3b561f | 2031 | Add trailing newline. |
83d400bd | 2032 | * doc/openmp-runtime-library-routines/ompsetschedule.rst: |
3d3b561f | 2033 | Add trailing newline. |
83d400bd | 2034 | * doc/openmp-runtime-library-routines/ompsetteamsthreadlimit.rst: |
3d3b561f | 2035 | Add trailing newline. |
83d400bd | 2036 | * doc/openmp-runtime-library-routines/omptestlock.rst: |
3d3b561f | 2037 | Add trailing newline. |
83d400bd | 2038 | * doc/openmp-runtime-library-routines/omptestnestlock.rst: |
3d3b561f | 2039 | Add trailing newline. |
83d400bd | 2040 | * doc/openmp-runtime-library-routines/ompunsetlock.rst: |
3d3b561f | 2041 | Add trailing newline. |
83d400bd | 2042 | * doc/openmp-runtime-library-routines/ompunsetnestlock.rst: |
3d3b561f | 2043 | Add trailing newline. |
83d400bd | 2044 | * doc/reporting-bugs.rst: |
3d3b561f | 2045 | Add trailing newline. |
83d400bd | 2046 | * doc/the-libgomp-abi.rst: |
3d3b561f | 2047 | Add trailing newline. |
83d400bd | 2048 | * doc/the-libgomp-abi/implementing-atomic-construct.rst: |
3d3b561f | 2049 | Add trailing newline. |
83d400bd | 2050 | * doc/the-libgomp-abi/implementing-barrier-construct.rst: |
3d3b561f | 2051 | Add trailing newline. |
83d400bd | 2052 | * doc/the-libgomp-abi/implementing-critical-construct.rst: |
3d3b561f | 2053 | Add trailing newline. |
83d400bd | 2054 | * doc/the-libgomp-abi/implementing-firstprivate-lastprivate-copyin-and-copyprivate-clauses.rst: |
3d3b561f | 2055 | Add trailing newline. |
83d400bd | 2056 | * doc/the-libgomp-abi/implementing-flush-construct.rst: |
3d3b561f | 2057 | Add trailing newline. |
83d400bd | 2058 | * doc/the-libgomp-abi/implementing-for-construct.rst: |
3d3b561f | 2059 | Add trailing newline. |
83d400bd | 2060 | * doc/the-libgomp-abi/implementing-master-construct.rst: |
3d3b561f | 2061 | Add trailing newline. |
83d400bd | 2062 | * doc/the-libgomp-abi/implementing-openaccs-parallel-construct.rst: |
3d3b561f | 2063 | Add trailing newline. |
83d400bd | 2064 | * doc/the-libgomp-abi/implementing-ordered-construct.rst: |
3d3b561f | 2065 | Add trailing newline. |
83d400bd | 2066 | * doc/the-libgomp-abi/implementing-parallel-construct.rst: |
3d3b561f | 2067 | Add trailing newline. |
83d400bd | 2068 | * doc/the-libgomp-abi/implementing-private-clause.rst: |
3d3b561f | 2069 | Add trailing newline. |
83d400bd | 2070 | * doc/the-libgomp-abi/implementing-reduction-clause.rst: |
3d3b561f | 2071 | Add trailing newline. |
83d400bd | 2072 | * doc/the-libgomp-abi/implementing-sections-construct.rst: |
3d3b561f | 2073 | Add trailing newline. |
83d400bd | 2074 | * doc/the-libgomp-abi/implementing-single-construct.rst: |
3d3b561f | 2075 | Add trailing newline. |
83d400bd | 2076 | * doc/the-libgomp-abi/implementing-threadprivate-construct.rst: |
3d3b561f | 2077 | Add trailing newline. |
83d400bd GA |
2078 | |
2079 | 2022-11-14 Martin Liska <mliska@suse.cz> | |
2080 | ||
2081 | Revert: | |
2082 | 2022-11-09 Martin Liska <mliska@suse.cz> | |
2083 | ||
2084 | * Makefile.in: Add missing HAS_SPHINX_BUILD. | |
2085 | ||
2086 | 2022-11-14 Martin Liska <mliska@suse.cz> | |
2087 | ||
2088 | Revert: | |
2089 | 2022-11-14 Martin Liska <mliska@suse.cz> | |
2090 | ||
2091 | * doc/conf.py: Add newline at last line. | |
2092 | ||
2093 | 2022-11-14 Martin Liska <mliska@suse.cz> | |
2094 | ||
2095 | Revert: | |
2096 | 2022-11-14 Martin Liska <mliska@suse.cz> | |
2097 | ||
2098 | PR other/107620 | |
2099 | * configure: Regenerate. | |
2100 | * configure.ac: Always set sphinx-build. | |
2101 | ||
eefbfbc7 GA |
2102 | 2022-11-13 Martin Liska <mliska@suse.cz> |
2103 | ||
2104 | PR other/107620 | |
2105 | * configure: Regenerate. | |
2106 | * configure.ac: Always set sphinx-build. | |
2107 | ||
30d77d49 GA |
2108 | 2022-11-12 Jakub Jelinek <jakub@redhat.com> |
2109 | ||
2110 | PR libgomp/107641 | |
2111 | * env.c (parse_unsigned_long): Cast params[2] to uintptr_t rather than | |
2112 | unsigned long. Change type of upper from unsigned to unsigned long. | |
2113 | ||
f225b813 GA |
2114 | 2022-11-10 Martin Liska <mliska@suse.cz> |
2115 | ||
2116 | * doc/conf.py: Add newline at last line. | |
2117 | ||
1cdfd0e5 GA |
2118 | 2022-11-09 Martin Liska <mliska@suse.cz> |
2119 | ||
2120 | * Makefile.in: Add missing HAS_SPHINX_BUILD. | |
2121 | ||
2122 | 2022-11-09 Martin Liska <mliska@suse.cz> | |
2123 | ||
2124 | * doc/amd-radeon-gcn.rst: | |
3d3b561f | 2125 | Add trailing newline. |
1cdfd0e5 | 2126 | * doc/copyright.rst: |
3d3b561f | 2127 | Add trailing newline. |
1cdfd0e5 | 2128 | * doc/cuda-streams-usage.rst: |
3d3b561f | 2129 | Add trailing newline. |
1cdfd0e5 | 2130 | * doc/enabling-openacc.rst: |
3d3b561f | 2131 | Add trailing newline. |
1cdfd0e5 | 2132 | * doc/enabling-openmp.rst: |
3d3b561f | 2133 | Add trailing newline. |
1cdfd0e5 | 2134 | * doc/first-invocation-nvidia-cublas-library-api.rst: |
3d3b561f | 2135 | Add trailing newline. |
1cdfd0e5 | 2136 | * doc/first-invocation-openacc-library-api.rst: |
3d3b561f | 2137 | Add trailing newline. |
1cdfd0e5 | 2138 | * doc/funding.rst: |
3d3b561f | 2139 | Add trailing newline. |
1cdfd0e5 | 2140 | * doc/general-public-license-3.rst: |
3d3b561f | 2141 | Add trailing newline. |
1cdfd0e5 | 2142 | * doc/gnu-free-documentation-license.rst: |
3d3b561f | 2143 | Add trailing newline. |
1cdfd0e5 | 2144 | * doc/implementation-status-and-implementation-defined-behavior.rst: |
3d3b561f | 2145 | Add trailing newline. |
1cdfd0e5 | 2146 | * doc/index.rst: |
3d3b561f | 2147 | Add trailing newline. |
1cdfd0e5 | 2148 | * doc/indices-and-tables.rst: |
3d3b561f | 2149 | Add trailing newline. |
1cdfd0e5 | 2150 | * doc/introduction.rst: |
3d3b561f | 2151 | Add trailing newline. |
1cdfd0e5 | 2152 | * doc/memory-allocation-with-libmemkind.rst: |
3d3b561f | 2153 | Add trailing newline. |
1cdfd0e5 | 2154 | * doc/nvptx.rst: |
3d3b561f | 2155 | Add trailing newline. |
1cdfd0e5 | 2156 | * doc/offload-target-specifics.rst: |
3d3b561f | 2157 | Add trailing newline. |
1cdfd0e5 | 2158 | * doc/openacc-environment-variables.rst: |
3d3b561f | 2159 | Add trailing newline. |
1cdfd0e5 | 2160 | * doc/openacc-environment-variables/accdevicenum.rst: |
3d3b561f | 2161 | Add trailing newline. |
1cdfd0e5 | 2162 | * doc/openacc-environment-variables/accdevicetype.rst: |
3d3b561f | 2163 | Add trailing newline. |
1cdfd0e5 | 2164 | * doc/openacc-environment-variables/accproflib.rst: |
3d3b561f | 2165 | Add trailing newline. |
1cdfd0e5 | 2166 | * doc/openacc-environment-variables/gccaccnotify.rst: |
3d3b561f | 2167 | Add trailing newline. |
1cdfd0e5 | 2168 | * doc/openacc-introduction.rst: |
3d3b561f | 2169 | Add trailing newline. |
1cdfd0e5 | 2170 | * doc/openacc-library-and-environment-variables.rst: |
3d3b561f | 2171 | Add trailing newline. |
1cdfd0e5 | 2172 | * doc/openacc-library-interoperability.rst: |
3d3b561f | 2173 | Add trailing newline. |
1cdfd0e5 | 2174 | * doc/openacc-profiling-interface.rst: |
3d3b561f | 2175 | Add trailing newline. |
1cdfd0e5 | 2176 | * doc/openacc-runtime-library-routines.rst: |
3d3b561f | 2177 | Add trailing newline. |
1cdfd0e5 | 2178 | * doc/openacc-runtime-library-routines/accasynctest.rst: |
3d3b561f | 2179 | Add trailing newline. |
1cdfd0e5 | 2180 | * doc/openacc-runtime-library-routines/accasynctestall.rst: |
3d3b561f | 2181 | Add trailing newline. |
1cdfd0e5 | 2182 | * doc/openacc-runtime-library-routines/accattach.rst: |
3d3b561f | 2183 | Add trailing newline. |
1cdfd0e5 | 2184 | * doc/openacc-runtime-library-routines/acccopyin.rst: |
3d3b561f | 2185 | Add trailing newline. |
1cdfd0e5 | 2186 | * doc/openacc-runtime-library-routines/acccopyout.rst: |
3d3b561f | 2187 | Add trailing newline. |
1cdfd0e5 | 2188 | * doc/openacc-runtime-library-routines/acccreate.rst: |
3d3b561f | 2189 | Add trailing newline. |
1cdfd0e5 | 2190 | * doc/openacc-runtime-library-routines/accdelete.rst: |
3d3b561f | 2191 | Add trailing newline. |
1cdfd0e5 | 2192 | * doc/openacc-runtime-library-routines/accdetach.rst: |
3d3b561f | 2193 | Add trailing newline. |
1cdfd0e5 | 2194 | * doc/openacc-runtime-library-routines/accdeviceptr.rst: |
3d3b561f | 2195 | Add trailing newline. |
1cdfd0e5 | 2196 | * doc/openacc-runtime-library-routines/accfree.rst: |
3d3b561f | 2197 | Add trailing newline. |
1cdfd0e5 | 2198 | * doc/openacc-runtime-library-routines/accgetcudastream.rst: |
3d3b561f | 2199 | Add trailing newline. |
1cdfd0e5 | 2200 | * doc/openacc-runtime-library-routines/accgetcurrentcudacontext.rst: |
3d3b561f | 2201 | Add trailing newline. |
1cdfd0e5 | 2202 | * doc/openacc-runtime-library-routines/accgetcurrentcudadevice.rst: |
3d3b561f | 2203 | Add trailing newline. |
1cdfd0e5 | 2204 | * doc/openacc-runtime-library-routines/accgetdevicenum.rst: |
3d3b561f | 2205 | Add trailing newline. |
1cdfd0e5 | 2206 | * doc/openacc-runtime-library-routines/accgetdevicetype.rst: |
3d3b561f | 2207 | Add trailing newline. |
1cdfd0e5 | 2208 | * doc/openacc-runtime-library-routines/accgetnumdevices.rst: |
3d3b561f | 2209 | Add trailing newline. |
1cdfd0e5 | 2210 | * doc/openacc-runtime-library-routines/accgetproperty.rst: |
3d3b561f | 2211 | Add trailing newline. |
1cdfd0e5 | 2212 | * doc/openacc-runtime-library-routines/acchostptr.rst: |
3d3b561f | 2213 | Add trailing newline. |
1cdfd0e5 | 2214 | * doc/openacc-runtime-library-routines/accinit.rst: |
3d3b561f | 2215 | Add trailing newline. |
1cdfd0e5 | 2216 | * doc/openacc-runtime-library-routines/accispresent.rst: |
3d3b561f | 2217 | Add trailing newline. |
1cdfd0e5 | 2218 | * doc/openacc-runtime-library-routines/accmalloc.rst: |
3d3b561f | 2219 | Add trailing newline. |
1cdfd0e5 | 2220 | * doc/openacc-runtime-library-routines/accmapdata.rst: |
3d3b561f | 2221 | Add trailing newline. |
1cdfd0e5 | 2222 | * doc/openacc-runtime-library-routines/accmemcpyfromdevice.rst: |
3d3b561f | 2223 | Add trailing newline. |
1cdfd0e5 | 2224 | * doc/openacc-runtime-library-routines/accmemcpytodevice.rst: |
3d3b561f | 2225 | Add trailing newline. |
1cdfd0e5 | 2226 | * doc/openacc-runtime-library-routines/accondevice.rst: |
3d3b561f | 2227 | Add trailing newline. |
1cdfd0e5 | 2228 | * doc/openacc-runtime-library-routines/accpresentorcopyin.rst: |
3d3b561f | 2229 | Add trailing newline. |
1cdfd0e5 | 2230 | * doc/openacc-runtime-library-routines/accpresentorcreate.rst: |
3d3b561f | 2231 | Add trailing newline. |
1cdfd0e5 | 2232 | * doc/openacc-runtime-library-routines/accproflookup.rst: |
3d3b561f | 2233 | Add trailing newline. |
1cdfd0e5 | 2234 | * doc/openacc-runtime-library-routines/accprofregister.rst: |
3d3b561f | 2235 | Add trailing newline. |
1cdfd0e5 | 2236 | * doc/openacc-runtime-library-routines/accprofunregister.rst: |
3d3b561f | 2237 | Add trailing newline. |
1cdfd0e5 | 2238 | * doc/openacc-runtime-library-routines/accregisterlibrary.rst: |
3d3b561f | 2239 | Add trailing newline. |
1cdfd0e5 | 2240 | * doc/openacc-runtime-library-routines/accsetcudastream.rst: |
3d3b561f | 2241 | Add trailing newline. |
1cdfd0e5 | 2242 | * doc/openacc-runtime-library-routines/accsetdevicenum.rst: |
3d3b561f | 2243 | Add trailing newline. |
1cdfd0e5 | 2244 | * doc/openacc-runtime-library-routines/accsetdevicetype.rst: |
3d3b561f | 2245 | Add trailing newline. |
1cdfd0e5 | 2246 | * doc/openacc-runtime-library-routines/accshutdown.rst: |
3d3b561f | 2247 | Add trailing newline. |
1cdfd0e5 | 2248 | * doc/openacc-runtime-library-routines/accunmapdata.rst: |
3d3b561f | 2249 | Add trailing newline. |
1cdfd0e5 | 2250 | * doc/openacc-runtime-library-routines/accupdatedevice.rst: |
3d3b561f | 2251 | Add trailing newline. |
1cdfd0e5 | 2252 | * doc/openacc-runtime-library-routines/accupdateself.rst: |
3d3b561f | 2253 | Add trailing newline. |
1cdfd0e5 | 2254 | * doc/openacc-runtime-library-routines/accwait.rst: |
3d3b561f | 2255 | Add trailing newline. |
1cdfd0e5 | 2256 | * doc/openacc-runtime-library-routines/accwaitall.rst: |
3d3b561f | 2257 | Add trailing newline. |
1cdfd0e5 | 2258 | * doc/openacc-runtime-library-routines/accwaitallasync.rst: |
3d3b561f | 2259 | Add trailing newline. |
1cdfd0e5 | 2260 | * doc/openacc-runtime-library-routines/accwaitasync.rst: |
3d3b561f | 2261 | Add trailing newline. |
1cdfd0e5 | 2262 | * doc/openmp-context-selectors.rst: |
3d3b561f | 2263 | Add trailing newline. |
1cdfd0e5 | 2264 | * doc/openmp-environment-variables.rst: |
3d3b561f | 2265 | Add trailing newline. |
1cdfd0e5 | 2266 | * doc/openmp-environment-variables/gompcpuaffinity.rst: |
3d3b561f | 2267 | Add trailing newline. |
1cdfd0e5 | 2268 | * doc/openmp-environment-variables/gompdebug.rst: |
3d3b561f | 2269 | Add trailing newline. |
1cdfd0e5 | 2270 | * doc/openmp-environment-variables/gomprtemsthreadpools.rst: |
3d3b561f | 2271 | Add trailing newline. |
1cdfd0e5 | 2272 | * doc/openmp-environment-variables/gompspincount.rst: |
3d3b561f | 2273 | Add trailing newline. |
1cdfd0e5 | 2274 | * doc/openmp-environment-variables/gompstacksize.rst: |
3d3b561f | 2275 | Add trailing newline. |
1cdfd0e5 | 2276 | * doc/openmp-environment-variables/ompcancellation.rst: |
3d3b561f | 2277 | Add trailing newline. |
1cdfd0e5 | 2278 | * doc/openmp-environment-variables/ompdefaultdevice.rst: |
3d3b561f | 2279 | Add trailing newline. |
1cdfd0e5 | 2280 | * doc/openmp-environment-variables/ompdisplayenv.rst: |
3d3b561f | 2281 | Add trailing newline. |
1cdfd0e5 | 2282 | * doc/openmp-environment-variables/ompdynamic.rst: |
3d3b561f | 2283 | Add trailing newline. |
1cdfd0e5 | 2284 | * doc/openmp-environment-variables/ompmaxactivelevels.rst: |
3d3b561f | 2285 | Add trailing newline. |
1cdfd0e5 | 2286 | * doc/openmp-environment-variables/ompmaxtaskpriority.rst: |
3d3b561f | 2287 | Add trailing newline. |
1cdfd0e5 | 2288 | * doc/openmp-environment-variables/ompnested.rst: |
3d3b561f | 2289 | Add trailing newline. |
1cdfd0e5 | 2290 | * doc/openmp-environment-variables/ompnumteams.rst: |
3d3b561f | 2291 | Add trailing newline. |
1cdfd0e5 | 2292 | * doc/openmp-environment-variables/ompnumthreads.rst: |
3d3b561f | 2293 | Add trailing newline. |
1cdfd0e5 | 2294 | * doc/openmp-environment-variables/ompplaces.rst: |
3d3b561f | 2295 | Add trailing newline. |
1cdfd0e5 | 2296 | * doc/openmp-environment-variables/ompprocbind.rst: |
3d3b561f | 2297 | Add trailing newline. |
1cdfd0e5 | 2298 | * doc/openmp-environment-variables/ompschedule.rst: |
3d3b561f | 2299 | Add trailing newline. |
1cdfd0e5 | 2300 | * doc/openmp-environment-variables/ompstacksize.rst: |
3d3b561f | 2301 | Add trailing newline. |
1cdfd0e5 | 2302 | * doc/openmp-environment-variables/omptargetoffload.rst: |
3d3b561f | 2303 | Add trailing newline. |
1cdfd0e5 | 2304 | * doc/openmp-environment-variables/ompteamsthreadlimit.rst: |
3d3b561f | 2305 | Add trailing newline. |
1cdfd0e5 | 2306 | * doc/openmp-environment-variables/ompthreadlimit.rst: |
3d3b561f | 2307 | Add trailing newline. |
1cdfd0e5 | 2308 | * doc/openmp-environment-variables/ompwaitpolicy.rst: |
3d3b561f | 2309 | Add trailing newline. |
1cdfd0e5 | 2310 | * doc/openmp-implementation-specifics.rst: |
3d3b561f | 2311 | Add trailing newline. |
1cdfd0e5 | 2312 | * doc/openmp-implementation-status.rst: |
3d3b561f | 2313 | Add trailing newline. |
1cdfd0e5 | 2314 | * doc/openmp-implementation-status/openmp-45.rst: |
3d3b561f | 2315 | Add trailing newline. |
1cdfd0e5 | 2316 | * doc/openmp-implementation-status/openmp-50.rst: |
3d3b561f | 2317 | Add trailing newline. |
1cdfd0e5 | 2318 | * doc/openmp-implementation-status/openmp-51.rst: |
3d3b561f | 2319 | Add trailing newline. |
1cdfd0e5 | 2320 | * doc/openmp-implementation-status/openmp-52.rst: |
3d3b561f | 2321 | Add trailing newline. |
1cdfd0e5 | 2322 | * doc/openmp-runtime-library-routines.rst: |
3d3b561f | 2323 | Add trailing newline. |
1cdfd0e5 | 2324 | * doc/openmp-runtime-library-routines/ompdestroylock.rst: |
3d3b561f | 2325 | Add trailing newline. |
1cdfd0e5 | 2326 | * doc/openmp-runtime-library-routines/ompdestroynestlock.rst: |
3d3b561f | 2327 | Add trailing newline. |
1cdfd0e5 | 2328 | * doc/openmp-runtime-library-routines/ompfulfillevent.rst: |
3d3b561f | 2329 | Add trailing newline. |
1cdfd0e5 | 2330 | * doc/openmp-runtime-library-routines/ompgetactivelevel.rst: |
3d3b561f | 2331 | Add trailing newline. |
1cdfd0e5 | 2332 | * doc/openmp-runtime-library-routines/ompgetancestorthreadnum.rst: |
3d3b561f | 2333 | Add trailing newline. |
1cdfd0e5 | 2334 | * doc/openmp-runtime-library-routines/ompgetcancellation.rst: |
3d3b561f | 2335 | Add trailing newline. |
1cdfd0e5 | 2336 | * doc/openmp-runtime-library-routines/ompgetdefaultdevice.rst: |
3d3b561f | 2337 | Add trailing newline. |
1cdfd0e5 | 2338 | * doc/openmp-runtime-library-routines/ompgetdevicenum.rst: |
3d3b561f | 2339 | Add trailing newline. |
1cdfd0e5 | 2340 | * doc/openmp-runtime-library-routines/ompgetdynamic.rst: |
3d3b561f | 2341 | Add trailing newline. |
1cdfd0e5 | 2342 | * doc/openmp-runtime-library-routines/ompgetinitialdevice.rst: |
3d3b561f | 2343 | Add trailing newline. |
1cdfd0e5 | 2344 | * doc/openmp-runtime-library-routines/ompgetlevel.rst: |
3d3b561f | 2345 | Add trailing newline. |
1cdfd0e5 | 2346 | * doc/openmp-runtime-library-routines/ompgetmaxactivelevels.rst: |
3d3b561f | 2347 | Add trailing newline. |
1cdfd0e5 | 2348 | * doc/openmp-runtime-library-routines/ompgetmaxtaskpriority.rst: |
3d3b561f | 2349 | Add trailing newline. |
1cdfd0e5 | 2350 | * doc/openmp-runtime-library-routines/ompgetmaxteams.rst: |
3d3b561f | 2351 | Add trailing newline. |
1cdfd0e5 | 2352 | * doc/openmp-runtime-library-routines/ompgetmaxthreads.rst: |
3d3b561f | 2353 | Add trailing newline. |
1cdfd0e5 | 2354 | * doc/openmp-runtime-library-routines/ompgetnested.rst: |
3d3b561f | 2355 | Add trailing newline. |
1cdfd0e5 | 2356 | * doc/openmp-runtime-library-routines/ompgetnumdevices.rst: |
3d3b561f | 2357 | Add trailing newline. |
1cdfd0e5 | 2358 | * doc/openmp-runtime-library-routines/ompgetnumprocs.rst: |
3d3b561f | 2359 | Add trailing newline. |
1cdfd0e5 | 2360 | * doc/openmp-runtime-library-routines/ompgetnumteams.rst: |
3d3b561f | 2361 | Add trailing newline. |
1cdfd0e5 | 2362 | * doc/openmp-runtime-library-routines/ompgetnumthreads.rst: |
3d3b561f | 2363 | Add trailing newline. |
1cdfd0e5 | 2364 | * doc/openmp-runtime-library-routines/ompgetprocbind.rst: |
3d3b561f | 2365 | Add trailing newline. |
1cdfd0e5 | 2366 | * doc/openmp-runtime-library-routines/ompgetschedule.rst: |
3d3b561f | 2367 | Add trailing newline. |
1cdfd0e5 | 2368 | * doc/openmp-runtime-library-routines/ompgetsupportedactivelevels.rst: |
3d3b561f | 2369 | Add trailing newline. |
1cdfd0e5 | 2370 | * doc/openmp-runtime-library-routines/ompgetteamnum.rst: |
3d3b561f | 2371 | Add trailing newline. |
1cdfd0e5 | 2372 | * doc/openmp-runtime-library-routines/ompgetteamsize.rst: |
3d3b561f | 2373 | Add trailing newline. |
1cdfd0e5 | 2374 | * doc/openmp-runtime-library-routines/ompgetteamsthreadlimit.rst: |
3d3b561f | 2375 | Add trailing newline. |
1cdfd0e5 | 2376 | * doc/openmp-runtime-library-routines/ompgetthreadlimit.rst: |
3d3b561f | 2377 | Add trailing newline. |
1cdfd0e5 | 2378 | * doc/openmp-runtime-library-routines/ompgetthreadnum.rst: |
3d3b561f | 2379 | Add trailing newline. |
1cdfd0e5 | 2380 | * doc/openmp-runtime-library-routines/ompgetwtick.rst: |
3d3b561f | 2381 | Add trailing newline. |
1cdfd0e5 | 2382 | * doc/openmp-runtime-library-routines/ompgetwtime.rst: |
3d3b561f | 2383 | Add trailing newline. |
1cdfd0e5 | 2384 | * doc/openmp-runtime-library-routines/ompinfinal.rst: |
3d3b561f | 2385 | Add trailing newline. |
1cdfd0e5 | 2386 | * doc/openmp-runtime-library-routines/ompinitlock.rst: |
3d3b561f | 2387 | Add trailing newline. |
1cdfd0e5 | 2388 | * doc/openmp-runtime-library-routines/ompinitnestlock.rst: |
3d3b561f | 2389 | Add trailing newline. |
1cdfd0e5 | 2390 | * doc/openmp-runtime-library-routines/ompinparallel.rst: |
3d3b561f | 2391 | Add trailing newline. |
1cdfd0e5 | 2392 | * doc/openmp-runtime-library-routines/ompisinitialdevice.rst: |
3d3b561f | 2393 | Add trailing newline. |
1cdfd0e5 | 2394 | * doc/openmp-runtime-library-routines/ompsetdefaultdevice.rst: |
3d3b561f | 2395 | Add trailing newline. |
1cdfd0e5 | 2396 | * doc/openmp-runtime-library-routines/ompsetdynamic.rst: |
3d3b561f | 2397 | Add trailing newline. |
1cdfd0e5 | 2398 | * doc/openmp-runtime-library-routines/ompsetlock.rst: |
3d3b561f | 2399 | Add trailing newline. |
1cdfd0e5 | 2400 | * doc/openmp-runtime-library-routines/ompsetmaxactivelevels.rst: |
3d3b561f | 2401 | Add trailing newline. |
1cdfd0e5 | 2402 | * doc/openmp-runtime-library-routines/ompsetnested.rst: |
3d3b561f | 2403 | Add trailing newline. |
1cdfd0e5 | 2404 | * doc/openmp-runtime-library-routines/ompsetnestlock.rst: |
3d3b561f | 2405 | Add trailing newline. |
1cdfd0e5 | 2406 | * doc/openmp-runtime-library-routines/ompsetnumteams.rst: |
3d3b561f | 2407 | Add trailing newline. |
1cdfd0e5 | 2408 | * doc/openmp-runtime-library-routines/ompsetnumthreads.rst: |
3d3b561f | 2409 | Add trailing newline. |
1cdfd0e5 | 2410 | * doc/openmp-runtime-library-routines/ompsetschedule.rst: |
3d3b561f | 2411 | Add trailing newline. |
1cdfd0e5 | 2412 | * doc/openmp-runtime-library-routines/ompsetteamsthreadlimit.rst: |
3d3b561f | 2413 | Add trailing newline. |
1cdfd0e5 | 2414 | * doc/openmp-runtime-library-routines/omptestlock.rst: |
3d3b561f | 2415 | Add trailing newline. |
1cdfd0e5 | 2416 | * doc/openmp-runtime-library-routines/omptestnestlock.rst: |
3d3b561f | 2417 | Add trailing newline. |
1cdfd0e5 | 2418 | * doc/openmp-runtime-library-routines/ompunsetlock.rst: |
3d3b561f | 2419 | Add trailing newline. |
1cdfd0e5 | 2420 | * doc/openmp-runtime-library-routines/ompunsetnestlock.rst: |
3d3b561f | 2421 | Add trailing newline. |
1cdfd0e5 | 2422 | * doc/reporting-bugs.rst: |
3d3b561f | 2423 | Add trailing newline. |
1cdfd0e5 | 2424 | * doc/the-libgomp-abi.rst: |
3d3b561f | 2425 | Add trailing newline. |
1cdfd0e5 | 2426 | * doc/the-libgomp-abi/implementing-atomic-construct.rst: |
3d3b561f | 2427 | Add trailing newline. |
1cdfd0e5 | 2428 | * doc/the-libgomp-abi/implementing-barrier-construct.rst: |
3d3b561f | 2429 | Add trailing newline. |
1cdfd0e5 | 2430 | * doc/the-libgomp-abi/implementing-critical-construct.rst: |
3d3b561f | 2431 | Add trailing newline. |
1cdfd0e5 | 2432 | * doc/the-libgomp-abi/implementing-firstprivate-lastprivate-copyin-and-copyprivate-clauses.rst: |
3d3b561f | 2433 | Add trailing newline. |
1cdfd0e5 | 2434 | * doc/the-libgomp-abi/implementing-flush-construct.rst: |
3d3b561f | 2435 | Add trailing newline. |
1cdfd0e5 | 2436 | * doc/the-libgomp-abi/implementing-for-construct.rst: |
3d3b561f | 2437 | Add trailing newline. |
1cdfd0e5 | 2438 | * doc/the-libgomp-abi/implementing-master-construct.rst: |
3d3b561f | 2439 | Add trailing newline. |
1cdfd0e5 | 2440 | * doc/the-libgomp-abi/implementing-openaccs-parallel-construct.rst: |
3d3b561f | 2441 | Add trailing newline. |
1cdfd0e5 | 2442 | * doc/the-libgomp-abi/implementing-ordered-construct.rst: |
3d3b561f | 2443 | Add trailing newline. |
1cdfd0e5 | 2444 | * doc/the-libgomp-abi/implementing-parallel-construct.rst: |
3d3b561f | 2445 | Add trailing newline. |
1cdfd0e5 | 2446 | * doc/the-libgomp-abi/implementing-private-clause.rst: |
3d3b561f | 2447 | Add trailing newline. |
1cdfd0e5 | 2448 | * doc/the-libgomp-abi/implementing-reduction-clause.rst: |
3d3b561f | 2449 | Add trailing newline. |
1cdfd0e5 | 2450 | * doc/the-libgomp-abi/implementing-sections-construct.rst: |
3d3b561f | 2451 | Add trailing newline. |
1cdfd0e5 | 2452 | * doc/the-libgomp-abi/implementing-single-construct.rst: |
3d3b561f | 2453 | Add trailing newline. |
1cdfd0e5 | 2454 | * doc/the-libgomp-abi/implementing-threadprivate-construct.rst: |
3d3b561f | 2455 | Add trailing newline. |
1cdfd0e5 GA |
2456 | |
2457 | 2022-11-09 Martin Liska <mliska@suse.cz> | |
2458 | ||
2459 | * Makefile.in: Build info pages conditionally. | |
2460 | ||
2461 | 2022-11-09 Martin Liska <mliska@suse.cz> | |
2462 | ||
2463 | * Makefile.in: Support --with-sphinx-build. | |
2464 | * configure.ac: Likewise.. | |
2465 | * configure: Regenerate. | |
2466 | ||
2467 | 2022-11-09 Martin Liska <mliska@suse.cz> | |
2468 | ||
2469 | * libgomp.texi: Removed. | |
2470 | ||
2471 | 2022-11-09 Martin Liska <mliska@suse.cz> | |
2472 | ||
2473 | * Makefile.in: Support Sphinx based documentation. | |
2474 | ||
2475 | 2022-11-09 Martin Liska <mliska@suse.cz> | |
2476 | ||
2477 | * doc/amd-radeon-gcn.rst: New file. | |
2478 | * doc/conf.py: New file. | |
2479 | * doc/copyright.rst: New file. | |
2480 | * doc/cuda-streams-usage.rst: New file. | |
2481 | * doc/enabling-openacc.rst: New file. | |
2482 | * doc/enabling-openmp.rst: New file. | |
2483 | * doc/first-invocation-nvidia-cublas-library-api.rst: New file. | |
2484 | * doc/first-invocation-openacc-library-api.rst: New file. | |
2485 | * doc/funding.rst: New file. | |
2486 | * doc/general-public-license-3.rst: New file. | |
2487 | * doc/gnu-free-documentation-license.rst: New file. | |
2488 | * doc/implementation-status-and-implementation-defined-behavior.rst: New file. | |
2489 | * doc/index.rst: New file. | |
2490 | * doc/indices-and-tables.rst: New file. | |
2491 | * doc/introduction.rst: New file. | |
2492 | * doc/memory-allocation-with-libmemkind.rst: New file. | |
2493 | * doc/nvptx.rst: New file. | |
2494 | * doc/offload-target-specifics.rst: New file. | |
2495 | * doc/openacc-environment-variables.rst: New file. | |
2496 | * doc/openacc-environment-variables/accdevicenum.rst: New file. | |
2497 | * doc/openacc-environment-variables/accdevicetype.rst: New file. | |
2498 | * doc/openacc-environment-variables/accproflib.rst: New file. | |
2499 | * doc/openacc-environment-variables/gccaccnotify.rst: New file. | |
2500 | * doc/openacc-introduction.rst: New file. | |
2501 | * doc/openacc-library-and-environment-variables.rst: New file. | |
2502 | * doc/openacc-library-interoperability.rst: New file. | |
2503 | * doc/openacc-profiling-interface.rst: New file. | |
2504 | * doc/openacc-runtime-library-routines.rst: New file. | |
2505 | * doc/openacc-runtime-library-routines/accasynctest.rst: New file. | |
2506 | * doc/openacc-runtime-library-routines/accasynctestall.rst: New file. | |
2507 | * doc/openacc-runtime-library-routines/accattach.rst: New file. | |
2508 | * doc/openacc-runtime-library-routines/acccopyin.rst: New file. | |
2509 | * doc/openacc-runtime-library-routines/acccopyout.rst: New file. | |
2510 | * doc/openacc-runtime-library-routines/acccreate.rst: New file. | |
2511 | * doc/openacc-runtime-library-routines/accdelete.rst: New file. | |
2512 | * doc/openacc-runtime-library-routines/accdetach.rst: New file. | |
2513 | * doc/openacc-runtime-library-routines/accdeviceptr.rst: New file. | |
2514 | * doc/openacc-runtime-library-routines/accfree.rst: New file. | |
2515 | * doc/openacc-runtime-library-routines/accgetcudastream.rst: New file. | |
2516 | * doc/openacc-runtime-library-routines/accgetcurrentcudacontext.rst: New file. | |
2517 | * doc/openacc-runtime-library-routines/accgetcurrentcudadevice.rst: New file. | |
2518 | * doc/openacc-runtime-library-routines/accgetdevicenum.rst: New file. | |
2519 | * doc/openacc-runtime-library-routines/accgetdevicetype.rst: New file. | |
2520 | * doc/openacc-runtime-library-routines/accgetnumdevices.rst: New file. | |
2521 | * doc/openacc-runtime-library-routines/accgetproperty.rst: New file. | |
2522 | * doc/openacc-runtime-library-routines/acchostptr.rst: New file. | |
2523 | * doc/openacc-runtime-library-routines/accinit.rst: New file. | |
2524 | * doc/openacc-runtime-library-routines/accispresent.rst: New file. | |
2525 | * doc/openacc-runtime-library-routines/accmalloc.rst: New file. | |
2526 | * doc/openacc-runtime-library-routines/accmapdata.rst: New file. | |
2527 | * doc/openacc-runtime-library-routines/accmemcpyfromdevice.rst: New file. | |
2528 | * doc/openacc-runtime-library-routines/accmemcpytodevice.rst: New file. | |
2529 | * doc/openacc-runtime-library-routines/accondevice.rst: New file. | |
2530 | * doc/openacc-runtime-library-routines/accpresentorcopyin.rst: New file. | |
2531 | * doc/openacc-runtime-library-routines/accpresentorcreate.rst: New file. | |
2532 | * doc/openacc-runtime-library-routines/accproflookup.rst: New file. | |
2533 | * doc/openacc-runtime-library-routines/accprofregister.rst: New file. | |
2534 | * doc/openacc-runtime-library-routines/accprofunregister.rst: New file. | |
2535 | * doc/openacc-runtime-library-routines/accregisterlibrary.rst: New file. | |
2536 | * doc/openacc-runtime-library-routines/accsetcudastream.rst: New file. | |
2537 | * doc/openacc-runtime-library-routines/accsetdevicenum.rst: New file. | |
2538 | * doc/openacc-runtime-library-routines/accsetdevicetype.rst: New file. | |
2539 | * doc/openacc-runtime-library-routines/accshutdown.rst: New file. | |
2540 | * doc/openacc-runtime-library-routines/accunmapdata.rst: New file. | |
2541 | * doc/openacc-runtime-library-routines/accupdatedevice.rst: New file. | |
2542 | * doc/openacc-runtime-library-routines/accupdateself.rst: New file. | |
2543 | * doc/openacc-runtime-library-routines/accwait.rst: New file. | |
2544 | * doc/openacc-runtime-library-routines/accwaitall.rst: New file. | |
2545 | * doc/openacc-runtime-library-routines/accwaitallasync.rst: New file. | |
2546 | * doc/openacc-runtime-library-routines/accwaitasync.rst: New file. | |
2547 | * doc/openmp-context-selectors.rst: New file. | |
2548 | * doc/openmp-environment-variables.rst: New file. | |
2549 | * doc/openmp-environment-variables/gompcpuaffinity.rst: New file. | |
2550 | * doc/openmp-environment-variables/gompdebug.rst: New file. | |
2551 | * doc/openmp-environment-variables/gomprtemsthreadpools.rst: New file. | |
2552 | * doc/openmp-environment-variables/gompspincount.rst: New file. | |
2553 | * doc/openmp-environment-variables/gompstacksize.rst: New file. | |
2554 | * doc/openmp-environment-variables/ompcancellation.rst: New file. | |
2555 | * doc/openmp-environment-variables/ompdefaultdevice.rst: New file. | |
2556 | * doc/openmp-environment-variables/ompdisplayenv.rst: New file. | |
2557 | * doc/openmp-environment-variables/ompdynamic.rst: New file. | |
2558 | * doc/openmp-environment-variables/ompmaxactivelevels.rst: New file. | |
2559 | * doc/openmp-environment-variables/ompmaxtaskpriority.rst: New file. | |
2560 | * doc/openmp-environment-variables/ompnested.rst: New file. | |
2561 | * doc/openmp-environment-variables/ompnumteams.rst: New file. | |
2562 | * doc/openmp-environment-variables/ompnumthreads.rst: New file. | |
2563 | * doc/openmp-environment-variables/ompplaces.rst: New file. | |
2564 | * doc/openmp-environment-variables/ompprocbind.rst: New file. | |
2565 | * doc/openmp-environment-variables/ompschedule.rst: New file. | |
2566 | * doc/openmp-environment-variables/ompstacksize.rst: New file. | |
2567 | * doc/openmp-environment-variables/omptargetoffload.rst: New file. | |
2568 | * doc/openmp-environment-variables/ompteamsthreadlimit.rst: New file. | |
2569 | * doc/openmp-environment-variables/ompthreadlimit.rst: New file. | |
2570 | * doc/openmp-environment-variables/ompwaitpolicy.rst: New file. | |
2571 | * doc/openmp-implementation-specifics.rst: New file. | |
2572 | * doc/openmp-implementation-status.rst: New file. | |
2573 | * doc/openmp-implementation-status/openmp-45.rst: New file. | |
2574 | * doc/openmp-implementation-status/openmp-50.rst: New file. | |
2575 | * doc/openmp-implementation-status/openmp-51.rst: New file. | |
2576 | * doc/openmp-implementation-status/openmp-52.rst: New file. | |
2577 | * doc/openmp-runtime-library-routines.rst: New file. | |
2578 | * doc/openmp-runtime-library-routines/ompdestroylock.rst: New file. | |
2579 | * doc/openmp-runtime-library-routines/ompdestroynestlock.rst: New file. | |
2580 | * doc/openmp-runtime-library-routines/ompfulfillevent.rst: New file. | |
2581 | * doc/openmp-runtime-library-routines/ompgetactivelevel.rst: New file. | |
2582 | * doc/openmp-runtime-library-routines/ompgetancestorthreadnum.rst: New file. | |
2583 | * doc/openmp-runtime-library-routines/ompgetcancellation.rst: New file. | |
2584 | * doc/openmp-runtime-library-routines/ompgetdefaultdevice.rst: New file. | |
2585 | * doc/openmp-runtime-library-routines/ompgetdevicenum.rst: New file. | |
2586 | * doc/openmp-runtime-library-routines/ompgetdynamic.rst: New file. | |
2587 | * doc/openmp-runtime-library-routines/ompgetinitialdevice.rst: New file. | |
2588 | * doc/openmp-runtime-library-routines/ompgetlevel.rst: New file. | |
2589 | * doc/openmp-runtime-library-routines/ompgetmaxactivelevels.rst: New file. | |
2590 | * doc/openmp-runtime-library-routines/ompgetmaxtaskpriority.rst: New file. | |
2591 | * doc/openmp-runtime-library-routines/ompgetmaxteams.rst: New file. | |
2592 | * doc/openmp-runtime-library-routines/ompgetmaxthreads.rst: New file. | |
2593 | * doc/openmp-runtime-library-routines/ompgetnested.rst: New file. | |
2594 | * doc/openmp-runtime-library-routines/ompgetnumdevices.rst: New file. | |
2595 | * doc/openmp-runtime-library-routines/ompgetnumprocs.rst: New file. | |
2596 | * doc/openmp-runtime-library-routines/ompgetnumteams.rst: New file. | |
2597 | * doc/openmp-runtime-library-routines/ompgetnumthreads.rst: New file. | |
2598 | * doc/openmp-runtime-library-routines/ompgetprocbind.rst: New file. | |
2599 | * doc/openmp-runtime-library-routines/ompgetschedule.rst: New file. | |
2600 | * doc/openmp-runtime-library-routines/ompgetsupportedactivelevels.rst: New file. | |
2601 | * doc/openmp-runtime-library-routines/ompgetteamnum.rst: New file. | |
2602 | * doc/openmp-runtime-library-routines/ompgetteamsize.rst: New file. | |
2603 | * doc/openmp-runtime-library-routines/ompgetteamsthreadlimit.rst: New file. | |
2604 | * doc/openmp-runtime-library-routines/ompgetthreadlimit.rst: New file. | |
2605 | * doc/openmp-runtime-library-routines/ompgetthreadnum.rst: New file. | |
2606 | * doc/openmp-runtime-library-routines/ompgetwtick.rst: New file. | |
2607 | * doc/openmp-runtime-library-routines/ompgetwtime.rst: New file. | |
2608 | * doc/openmp-runtime-library-routines/ompinfinal.rst: New file. | |
2609 | * doc/openmp-runtime-library-routines/ompinitlock.rst: New file. | |
2610 | * doc/openmp-runtime-library-routines/ompinitnestlock.rst: New file. | |
2611 | * doc/openmp-runtime-library-routines/ompinparallel.rst: New file. | |
2612 | * doc/openmp-runtime-library-routines/ompisinitialdevice.rst: New file. | |
2613 | * doc/openmp-runtime-library-routines/ompsetdefaultdevice.rst: New file. | |
2614 | * doc/openmp-runtime-library-routines/ompsetdynamic.rst: New file. | |
2615 | * doc/openmp-runtime-library-routines/ompsetlock.rst: New file. | |
2616 | * doc/openmp-runtime-library-routines/ompsetmaxactivelevels.rst: New file. | |
2617 | * doc/openmp-runtime-library-routines/ompsetnested.rst: New file. | |
2618 | * doc/openmp-runtime-library-routines/ompsetnestlock.rst: New file. | |
2619 | * doc/openmp-runtime-library-routines/ompsetnumteams.rst: New file. | |
2620 | * doc/openmp-runtime-library-routines/ompsetnumthreads.rst: New file. | |
2621 | * doc/openmp-runtime-library-routines/ompsetschedule.rst: New file. | |
2622 | * doc/openmp-runtime-library-routines/ompsetteamsthreadlimit.rst: New file. | |
2623 | * doc/openmp-runtime-library-routines/omptestlock.rst: New file. | |
2624 | * doc/openmp-runtime-library-routines/omptestnestlock.rst: New file. | |
2625 | * doc/openmp-runtime-library-routines/ompunsetlock.rst: New file. | |
2626 | * doc/openmp-runtime-library-routines/ompunsetnestlock.rst: New file. | |
2627 | * doc/reporting-bugs.rst: New file. | |
2628 | * doc/the-libgomp-abi.rst: New file. | |
2629 | * doc/the-libgomp-abi/implementing-atomic-construct.rst: New file. | |
2630 | * doc/the-libgomp-abi/implementing-barrier-construct.rst: New file. | |
2631 | * doc/the-libgomp-abi/implementing-critical-construct.rst: New file. | |
2632 | * doc/the-libgomp-abi/implementing-firstprivate-lastprivate-copyin-and-copyprivate-clauses.rst: | |
2633 | New file. | |
2634 | * doc/the-libgomp-abi/implementing-flush-construct.rst: New file. | |
2635 | * doc/the-libgomp-abi/implementing-for-construct.rst: New file. | |
2636 | * doc/the-libgomp-abi/implementing-master-construct.rst: New file. | |
2637 | * doc/the-libgomp-abi/implementing-openaccs-parallel-construct.rst: New file. | |
2638 | * doc/the-libgomp-abi/implementing-ordered-construct.rst: New file. | |
2639 | * doc/the-libgomp-abi/implementing-parallel-construct.rst: New file. | |
2640 | * doc/the-libgomp-abi/implementing-private-clause.rst: New file. | |
2641 | * doc/the-libgomp-abi/implementing-reduction-clause.rst: New file. | |
2642 | * doc/the-libgomp-abi/implementing-sections-construct.rst: New file. | |
2643 | * doc/the-libgomp-abi/implementing-single-construct.rst: New file. | |
2644 | * doc/the-libgomp-abi/implementing-threadprivate-construct.rst: New file. | |
2645 | ||
89d0a14a JJ |
2646 | 2022-11-04 Thomas Schwinge <thomas@codesourcery.com> |
2647 | ||
2648 | * libgomp-plugin.h (OFFLOAD_TARGET_TYPE_INTEL_MIC): Remove. | |
2649 | * libgomp.texi (OpenMP Context Selectors): Remove Intel MIC | |
2650 | documentation. | |
2651 | * plugin/configfrag.ac <enable_offload_targets> | |
2652 | [*-intelmic-* | *-intelmicemul-*]: Remove. | |
2653 | * configure: Regenerate. | |
2654 | * testsuite/lib/libgomp.exp (libgomp_init): Remove 'liboffloadmic' | |
2655 | handling. | |
2656 | (offload_target_to_openacc_device_type) | |
2657 | [$offload_target = *-intelmic*]: Remove. | |
2658 | (check_effective_target_offload_device_intel_mic) | |
2659 | (check_effective_target_offload_device_any_intel_mic): Remove. | |
2660 | * testsuite/libgomp.c-c++-common/on_device_arch.h | |
2661 | (device_arch_intel_mic, on_device_arch_intel_mic, any_device_arch) | |
2662 | (any_device_arch_intel_mic): Remove. | |
2663 | * testsuite/libgomp.c-c++-common/target-45.c: Remove | |
2664 | 'offload_device_any_intel_mic' XFAIL. | |
2665 | * testsuite/libgomp.fortran/target10.f90: Likewise. | |
2666 | ||
d29260ce GA |
2667 | 2022-11-03 Tobias Burnus <tobias@codesourcery.com> |
2668 | ||
2669 | * testsuite/libgomp.fortran/target-11.f90: New test. | |
2670 | * testsuite/libgomp.fortran/target-13.f90: New test. | |
2671 | ||
58035eee GA |
2672 | 2022-11-02 Thomas Schwinge <thomas@codesourcery.com> |
2673 | ||
2674 | PR libgomp/106643 | |
2675 | PR fortran/96668 | |
2676 | * oacc-mem.c (goacc_enter_data_internal): Support | |
2677 | OpenACC 'declare create' with Fortran allocatable arrays, part II. | |
2678 | * testsuite/libgomp.oacc-fortran/declare-allocatable-array_descriptor-1-directive.f90: | |
2679 | Adjust. | |
2680 | * testsuite/libgomp.oacc-fortran/pr106643-1.f90: New. | |
2681 | ||
2682 | 2022-11-02 Thomas Schwinge <thomas@codesourcery.com> | |
2683 | ||
2684 | PR libgomp/106643 | |
2685 | * oacc-mem.c (goacc_enter_data_internal): Support | |
2686 | OpenACC 'declare create' with Fortran allocatable arrays, part I. | |
2687 | * testsuite/libgomp.oacc-fortran/declare-allocatable-1-directive.f90: | |
2688 | New. | |
2689 | * testsuite/libgomp.oacc-fortran/declare-allocatable-array_descriptor-1-directive.f90: | |
2690 | New. | |
2691 | ||
2692 | 2022-11-02 Thomas Schwinge <thomas@codesourcery.com> | |
2693 | ||
2694 | * testsuite/libgomp.oacc-fortran/declare-allocatable-array_descriptor-1-runtime.f90: | |
2695 | New. | |
2696 | ||
2697 | 2022-11-02 Thomas Schwinge <thomas@codesourcery.com> | |
2698 | ||
2699 | * testsuite/libgomp.oacc-fortran/declare-allocatable-1-runtime.f90: | |
2700 | New. | |
2701 | ||
2702 | 2022-11-02 Cesar Philippidis <cesar@codesourcery.com> | |
2703 | Thomas Schwinge <thomas@codesourcery.com> | |
2704 | ||
2705 | * testsuite/libgomp.oacc-fortran/declare-allocatable-1.f90: New. | |
2706 | ||
3055829a GA |
2707 | 2022-10-28 Julian Brown <julian@codesourcery.com> |
2708 | Thomas Schwinge <thomas@codesourcery.com> | |
2709 | ||
2710 | PR middle-end/90115 | |
2711 | * testsuite/libgomp.oacc-fortran/declare-1.f90: Adjust scan output. | |
2712 | * testsuite/libgomp.oacc-fortran/host_data-5.F90: Likewise. | |
2713 | * testsuite/libgomp.oacc-fortran/if-1.f90: Likewise. | |
2714 | * testsuite/libgomp.oacc-fortran/print-1.f90: Likewise. | |
2715 | * testsuite/libgomp.oacc-fortran/privatized-ref-2.f90: Likewise. | |
2716 | ||
4e939ae1 GA |
2717 | 2022-10-24 Thomas Schwinge <thomas@codesourcery.com> |
2718 | ||
2719 | * plugin/plugin-nvptx.c (nvptx_open_device): Initialize | |
2720 | 'ptx_dev->rev_data'. | |
2721 | ||
2722 | 2022-10-24 Tobias Burnus <tobias@codesourcery.com> | |
2723 | ||
2724 | * config/nvptx/icv-device.c (GOMP_DEVICE_NUM_VAR): Remove | |
2725 | 'static' for this variable. | |
2726 | * config/nvptx/libgomp-nvptx.h: New file. | |
2727 | * config/nvptx/target.c: Include it. | |
2728 | (GOMP_ADDITIONAL_ICVS): Declare extern var. | |
2729 | (GOMP_REV_OFFLOAD_VAR): Declare var. | |
2730 | (GOMP_target_ext): Handle reverse offload. | |
2731 | * libgomp-plugin.h (GOMP_PLUGIN_target_rev): New prototype. | |
2732 | * libgomp-plugin.c (GOMP_PLUGIN_target_rev): New, call ... | |
2733 | * target.c (gomp_target_rev): ... this new stub function. | |
2734 | * libgomp.h (gomp_target_rev): Declare. | |
2735 | * libgomp.map (GOMP_PLUGIN_1.4): New; add GOMP_PLUGIN_target_rev. | |
2736 | * plugin/cuda-lib.def (cuMemHostAlloc): Add. | |
2737 | * plugin/plugin-nvptx.c: Include libgomp-nvptx.h. | |
2738 | (struct ptx_device): Add rev_data member. | |
2739 | (nvptx_open_device): Remove async_engines query, last used in | |
2740 | r10-304-g1f4c5b9b; add unified-address assert check. | |
2741 | (GOMP_OFFLOAD_get_num_devices): Claim unified address | |
2742 | support. | |
2743 | (GOMP_OFFLOAD_load_image): Free rev_fn_table if no | |
2744 | offload functions exist. Make offload var available | |
2745 | on host and device. | |
2746 | (rev_off_dev_to_host_cpy, rev_off_host_to_dev_cpy): New. | |
2747 | (GOMP_OFFLOAD_run): Handle reverse offload. | |
2748 | ||
10439719 GA |
2749 | 2022-10-21 Thomas Schwinge <thomas@codesourcery.com> |
2750 | ||
2751 | PR tree-optimization/107195 | |
2752 | PR target/107344 | |
2753 | * testsuite/libgomp.oacc-c-c++-common/nvptx-sese-1.c: Restore SESE | |
2754 | regions checking. | |
2755 | ||
47a6ae56 GA |
2756 | 2022-10-20 Tobias Burnus <tobias@codesourcery.com> |
2757 | ||
2758 | * testsuite/lib/libgomp.exp (check_effective_target_offload_device_gcn): | |
2759 | New. | |
2760 | * testsuite/libgomp.c-c++-common/on_device_arch.h (device_arch_gcn, | |
2761 | on_device_arch_gcn): New. | |
2762 | * testsuite/libgomp.c-c++-common/requires-4a.c: New test; copied from | |
2763 | requires-4.c but using heap-allocated memory. | |
2764 | ||
2765 | 2022-10-20 Thomas Schwinge <thomas@codesourcery.com> | |
2766 | ||
2767 | PR target/105421 | |
2768 | * testsuite/libgomp.oacc-c-c++-common/private-big-1.c: New. | |
2769 | ||
6237663c GA |
2770 | 2022-10-17 Thomas Schwinge <thomas@codesourcery.com> |
2771 | ||
2772 | * testsuite/libgomp.c/reverse-offload-sm30.c: Fix nvptx-specific | |
2773 | '-foffload-options' syntax. | |
2774 | ||
621a911d GA |
2775 | 2022-10-13 Tobias Burnus <tobias@codesourcery.com> |
2776 | ||
2777 | * testsuite/libgomp.fortran/task-7.f90: New test. | |
2778 | * testsuite/libgomp.fortran/task-8.f90: New test. | |
2779 | * testsuite/libgomp.fortran/task-in-explicit-1.f90: New test. | |
2780 | * testsuite/libgomp.fortran/task-in-explicit-2.f90: New test. | |
2781 | * testsuite/libgomp.fortran/task-in-explicit-3.f90: New test. | |
2782 | * testsuite/libgomp.fortran/task-reduction-17.f90: New test. | |
2783 | * testsuite/libgomp.fortran/task-reduction-18.f90: New test. | |
2784 | ||
781f477a GA |
2785 | 2022-10-12 Jakub Jelinek <jakub@redhat.com> |
2786 | ||
2787 | * libgomp.texi (OpenMP 5.2): Fix up allocator -> allocate directive | |
2788 | in deprecation bullet. | |
2789 | ||
2790 | 2022-10-12 Jakub Jelinek <jakub@redhat.com> | |
2791 | ||
2792 | * omp.h.in (omp_in_explicit_task): Declare. | |
2793 | * omp_lib.h.in (omp_in_explicit_task): Likewise. | |
2794 | * omp_lib.f90.in (omp_in_explicit_task): New interface. | |
2795 | * libgomp.map (OMP_5.2): New symbol version, export | |
2796 | omp_in_explicit_task and omp_in_explicit_task_. | |
2797 | * task.c (omp_in_explicit_task): New function. | |
2798 | * fortran.c (omp_in_explicit_task): Add ialias_redirect. | |
2799 | (omp_in_explicit_task_): New function. | |
2800 | * libgomp.texi (OpenMP 5.2): Mark omp_in_explicit_task as implemented. | |
2801 | * testsuite/libgomp.c-c++-common/task-in-explicit-1.c: New test. | |
2802 | * testsuite/libgomp.c-c++-common/task-in-explicit-2.c: New test. | |
2803 | * testsuite/libgomp.c-c++-common/task-in-explicit-3.c: New test. | |
2804 | ||
2805 | 2022-10-12 Jakub Jelinek <jakub@redhat.com> | |
2806 | ||
2807 | * task.c (gomp_create_artificial_team): Fix up handling of invocations | |
2808 | from within explicit task. | |
2809 | * target.c (GOMP_target_ext): Likewise. | |
2810 | * testsuite/libgomp.c/task-7.c: New test. | |
2811 | * testsuite/libgomp.c/task-8.c: New test. | |
2812 | * testsuite/libgomp.c-c++-common/task-reduction-17.c: New test. | |
2813 | * testsuite/libgomp.c-c++-common/task-reduction-18.c: New test. | |
2814 | ||
2815 | 2022-10-12 Martin Liska <mliska@suse.cz> | |
2816 | ||
2817 | * configure: Regenerate. | |
2818 | ||
ab332cd7 GA |
2819 | 2022-10-11 Olivier Hainque <hainque@adacore.com> |
2820 | Olivier Hainque <hainque@adacore.com> | |
2821 | ||
2822 | * configure: Regenerate. | |
2823 | ||
966010b2 GA |
2824 | 2022-10-05 Tobias Burnus <tobias@codesourcery.com> |
2825 | ||
2826 | * libgomp.texi (OpenMP 5.1 Impl. Status): Mark 'assume' as 'Y'. | |
2827 | ||
85872a69 GA |
2828 | 2022-10-04 Jakub Jelinek <jakub@redhat.com> |
2829 | ||
2830 | * libgomp.texi (Support begin/end declare target syntax in C/C++): | |
2831 | Mark as implemented. | |
2832 | ||
3a221b73 GA |
2833 | 2022-09-30 Tobias Burnus <tobias@codesourcery.com> |
2834 | ||
2835 | PR fortran/105318 | |
2836 | * testsuite/libgomp.fortran/is_device_ptr-2.f90: New test. | |
2837 | ||
9e79a25b GA |
2838 | 2022-09-28 Tobias Burnus <tobias@codesourcery.com> |
2839 | ||
2840 | * libgomp.texi (OpenMP 5.1): Mark 'assume' as implemented | |
2841 | for C/C++. Remove duplicated 'begin declare target' entry. | |
2842 | ||
28a61ecd GA |
2843 | 2022-09-24 Jakub Jelinek <jakub@redhat.com> |
2844 | ||
2845 | PR c/106981 | |
2846 | * testsuite/libgomp.c-c++-common/pr106981.c: New test. | |
2847 | ||
ff822367 GA |
2848 | 2022-09-14 Julian Brown <julian@codesourcery.com> |
2849 | ||
2850 | * testsuite/libgomp.oacc-c-c++-common/deep-copy-15.c: New test. | |
2851 | * testsuite/libgomp.oacc-c-c++-common/deep-copy-16.c: New test. | |
2852 | * testsuite/libgomp.oacc-c++/deep-copy-17.C: New test. | |
2853 | * testsuite/libgomp.oacc-c-c++-common/deep-copy-arrayofstruct.c: Move | |
2854 | test to here, make "run" test. | |
2855 | ||
1995a022 GA |
2856 | 2022-09-13 Jakub Jelinek <jakub@redhat.com> |
2857 | ||
2858 | PR libgomp/106906 | |
2859 | * env.c (get_icv_member_addr): Cast false to void * before assigning | |
2860 | it to icv_addr[1], and comment the whole assignment out. | |
2861 | ||
2862 | 2022-09-13 Tobias Burnus <tobias@codesourcery.com> | |
2863 | ||
2864 | * libgomp.texi (gcn): Move misplaced -march=sm_30 remark to ... | |
2865 | (nvptx): ... here. | |
2866 | ||
b5f09bd7 GA |
2867 | 2022-09-12 Tobias Burnus <tobias@codesourcery.com> |
2868 | ||
2869 | * libgomp.texi (Offload-Target Specifics: nvptx): Document | |
2870 | that reverse offload requires >= -march=sm_35. | |
2871 | * testsuite/libgomp.c-c++-common/requires-4.c: Build for nvptx | |
2872 | with -misa=sm_35. | |
2873 | * testsuite/libgomp.c-c++-common/requires-5.c: Likewise. | |
2874 | * testsuite/libgomp.c-c++-common/requires-6.c: Likewise. | |
2875 | * testsuite/libgomp.c-c++-common/reverse-offload-1.c: Likewise. | |
2876 | * testsuite/libgomp.fortran/reverse-offload-1.f90: Likewise. | |
2877 | * testsuite/libgomp.c/reverse-offload-sm30.c: New test. | |
2878 | ||
2879 | 2022-09-12 Tobias Burnus <tobias@codesourcery.com> | |
2880 | ||
2881 | * libgomp.texi (OpenMP 5.1 Impl. Status): Add two new minor items. | |
2882 | (OpenMP 5.2 Impl. Status): Improve omp/omx/ompx wording. | |
2883 | ||
2884 | 2022-09-12 Jakub Jelinek <jakub@redhat.com> | |
2885 | ||
2886 | PR libgomp/106894 | |
2887 | * testsuite/libgomp.c-c++-common/icv-6.c: Include string.h. | |
2888 | (main): Avoid tests for which corresponding non-_ALL suffixed variable | |
2889 | is in the environment, or for OMP_NUM_TEAMS on the device | |
2890 | OMP_NUM_TEAMS_DEV_?. | |
2891 | ||
5b3496e2 GA |
2892 | 2022-09-10 Iain Sandoe <iain@sandoe.co.uk> |
2893 | ||
2894 | * env.c (initialize_env): Include libiberty environ.h. | |
2895 | ||
861d1a11 GA |
2896 | 2022-09-09 Tobias Burnus <tobias@codesourcery.com> |
2897 | ||
2898 | * plugin/plugin-nvptx.c (GOMP_OFFLOAD_load_image): Read offload | |
2899 | function address table '$offload_func_table' if rev_fn_table | |
2900 | is not NULL. | |
2901 | ||
2902 | 2022-09-09 Tobias Burnus <tobias@codesourcery.com> | |
2903 | ||
2904 | * plugin/plugin-gcn.c (GOMP_OFFLOAD_load_image): Read | |
2905 | .offload_func_table to populate rev_fn_table when requested. | |
2906 | ||
2907 | 2022-09-09 Tobias Burnus <tobias@codesourcery.com> | |
2908 | ||
2909 | * libgomp-plugin.h (GOMP_OFFLOAD_load_image): Add | |
2910 | 'uint64_t **rev_fn_table' argument. | |
2911 | * oacc-host.c (host_load_image): Likewise. | |
2912 | * plugin/plugin-gcn.c (GOMP_OFFLOAD_load_image): Likewise; | |
2913 | currently unused. | |
2914 | * plugin/plugin-nvptx.c (GOMP_OFFLOAD_load_image): Likewise. | |
2915 | * target.c (gomp_load_image_to_device): Update call but pass | |
2916 | NULL for now. | |
2917 | ||
2918 | 2022-09-09 Jakub Jelinek <jakub@redhat.com> | |
2919 | ||
2920 | PR libgomp/106894 | |
2921 | * env.c (initialize_env) <case PARSE_BIND>: Use char ** instead of | |
2922 | char * for dest[1] initialization from params[1]. Formatting fixes. | |
2923 | ||
2e7ad70c GA |
2924 | 2022-09-08 Tobias Burnus <tobias@codesourcery.com> |
2925 | ||
2926 | PR fortran/106670 | |
2927 | * libgomp.texi (OpenMP 5.2): Add comment to ompx/omx entry. | |
2928 | ||
2929 | 2022-09-08 Tobias Burnus <tobias@codesourcery.com> | |
2930 | ||
2931 | * libgomp.texi (OpenMP-Implementation Specifics): New; add libmemkind | |
2932 | section; move OpenMP Context Selectors from ... | |
2933 | (Offload-Target Specifics): ... here; add 'AMD Radeo (GCN)' and | |
2934 | 'nvptx' sections. | |
2935 | ||
2936 | 2022-09-08 Marcel Vollweiler <marcel@codesourcery.com> | |
2937 | ||
2938 | * config/gcn/icv-device.c (omp_get_default_device): Return device- | |
2939 | specific ICV. | |
2940 | (omp_get_max_teams): Added for GCN devices. | |
2941 | (omp_set_num_teams): Likewise. | |
2942 | (ialias): Likewise. | |
2943 | * config/nvptx/icv-device.c (omp_get_default_device): Return device- | |
2944 | specific ICV. | |
2945 | (omp_get_max_teams): Added for NVPTX devices. | |
2946 | (omp_set_num_teams): Likewise. | |
2947 | (ialias): Likewise. | |
2948 | * env.c (struct gomp_icv_list): New struct to store entries of initial | |
2949 | ICV values. | |
2950 | (struct gomp_offload_icv_list): New struct to store entries of device- | |
2951 | specific ICV values that are copied to the device and back. | |
2952 | (struct gomp_default_icv_values): New struct to store default values of | |
2953 | ICVs according to the OpenMP standard. | |
2954 | (parse_schedule): Generalized for different variants of OMP_SCHEDULE. | |
2955 | (print_env_var_error): Function that prints an error for invalid values | |
2956 | for ICVs. | |
2957 | (parse_unsigned_long_1): Removed getenv. Generalized. | |
2958 | (parse_unsigned_long): Likewise. | |
2959 | (parse_int_1): Likewise. | |
2960 | (parse_int): Likewise. | |
2961 | (parse_int_secure): Likewise. | |
2962 | (parse_unsigned_long_list): Likewise. | |
2963 | (parse_target_offload): Likewise. | |
2964 | (parse_bind_var): Likewise. | |
2965 | (parse_stacksize): Likewise. | |
2966 | (parse_boolean): Likewise. | |
2967 | (parse_wait_policy): Likewise. | |
2968 | (parse_allocator): Likewise. | |
2969 | (omp_display_env): Extended to output different variants of environment | |
2970 | variables. | |
2971 | (print_schedule): New helper function for omp_display_env which prints | |
2972 | the values of run_sched_var. | |
2973 | (print_proc_bind): New helper function for omp_display_env which prints | |
2974 | the values of proc_bind_var. | |
2975 | (enum gomp_parse_type): Collection of types used for parsing environment | |
2976 | variables. | |
2977 | (ENTRY): Preprocess string lengths of environment variables. | |
2978 | (OMP_VAR_CNT): Preprocess table size. | |
2979 | (OMP_HOST_VAR_CNT): Likewise. | |
2980 | (INT_MAX_STR_LEN): Constant for the maximal number of digits of a device | |
2981 | number. | |
2982 | (gomp_get_icv_flag): Returns if a flag for a particular ICV is set. | |
2983 | (gomp_set_icv_flag): Sets a flag for a particular ICV. | |
2984 | (print_device_specific_icvs): New helper function for omp_display_env to | |
2985 | print device specific ICV values. | |
2986 | (get_device_num): New helper function for parse_device_specific. | |
2987 | Extracts the device number from an environment variable name. | |
2988 | (get_icv_member_addr): Gets the memory address for a particular member | |
2989 | of an ICV struct. | |
2990 | (gomp_get_initial_icv_item): Get a list item of gomp_initial_icv_list. | |
2991 | (initialize_icvs): New function to initialize a gomp_initial_icvs | |
2992 | struct. | |
2993 | (add_initial_icv_to_list): Adds an ICV struct to gomp_initial_icv_list. | |
2994 | (startswith): Checks if a string starts with a given prefix. | |
2995 | (initialize_env): Extended to parse the new syntax of environment | |
2996 | variables. | |
2997 | * icv-device.c (omp_get_max_teams): Added. | |
2998 | (ialias): Likewise. | |
2999 | (omp_set_num_teams): Likewise. | |
3000 | * icv.c (omp_set_num_teams): Moved to icv-device.c. | |
3001 | (omp_get_max_teams): Likewise. | |
3002 | (ialias): Likewise. | |
3003 | * libgomp-plugin.h (GOMP_DEVICE_NUM_VAR): Removed. | |
3004 | (GOMP_ADDITIONAL_ICVS): New target-side struct that | |
3005 | holds the designated ICVs of the target device. | |
3006 | * libgomp.h (enum gomp_icvs): Collection of ICVs. | |
3007 | (enum gomp_device_num): Definition of device numbers for _ALL, _DEV, and | |
3008 | no suffix. | |
3009 | (enum gomp_env_suffix): Collection of possible suffixes of environment | |
3010 | variables. | |
3011 | (struct gomp_initial_icvs): Contains all ICVs for which we need to store | |
3012 | initial values. | |
3013 | (struct gomp_default_icv):New struct to hold ICVs for which we need | |
3014 | to store initial values. | |
3015 | (struct gomp_icv_list): Definition of a linked list that is used for | |
3016 | storing ICVs for the devices and also for _DEV, _ALL, and without | |
3017 | suffix. | |
3018 | (struct gomp_offload_icvs): New struct to hold ICVs that are copied to | |
3019 | a device. | |
3020 | (struct gomp_offload_icv_list): Definition of a linked list that holds | |
3021 | device-specific ICVs that are copied to devices. | |
3022 | (gomp_get_initial_icv_item): Get a list item of gomp_initial_icv_list. | |
3023 | (gomp_get_icv_flag): Returns if a flag for a particular ICV is set. | |
3024 | * libgomp.texi: Updated. | |
3025 | * plugin/plugin-gcn.c (GOMP_OFFLOAD_load_image): Extended to read | |
3026 | further ICVs from the offload image. | |
3027 | * plugin/plugin-nvptx.c (GOMP_OFFLOAD_load_image): Likewise. | |
3028 | * target.c (gomp_get_offload_icv_item): Get a list item of | |
3029 | gomp_offload_icv_list. | |
3030 | (get_gomp_offload_icvs): New. Returns the ICV values | |
3031 | depending on the device num and the variable hierarchy. | |
3032 | (gomp_load_image_to_device): Extended to copy further ICVs to a device. | |
3033 | * testsuite/libgomp.c-c++-common/icv-5.c: New test. | |
3034 | * testsuite/libgomp.c-c++-common/icv-6.c: New test. | |
3035 | * testsuite/libgomp.c-c++-common/icv-7.c: New test. | |
3036 | * testsuite/libgomp.c-c++-common/icv-8.c: New test. | |
3037 | * testsuite/libgomp.c-c++-common/omp-display-env-1.c: New test. | |
3038 | * testsuite/libgomp.c-c++-common/omp-display-env-2.c: New test. | |
3039 | ||
3040 | 2022-09-08 Jakub Jelinek <jakub@redhat.com> | |
3041 | ||
3042 | * libgomp.texi (OpenMP 5.2): Mention that omp_cur_iteration is now | |
3043 | fully supported. | |
3044 | * testsuite/libgomp.c/doacross-4.c: New test. | |
3045 | * testsuite/libgomp.c/doacross-5.c: New test. | |
3046 | * testsuite/libgomp.c/doacross-6.c: New test. | |
3047 | * testsuite/libgomp.c/doacross-7.c: New test. | |
3048 | ||
47d2dcd1 GA |
3049 | 2022-09-05 Tobias Burnus <tobias@codesourcery.com> |
3050 | ||
3051 | * libgomp.texi (OpenMP 5.2): Update doacross/omp_cur_iteration status. | |
3052 | ||
16f542d6 GA |
3053 | 2022-08-26 Tobias Burnus <tobias@codesourcery.com> |
3054 | ||
3055 | * libgomp.texi (OpenMP 5.0): Mark 'ancestor' as implemented but | |
3056 | refer to 'requires'. | |
3057 | * testsuite/libgomp.c-c++-common/reverse-offload-1-aux.c: New test. | |
3058 | * testsuite/libgomp.c-c++-common/reverse-offload-1.c: New test. | |
3059 | * testsuite/libgomp.fortran/reverse-offload-1-aux.f90: New test. | |
3060 | * testsuite/libgomp.fortran/reverse-offload-1.f90: New test. | |
3061 | ||
0342f034 GA |
3062 | 2022-08-17 Tobias Burnus <tobias@codesourcery.com> |
3063 | ||
3064 | PR middle-end/106548 | |
3065 | * testsuite/libgomp.c/linear-2.c: New test. | |
3066 | ||
3067 | 2022-08-17 Tobias Burnus <tobias@codesourcery.com> | |
3068 | ||
3069 | * splay-tree.h: Fix splay_* macro unsetting if | |
3070 | splay_tree_prefix is defined. | |
3071 | ||
b2bf0473 GA |
3072 | 2022-07-29 Tobias Burnus <tobias@codesourcery.com> |
3073 | ||
3074 | * testsuite/libgomp.c-c++-common/pr106449-2.c: New test. | |
3075 | ||
3076 | 2022-07-29 Jakub Jelinek <jakub@redhat.com> | |
3077 | ||
3078 | PR middle-end/106449 | |
3079 | * testsuite/libgomp.c-c++-common/pr106449.c: New test. | |
3080 | ||
43997608 GA |
3081 | 2022-07-12 Tobias Burnus <tobias@codesourcery.com> |
3082 | ||
3083 | * target.c (gomp_target_init): Added tailing '\n' to gomp_debug. | |
3084 | ||
3085 | 2022-07-12 Thomas Schwinge <thomas@codesourcery.com> | |
3086 | ||
3087 | PR middle-end/101551 | |
3088 | * testsuite/libgomp.oacc-c-c++-common/reduction-5.c: XFAIL | |
3089 | 'offloading_enabled' diagnostics issue. | |
3090 | ||
c72d4714 GA |
3091 | 2022-07-11 Thomas Schwinge <thomas@codesourcery.com> |
3092 | ||
3093 | * testsuite/libgomp.oacc-c-c++-common/reduction-5.c: Enhance | |
3094 | '_Pragma' diagnostics verification. | |
3095 | ||
b53ebbc5 GA |
3096 | 2022-07-10 Lewis Hyatt <lhyatt@gmail.com> |
3097 | ||
3098 | * testsuite/libgomp.oacc-c-c++-common/reduction-5.c: Adapt for | |
3099 | improved warning locations. | |
3100 | * testsuite/libgomp.oacc-c-c++-common/vred2d-128.c: Likewise. | |
3101 | ||
0fe604a2 GA |
3102 | 2022-07-08 Thomas Schwinge <thomas@codesourcery.com> |
3103 | ||
3104 | * testsuite/libgomp.c-c++-common/requires-1.c: Add 'dg-note's. | |
3105 | * testsuite/libgomp.c-c++-common/requires-2.c: Likewise. | |
3106 | * testsuite/libgomp.c-c++-common/requires-3.c: Likewise. | |
3107 | * testsuite/libgomp.c-c++-common/requires-7.c: Likewise. | |
3108 | * testsuite/libgomp.fortran/requires-1.f90: Likewise. | |
3109 | ||
6345c414 GA |
3110 | 2022-07-07 Thomas Schwinge <thomas@codesourcery.com> |
3111 | ||
3112 | * target.c (GOMP_offload_register, GOMP_offload_unregister): | |
3113 | Denote as legacy entry points. | |
3114 | * testsuite/lib/libgomp.exp | |
3115 | (check_effective_target_offload_target_any): New proc. | |
3116 | * testsuite/libgomp.c-c++-common/requires-1.c: Enable for | |
3117 | 'offload_target_any'. | |
3118 | * testsuite/libgomp.c-c++-common/requires-3.c: Likewise. | |
3119 | * testsuite/libgomp.c-c++-common/requires-7.c: Likewise. | |
3120 | * testsuite/libgomp.fortran/requires-1.f90: Likewise. | |
3121 | ||
3122 | 2022-07-07 Thomas Schwinge <thomas@codesourcery.com> | |
3123 | ||
3124 | * testsuite/libgomp.c-c++-common/requires-4.c: Enhance testing. | |
3125 | * testsuite/libgomp.c-c++-common/requires-5.c: Likewise. | |
3126 | ||
3127 | 2022-07-07 Thomas Schwinge <thomas@codesourcery.com> | |
3128 | ||
3129 | * testsuite/libgomp.c-c++-common/requires-3.c: Adjust. | |
3130 | ||
4bc92c3b GA |
3131 | 2022-07-06 Thomas Schwinge <thomas@codesourcery.com> |
3132 | ||
3133 | * target.c (GOMP_offload_register_ver): Clarify 'target_data' -> | |
3134 | 'data'. | |
3135 | (GOMP_offload_unregister_ver): Likewise. Fix up 'target_data'. | |
3136 | ||
8467574d GA |
3137 | 2022-07-04 Tobias Burnus <tobias@codesourcery.com> |
3138 | Jakub Jelinek <jakub@redhat.com> | |
3139 | ||
3140 | * libgomp.texi (OpenMP 5.2): Mark linear-clause change as 'Y'. | |
3141 | ||
3142 | 2022-07-04 Tobias Burnus <tobias@codesourcery.com> | |
3143 | Chung-Lin Tang <cltang@codesourcery.com> | |
3144 | Thomas Schwinge <thomas@codesourcery.com> | |
3145 | ||
3146 | * libgomp-plugin.h (GOMP_OFFLOAD_get_num_devices): Add | |
3147 | omp_requires_mask arg. | |
3148 | * plugin/plugin-gcn.c (GOMP_OFFLOAD_get_num_devices): Likewise; | |
3149 | return -1 when device available but omp_requires_mask != 0. | |
3150 | * plugin/plugin-nvptx.c (GOMP_OFFLOAD_get_num_devices): Likewise. | |
3151 | * oacc-host.c (host_get_num_devices, host_openacc_get_property): | |
3152 | Update call. | |
3153 | * oacc-init.c (resolve_device, acc_init_1, acc_shutdown_1, | |
3154 | goacc_attach_host_thread_to_device, acc_get_num_devices, | |
3155 | acc_set_device_num, get_property_any): Likewise. | |
3156 | * target.c (omp_requires_mask): New global var. | |
3157 | (gomp_requires_to_name): New. | |
3158 | (GOMP_offload_register_ver): Handle passed omp_requires_mask. | |
3159 | (gomp_target_init): Handle omp_requires_mask. | |
3160 | * libgomp.texi (OpenMP 5.0): Update requires impl. status. | |
3161 | (OpenMP 5.1): Add a missed item. | |
3162 | (OpenMP 5.2): Mark linear-clause change as supported in C/C++. | |
3163 | * testsuite/libgomp.c-c++-common/requires-1-aux.c: New test. | |
3164 | * testsuite/libgomp.c-c++-common/requires-1.c: New test. | |
3165 | * testsuite/libgomp.c-c++-common/requires-2-aux.c: New test. | |
3166 | * testsuite/libgomp.c-c++-common/requires-2.c: New test. | |
3167 | * testsuite/libgomp.c-c++-common/requires-3-aux.c: New test. | |
3168 | * testsuite/libgomp.c-c++-common/requires-3.c: New test. | |
3169 | * testsuite/libgomp.c-c++-common/requires-4-aux.c: New test. | |
3170 | * testsuite/libgomp.c-c++-common/requires-4.c: New test. | |
3171 | * testsuite/libgomp.c-c++-common/requires-5-aux.c: New test. | |
3172 | * testsuite/libgomp.c-c++-common/requires-5.c: New test. | |
3173 | * testsuite/libgomp.c-c++-common/requires-6.c: New test. | |
3174 | * testsuite/libgomp.c-c++-common/requires-7-aux.c: New test. | |
3175 | * testsuite/libgomp.c-c++-common/requires-7.c: New test. | |
3176 | * testsuite/libgomp.fortran/requires-1-aux.f90: New test. | |
3177 | * testsuite/libgomp.fortran/requires-1.f90: New test. | |
3178 | ||
ed974488 GA |
3179 | 2022-07-01 Tobias Burnus <tobias@codesourcery.com> |
3180 | ||
3181 | * libgomp.texi (OpenMP 5.2): Mark target enter/exit data | |
3182 | with fromto as implemented. | |
3183 | ||
fb29fdea GA |
3184 | 2022-06-28 Martin Liska <mliska@suse.cz> |
3185 | ||
3186 | * acinclude.m4: Fix typo in mold linker detection. | |
3187 | * Makefile.in: Regenerate. | |
3188 | * configure: Regenerate. | |
3189 | ||
de89b078 GA |
3190 | 2022-06-21 Jakub Jelinek <jakub@redhat.com> |
3191 | Paul Iannetta <piannetta@kalrayinc.com> | |
3192 | ||
3193 | PR libgomp/106045 | |
3194 | * testsuite/libgomp.c/target-31.c: Add private (i) clause. | |
3195 | ||
5a66d7dd GA |
3196 | 2022-06-17 Martin Liska <mliska@suse.cz> |
3197 | ||
3198 | * libgomp.texi: Add table header for new features of | |
3199 | OpenMP 5.2. | |
3200 | ||
499b9c5f GA |
3201 | 2022-06-15 Jakub Jelinek <jakub@redhat.com> |
3202 | ||
3203 | * testsuite/libgomp.c-c++-common/get-mapped-ptr-1.c (main): Initialize | |
3204 | q to ddress of an automatic variable. Use -5 instead of -1 in | |
3205 | omp_get_mapped_ptr call. Add test with omp_initial_device. | |
3206 | * testsuite/libgomp.fortran/get-mapped-ptr-1.f90 (main): Use -5 instead | |
3207 | of -1 in omp_get_mapped_ptr call. Add test with omp_initial_device. | |
3208 | Renumber stop arguments afterwards. | |
3209 | ||
c3642271 GA |
3210 | 2022-06-13 Jakub Jelinek <jakub@redhat.com> |
3211 | ||
3212 | * omp.h.in (omp_initial_device, omp_invalid_device): New enumerators. | |
3213 | * omp_lib.f90.in (omp_initial_device, omp_invalid_device): New | |
3214 | parameters. | |
3215 | * omp_lib.h.in (omp_initial_device, omp_invalid_device): Likewise. | |
3216 | * target.c (resolve_device): Add remapped argument, handle | |
3217 | GOMP_DEVICE_ICV only if remapped is true (and clear remapped), | |
3218 | for negative values, treat GOMP_DEVICE_FALLBACK as fallback only | |
3219 | if remapped, otherwise treat omp_initial_device that way. For | |
3220 | omp_invalid_device, always emit gomp_fatal, even when | |
3221 | OMP_TARGET_OFFLOAD isn't mandatory. | |
3222 | (GOMP_target, GOMP_target_ext, GOMP_target_data, GOMP_target_data_ext, | |
3223 | GOMP_target_update, GOMP_target_update_ext, | |
3224 | GOMP_target_enter_exit_data): Pass true as remapped argument to | |
3225 | resolve_device. | |
3226 | (omp_target_alloc, omp_target_free, omp_target_is_present, | |
3227 | omp_target_memcpy_check, omp_target_associate_ptr, | |
3228 | omp_target_disassociate_ptr, omp_get_mapped_ptr, | |
3229 | omp_target_is_accessible): Pass false as remapped argument to | |
3230 | resolve_device. Treat omp_initial_device the same as | |
3231 | gomp_get_num_devices (). Don't bypass resolve_device calls if | |
3232 | device_num is negative. | |
3233 | (omp_pause_resource): Treat omp_initial_device the same as | |
3234 | gomp_get_num_devices (). Call resolve_device. | |
3235 | * icv-device.c (omp_set_default_device): Always set to device_num | |
3236 | even when it is negative. | |
3237 | * libgomp.texi: Document that Conforming device numbers, | |
3238 | omp_initial_device and omp_invalid_device is implemented. | |
3239 | * testsuite/libgomp.c/target-41.c (main): Add test with | |
3240 | omp_initial_device. | |
3241 | * testsuite/libgomp.c/target-45.c: New test. | |
3242 | * testsuite/libgomp.c/target-46.c: New test. | |
3243 | * testsuite/libgomp.c/target-47.c: New test. | |
3244 | * testsuite/libgomp.c-c++-common/target-is-accessible-1.c (main): Add | |
3245 | test with omp_initial_device. Use -5 instead of -1 for negative value | |
3246 | test. | |
3247 | * testsuite/libgomp.fortran/target-is-accessible-1.f90 (main): | |
3248 | Likewise. Reorder stop numbers. | |
3249 | ||
ef1e4d80 GA |
3250 | 2022-06-10 Jakub Jelinek <jakub@redhat.com> |
3251 | ||
3252 | * allocator.c (gomp_init_memkind): Call dlopen with "libmemkind.so.0" | |
3253 | rather than "libmemkind.so". | |
3254 | ||
3255 | 2022-06-10 Thomas Schwinge <thomas@codesourcery.com> | |
3256 | ||
3257 | * plugin/Makefrag.am: Evaluate 'if PLUGIN_NVPTX_DYNAMIC' to true. | |
3258 | * plugin/configfrag.ac (--with-cuda-driver) | |
3259 | (--with-cuda-driver-include, --with-cuda-driver-lib) | |
3260 | (CUDA_DRIVER_INCLUDE, CUDA_DRIVER_LIB, PLUGIN_NVPTX_CPPFLAGS) | |
3261 | (PLUGIN_NVPTX_LDFLAGS, PLUGIN_NVPTX_LIBS, PLUGIN_NVPTX_DYNAMIC): | |
3262 | Remove. | |
3263 | * testsuite/libgomp-test-support.exp.in (cuda_driver_include) | |
3264 | (cuda_driver_lib): Remove. | |
3265 | * testsuite/lib/libgomp.exp (libgomp_init): Don't consider these. | |
3266 | * Makefile.in: Regenerate. | |
3267 | * configure: Likewise. | |
3268 | * testsuite/Makefile.in: Likewise. | |
3269 | ||
e3bba42f GA |
3270 | 2022-06-09 Jakub Jelinek <jakub@redhat.com> |
3271 | ||
3272 | * config/linux/allocator.c: Fix up #include directive. | |
3273 | ||
3274 | 2022-06-09 Jakub Jelinek <jakub@redhat.com> | |
3275 | ||
3276 | * allocator.c: Include dlfcn.h if LIBGOMP_USE_MEMKIND is defined. | |
3277 | (enum gomp_memkind_kind): New type. | |
3278 | (struct omp_allocator_data): Add memkind field if LIBGOMP_USE_MEMKIND | |
3279 | is defined. | |
3280 | (struct gomp_memkind_data): New type. | |
3281 | (memkind_data, memkind_data_once): New variables. | |
3282 | (gomp_init_memkind, gomp_get_memkind): New functions. | |
3283 | (omp_init_allocator): Initialize data.memkind, don't fail for | |
3284 | omp_high_bw_mem_space if libmemkind supports it. | |
3285 | (omp_aligned_alloc, omp_free, omp_aligned_calloc, omp_realloc): Add | |
3286 | memkind support of LIBGOMP_USE_MEMKIND is defined. | |
3287 | * config/linux/allocator.c: New file. | |
3288 | ||
58b67140 GA |
3289 | 2022-06-03 Tobias Burnus <tobias@codesourcery.com> |
3290 | ||
3291 | * libgomp.texi (OpenMP 5.2): Mark scope w/ firstprivate/allocate as Y. | |
3292 | * testsuite/libgomp.fortran/scope-2.f90: New test. | |
3293 | ||
b168441c GA |
3294 | 2022-06-02 David Malcolm <dmalcolm@redhat.com> |
3295 | ||
3296 | * testsuite/lib/libgomp.exp: Add load_gcc_lib of scansarif.exp. | |
3297 | ||
820ead45 GA |
3298 | 2022-05-31 Jakub Jelinek <jakub@redhat.com> |
3299 | ||
3300 | * testsuite/libgomp.c-c++-common/allocate-1.c (foo): Add testcase for | |
3301 | scope construct with allocate clause. | |
3302 | * testsuite/libgomp.c-c++-common/allocate-3.c (foo): Likewise. | |
3303 | * testsuite/libgomp.c-c++-common/scope-2.c: New test. | |
3304 | ||
37b3b5da GA |
3305 | 2022-05-28 Tobias Burnus <tobias@codesourcery.com> |
3306 | ||
3307 | * libgomp.texi (OpenMP 5.2): Mark 'enter' clause as supported. | |
3308 | * testsuite/libgomp.fortran/declare-target-1.f90: Extend to test | |
3309 | explicit 'to' and 'enter' clause. | |
3310 | * testsuite/libgomp.fortran/declare-target-2.f90: Update accordingly. | |
3311 | ||
3312 | 2022-05-28 Jakub Jelinek <jakub@redhat.com> | |
3313 | ||
3314 | PR libgomp/105745 | |
3315 | * libgomp.h (GOMP_HAVE_EFFICIENT_ALIGNED_ALLOC): Don't define for | |
3316 | defined(HAVE__ALIGNED_MALLOC) case. | |
3317 | * alloc.c (gomp_aligned_alloc): Move defined(HAVE__ALIGNED_MALLOC) | |
3318 | handling as last option before fallback instead of first. | |
3319 | (gomp_aligned_free): For defined(HAVE__ALIGNED_MALLOC) call | |
3320 | _aligned_free. | |
3321 | ||
d9176e64 GA |
3322 | 2022-05-27 Jakub Jelinek <jakub@redhat.com> |
3323 | ||
3324 | * testsuite/libgomp.c-c++-common/target-40.c: Modify some existing to | |
3325 | clauses to enter. | |
3326 | * testsuite/libgomp.c/target-41.c: Likewise. | |
3327 | ||
3328 | 2022-05-27 Tobias Burnus <tobias@codesourcery.com> | |
3329 | ||
3330 | * libgomp.texi (Other new OpenMP 5.1 features): Add | |
3331 | 'begin declare target'. | |
3332 | (Other new OpenMP 5.2 features): New. | |
3333 | ||
3dff965c GA |
3334 | 2022-05-25 Jakub Jelinek <jakub@redhat.com> |
3335 | ||
3336 | * task.c (gomp_task_run_post_handle_dependers): If empty_task | |
3337 | is the last task taskwait depend depends on, wake it up. | |
3338 | Similarly if it is the last child of a taskgroup, use atomic | |
3339 | store instead of decrement and awak taskgroup wait if any. | |
3340 | * testsuite/libgomp.c-c++-common/taskwait-depend-nowait-2.c: New test. | |
3341 | ||
768f49a2 GA |
3342 | 2022-05-24 Andrew Stubbs <ams@codesourcery.com> |
3343 | ||
3344 | * plugin/plugin-gcn.c (EF_AMDGPU_MACH): Add | |
3345 | EF_AMDGPU_MACH_AMDGCN_GFX90a. | |
3346 | (gcn_gfx90a_s): New. | |
3347 | (isa_hsa_name): Support gfx90a. | |
3348 | (isa_code): Likewise. | |
3349 | ||
3350 | 2022-05-24 Tobias Burnus <tobias@codesourcery.com> | |
3351 | ||
3352 | PR c/105378 | |
3353 | * libgomp.texi (OpenMP 5.1): Set 'taskwait nowait' to 'Y'. | |
3354 | * testsuite/libgomp.fortran/taskwait-depend-nowait-1.f90: New. | |
3355 | ||
3356 | 2022-05-24 Jakub Jelinek <jakub@redhat.com> | |
3357 | ||
3358 | PR c/105378 | |
3359 | * libgomp_g.h (GOMP_taskwait_depend_nowait): Declare. | |
3360 | * libgomp.map (GOMP_taskwait_depend_nowait): Export at GOMP_5.1.1. | |
3361 | * task.c (empty_task): New function. | |
3362 | (gomp_task_run_post_handle_depend_hash): Declare earlier. | |
3363 | (gomp_task_run_post_handle_depend): Declare. | |
3364 | (GOMP_task): Optimize fn == empty_task if there is nothing to wait | |
3365 | for. | |
3366 | (gomp_task_run_post_handle_dependers): Optimize task->fn == empty_task. | |
3367 | (GOMP_taskwait_depend_nowait): New function. | |
3368 | * testsuite/libgomp.c-c++-common/taskwait-depend-nowait-1.c: New test. | |
3369 | ||
168fc8bd GA |
3370 | 2022-05-23 Tobias Burnus <tobias@codesourcery.com> |
3371 | ||
3372 | PR fortran/104949 | |
3373 | * target.c (gomp_map_vars_internal, copy_firstprivate_data): | |
3374 | Support attach for GOMP_MAP_FIRSTPRIVATE. | |
3375 | * testsuite/libgomp.fortran/target-firstprivate-1.f90: New test. | |
3376 | * testsuite/libgomp.fortran/target-firstprivate-2.f90: New test. | |
3377 | * testsuite/libgomp.fortran/target-firstprivate-3.f90: New test. | |
3378 | ||
57f2ce6a GA |
3379 | 2022-05-20 Marcel Vollweiler <marcel@codesourcery.com> |
3380 | ||
3381 | * libgomp.map: Added omp_target_memcpy_async and | |
3382 | omp_target_memcpy_rect_async. | |
3383 | * libgomp.texi: Both functions are now supported. | |
3384 | * omp.h.in: Added omp_target_memcpy_async and | |
3385 | omp_target_memcpy_rect_async. | |
3386 | * omp_lib.f90.in: Added interfaces for both new functions. | |
3387 | * omp_lib.h.in: Likewise. | |
3388 | * target.c (ialias_redirect): Added for GOMP_task. | |
3389 | (omp_target_memcpy): Restructured into check and copy part. | |
3390 | (omp_target_memcpy_check): New helper function for omp_target_memcpy and | |
3391 | omp_target_memcpy_async that checks requirements. | |
3392 | (omp_target_memcpy_copy): New helper function for omp_target_memcpy and | |
3393 | omp_target_memcpy_async that performs the memcpy. | |
3394 | (omp_target_memcpy_async_helper): New helper function that is used in | |
3395 | omp_target_memcpy_async for the asynchronous task. | |
3396 | (omp_target_memcpy_async): Added. | |
3397 | (omp_target_memcpy_rect): Restructured into check and copy part. | |
3398 | (omp_target_memcpy_rect_check): New helper function for | |
3399 | omp_target_memcpy_rect and omp_target_memcpy_rect_async that checks | |
3400 | requirements. | |
3401 | (omp_target_memcpy_rect_copy): New helper function for | |
3402 | omp_target_memcpy_rect and omp_target_memcpy_rect_async that performs | |
3403 | the memcpy. | |
3404 | (omp_target_memcpy_rect_async_helper): New helper function that is used | |
3405 | in omp_target_memcpy_rect_async for the asynchronous task. | |
3406 | (omp_target_memcpy_rect_async): Added. | |
3407 | * task.c (ialias): Added for GOMP_task. | |
3408 | * testsuite/libgomp.c-c++-common/target-memcpy-async-1.c: New test. | |
3409 | * testsuite/libgomp.c-c++-common/target-memcpy-async-2.c: New test. | |
3410 | * testsuite/libgomp.c-c++-common/target-memcpy-rect-async-1.c: New test. | |
3411 | * testsuite/libgomp.c-c++-common/target-memcpy-rect-async-2.c: New test. | |
3412 | * testsuite/libgomp.fortran/target-memcpy-async-1.f90: New test. | |
3413 | * testsuite/libgomp.fortran/target-memcpy-async-2.f90: New test. | |
3414 | * testsuite/libgomp.fortran/target-memcpy-rect-async-1.f90: New test. | |
3415 | * testsuite/libgomp.fortran/target-memcpy-rect-async-2.f90: New test. | |
3416 | ||
1cda629f GA |
3417 | 2022-05-18 Tobias Burnus <tobias@codesourcery.com> |
3418 | ||
3419 | * libgomp.texi (OpenMP 5.1): Set 'inoutset' to Y. | |
3420 | (OpenMP Context Selectors): Add missing comma. | |
3421 | * testsuite/libgomp.fortran/depend-5.f90: Add inoutset test. | |
3422 | * testsuite/libgomp.fortran/depend-6.f90: Likewise. | |
3423 | * testsuite/libgomp.fortran/depend-7.f90: Likewise. | |
3424 | * testsuite/libgomp.fortran/depend-inoutset-1.f90: New test. | |
3425 | ||
3d9439b1 GA |
3426 | 2022-05-17 Jakub Jelinek <jakub@redhat.com> |
3427 | ||
3428 | * libgomp.texi (OpenMP 5.1): Remove "Not inside target regions" | |
3429 | comment for omp_display_env feature. | |
3430 | ||
3431 | 2022-05-17 Tobias Burnus <tobias@codesourcery.com> | |
3432 | ||
3433 | * libgomp.texi (Offload-Target Specifics): New chapter; add section | |
3434 | to document OpenMP context selectors. | |
3435 | ||
3436 | 2022-05-17 Jakub Jelinek <jakub@redhat.com> | |
3437 | ||
3438 | * libgomp.h (struct gomp_task_depend_entry): Change is_in type | |
3439 | from bool to unsigned char. | |
3440 | * task.c (gomp_task_handle_depend): Handle GOMP_DEPEND_INOUTSET. | |
3441 | Ignore dependencies where | |
3442 | task->depend[i].is_in && task->depend[i].is_in == ent->is_in | |
3443 | rather than just task->depend[i].is_in && ent->is_in. Remember | |
3444 | whether GOMP_DEPEND_IN loop is needed and guard the loop with that | |
3445 | conditional. | |
3446 | (gomp_task_maybe_wait_for_dependencies): Handle GOMP_DEPEND_INOUTSET. | |
3447 | Ignore dependencies where elem.is_in && elem.is_in == ent->is_in | |
3448 | rather than just elem.is_in && ent->is_in. | |
3449 | * testsuite/libgomp.c-c++-common/depend-1.c (test): Add task with | |
3450 | inoutset depend-kind. | |
3451 | * testsuite/libgomp.c-c++-common/depend-2.c (test): Likewise. | |
3452 | * testsuite/libgomp.c-c++-common/depend-3.c (test): Likewise. | |
3453 | * testsuite/libgomp.c-c++-common/depend-inoutset-1.c: New test. | |
3454 | ||
3455 | 2022-05-17 Tobias Burnus <tobias@codesourcery.com> | |
3456 | ||
3457 | * libgomp.texi (OpenMP Implementation Status): Add 5.2 table. | |
3458 | ||
3459 | 2022-05-17 Tobias Burnus <tobias@codesourcery.com> | |
3460 | ||
3461 | * libgomp.texi (OpenMP 5.1): Set omp_all_memory to 'Y'. | |
3462 | * testsuite/libgomp.fortran/depend-5.f90: New test. | |
3463 | * testsuite/libgomp.fortran/depend-6.f90: New test. | |
3464 | * testsuite/libgomp.fortran/depend-7.f90: New test. | |
3465 | ||
702bd11f GA |
3466 | 2022-05-16 Marcel Vollweiler <marcel@codesourcery.com> |
3467 | ||
3468 | * testsuite/libgomp.c++/target-has-device-addr-7.C: New test. | |
3469 | * testsuite/libgomp.c++/target-has-device-addr-8.C: New test. | |
3470 | * testsuite/libgomp.c++/target-has-device-addr-9.C: New test. | |
3471 | ||
9df4ffe4 GA |
3472 | 2022-05-13 Tobias Burnus <tobias@codesourcery.com> |
3473 | ||
3474 | * testsuite/libgomp.fortran/target-nowait-array-section.f90: New test. | |
3475 | ||
3476 | 2022-05-13 Tobias Burnus <tobias@codesourcery.com> | |
3477 | ||
3478 | * testsuite/libgomp.fortran/target-nowait-array-section.f90: New test. | |
3479 | ||
3480 | 2022-05-13 Thomas Schwinge <thomas@codesourcery.com> | |
3481 | ||
3482 | * plugin/Makefrag.am (libgomp_plugin_nvptx_la_CPPFLAGS) | |
3483 | [PLUGIN_NVPTX_DYNAMIC]: Don't append '$(PLUGIN_NVPTX_CPPFLAGS)'. | |
3484 | (libgomp_plugin_nvptx_la_LDFLAGS) [PLUGIN_NVPTX_DYNAMIC]: Don't | |
3485 | append '$(PLUGIN_NVPTX_LDFLAGS)'. | |
3486 | * Makefile.in: Regenerate. | |
3487 | ||
49ace834 GA |
3488 | 2022-05-12 Thomas Schwinge <thomas@codesourcery.com> |
3489 | ||
3490 | * Makefile.am (libgomp_la_LIBADD): Initialize. | |
3491 | * plugin/configfrag.ac (DL_LIBS): New. | |
3492 | (PLUGIN_GCN_LIBS): Remove. | |
3493 | (PLUGIN_NVPTX_LIBS): Don't set in the 'PLUGIN_NVPTX_DYNAMIC' case. | |
3494 | * plugin/Makefrag.am (libgomp_la_LIBADD) | |
3495 | (libgomp_plugin_gcn_la_LIBADD): Consider '$(DL_LIBS)'. | |
3496 | (libgomp_plugin_nvptx_la_LIBADD) <PLUGIN_NVPTX_DYNAMIC>: Likewise. | |
3497 | * Makefile.in: Regenerate. | |
3498 | * config.h.in: Likewise. | |
3499 | * configure: Likewise. | |
3500 | * testsuite/Makefile.in: Likewise. | |
3501 | ||
3502 | 2022-05-12 Thomas Schwinge <thomas@codesourcery.com> | |
3503 | ||
3504 | * plugin/Makefrag.am: Handle 'PLUGIN_NVPTX_DYNAMIC'. | |
3505 | * plugin/configfrag.ac (PLUGIN_NVPTX_DYNAMIC): Change | |
3506 | 'AC_DEFINE_UNQUOTED' into 'AM_CONDITIONAL'. | |
3507 | * plugin/plugin-nvptx.c: Split 'PLUGIN_NVPTX_DYNAMIC' into | |
3508 | 'PLUGIN_NVPTX_INCLUDE_SYSTEM_CUDA_H' and | |
3509 | 'PLUGIN_NVPTX_LINK_LIBCUDA'. | |
3510 | * Makefile.in: Regenerate. | |
3511 | * config.h.in: Likewise. | |
3512 | * configure: Likewise. | |
3513 | ||
3514 | 2022-05-12 Thomas Schwinge <thomas@codesourcery.com> | |
3515 | ||
3516 | * plugin/configfrag.ac: Don't 'AC_SUBST' and 'AC_DEFINE_UNQUOTED' | |
3517 | for 'PLUGIN_GCN', 'PLUGIN_NVPTX'. | |
3518 | * Makefile.in: Regenerate. | |
3519 | * config.h.in: Likewise. | |
3520 | * configure: Likewise. | |
3521 | * testsuite/Makefile.in: Likewise. | |
3522 | ||
3523 | 2022-05-12 Jakub Jelinek <jakub@redhat.com> | |
3524 | ||
3525 | * libgomp.h (struct gomp_task): Add depend_all_memory member. | |
3526 | * task.c (gomp_init_task): Initialize depend_all_memory. | |
3527 | (gomp_task_handle_depend): Handle omp_all_memory. | |
3528 | (gomp_task_run_post_handle_depend_hash): Clear | |
3529 | parent->depend_all_memory if equal to current task. | |
3530 | (gomp_task_maybe_wait_for_dependencies): Handle omp_all_memory. | |
3531 | * testsuite/libgomp.c-c++-common/depend-1.c: New test. | |
3532 | * testsuite/libgomp.c-c++-common/depend-2.c: New test. | |
3533 | * testsuite/libgomp.c-c++-common/depend-3.c: New test. | |
3534 | ||
d0d513b5 GA |
3535 | 2022-05-11 Thomas Schwinge <thomas@codesourcery.com> |
3536 | ||
3537 | * plugin/configfrag.ac: Remove '--with-hsa-runtime', | |
3538 | '--with-hsa-runtime-include', '--with-hsa-runtime-lib' processing. | |
3539 | * Makefile.in: Regenerate. | |
3540 | * configure: Likewise. | |
3541 | * testsuite/Makefile.in: Likewise. | |
3542 | ||
3543 | 2022-05-11 Thomas Schwinge <thomas@codesourcery.com> | |
3544 | ||
3545 | * plugin/Makefrag.am (libgomp_plugin_gcn_la_CPPFLAGS): Don't | |
3546 | consider 'PLUGIN_GCN_CPPFLAGS'. | |
3547 | (libgomp_plugin_gcn_la_LDFLAGS): Don't consider | |
3548 | 'PLUGIN_GCN_LDFLAGS'. | |
3549 | * plugin/configfrag.ac (PLUGIN_GCN_CPPFLAGS, PLUGIN_GCN_LDFLAGS): | |
3550 | Remove. | |
3551 | * Makefile.in: Regenerate. | |
3552 | * configure: Likewise. | |
3553 | * testsuite/Makefile.in: Likewise. | |
3554 | ||
3555 | 2022-05-11 Thomas Schwinge <thomas@codesourcery.com> | |
3556 | ||
3557 | * plugin/configfrag.ac (HSA_RUNTIME_CPPFLAGS) | |
3558 | (HSA_RUNTIME_LDFLAGS): Remove. | |
3559 | * configure: Regenerate. | |
3560 | ||
3561 | 2022-05-11 Thomas Schwinge <thomas@codesourcery.com> | |
3562 | ||
3563 | * testsuite/lib/libgomp.exp (libgomp_init): Don't | |
3564 | 'append always_ld_library_path ":$hsa_runtime_lib"'. | |
3565 | * testsuite/libgomp-test-support.exp.in (hsa_runtime_lib): Don't set. | |
3566 | ||
e8778989 GA |
3567 | 2022-05-10 Thomas Schwinge <thomas@codesourcery.com> |
3568 | ||
3569 | * testsuite/libgomp.fortran/use_device_addr-5.f90: Fix up | |
3570 | multi-device testing. | |
3571 | ||
ea3fbfda GA |
3572 | 2022-05-06 Marcel Vollweiler <marcel@codesourcery.com> |
3573 | ||
3574 | * libgomp.map: Added omp_target_is_accessible. | |
3575 | * libgomp.texi: Tagged omp_target_is_accessible as supported. | |
3576 | * omp.h.in: Added omp_target_is_accessible. | |
3577 | * omp_lib.f90.in: Added interface for omp_target_is_accessible. | |
3578 | * omp_lib.h.in: Likewise. | |
3579 | * target.c (omp_target_is_accessible): Added implementation of | |
3580 | omp_target_is_accessible. | |
3581 | * testsuite/libgomp.c-c++-common/target-is-accessible-1.c: New test. | |
3582 | * testsuite/libgomp.fortran/target-is-accessible-1.f90: New test. | |
3583 | ||
ab869e7f GA |
3584 | 2022-05-05 Sandra Loosemore <sandra@codesourcery.com> |
3585 | ||
3586 | * libgomp.texi (OpenMP 5.0): Feature is now fully supported. | |
3587 | ||
3e7db517 GA |
3588 | 2022-05-04 Tobias Burnus <tobias@codesourcery.com> |
3589 | ||
3590 | * plugin/plugin-gcn.c (isa_matches_agent): Suggest -foffload-options. | |
3591 | ||
3592 | 2022-05-04 Tobias Burnus <tobias@codesourcery.com> | |
3593 | ||
3594 | * testsuite/libgomp.fortran/use_device_addr-5.f90: New test. | |
3595 | ||
e66af28d GA |
3596 | 2022-05-03 Marcel Vollweiler <marcel@codesourcery.com> |
3597 | ||
3598 | * libgomp.map: Added omp_get_mapped_ptr. | |
3599 | * libgomp.texi: Tagged omp_get_mapped_ptr as supported. | |
3600 | * omp.h.in: Added omp_get_mapped_ptr. | |
3601 | * omp_lib.f90.in: Added interface for omp_get_mapped_ptr. | |
3602 | * omp_lib.h.in: Likewise. | |
3603 | * target.c (omp_get_mapped_ptr): Added implementation of | |
3604 | omp_get_mapped_ptr. | |
3605 | * testsuite/libgomp.c-c++-common/get-mapped-ptr-1.c: New test. | |
3606 | * testsuite/libgomp.c-c++-common/get-mapped-ptr-2.c: New test. | |
3607 | * testsuite/libgomp.c-c++-common/get-mapped-ptr-3.c: New test. | |
3608 | * testsuite/libgomp.c-c++-common/get-mapped-ptr-4.c: New test. | |
3609 | * testsuite/libgomp.fortran/get-mapped-ptr-1.f90: New test. | |
3610 | * testsuite/libgomp.fortran/get-mapped-ptr-2.f90: New test. | |
3611 | * testsuite/libgomp.fortran/get-mapped-ptr-3.f90: New test. | |
3612 | * testsuite/libgomp.fortran/get-mapped-ptr-4.f90: New test. | |
3613 | ||
6b6f53d8 GA |
3614 | 2022-04-28 Thomas Schwinge <thomas@codesourcery.com> |
3615 | ||
3616 | PR fortran/104717 | |
3617 | * testsuite/libgomp.oacc-fortran/print-1.f90: Add OpenACC | |
3618 | privatization scanning. For GCN offloading compilation, raise | |
3619 | '-mgang-private-size'. | |
3620 | ||
01ad093b GA |
3621 | 2022-04-26 Jakub Jelinek <jakub@redhat.com> |
3622 | ||
3623 | PR libgomp/105358 | |
3624 | * work.c (gomp_init_work_share): Don't mask of adjustment for | |
3625 | dynamic long long realignment if struct gomp_work_share has smaller | |
3626 | alignof than long long. | |
3627 | * loop.c (GOMP_loop_start): Don't use inline_ordered_team_ids if | |
3628 | struct gomp_work_share has smaller alignof than long long or if | |
3629 | sizeof (struct gomp_work_share) is smaller than | |
3630 | INLINE_ORDERED_TEAM_IDS_OFF. | |
3631 | * loop_ull.c (GOMP_loop_ull_start): Likewise. | |
3632 | * sections.c (GOMP_sections2_start): Likewise. | |
3633 | ||
98de0da6 GA |
3634 | 2022-04-25 Jakub Jelinek <jakub@redhat.com> |
3635 | Thomas Schwinge <thomas@codesourcery.com> | |
3636 | ||
3637 | PR fortran/104717 | |
3638 | * testsuite/libgomp.oacc-fortran/privatized-ref-2.f90: Adjust. | |
3639 | ||
247bbed1 GA |
3640 | 2022-04-13 Jakub Jelinek <jakub@redhat.com> |
3641 | ||
3642 | * libgomp.texi: Fix a typo - mutexinouset -> mutexinoutset. | |
3643 | ||
80eb8ec6 GA |
3644 | 2022-04-06 Thomas Schwinge <thomas@codesourcery.com> |
3645 | ||
3646 | * plugin/cuda/cuda.h: Remove file. | |
3647 | * plugin/plugin-nvptx.c [PLUGIN_NVPTX_DYNAMIC]: Include | |
3648 | "cuda/cuda.h" instead of <cuda.h>. | |
3649 | * plugin/configfrag.ac <PLUGIN_NVPTX_DYNAMIC>: Don't set | |
3650 | 'PLUGIN_NVPTX_CPPFLAGS'. | |
3651 | * configure: Regenerate. | |
3652 | ||
9d84ed68 GA |
3653 | 2022-04-05 Chung-Lin Tang <cltang@codesourcery.com> |
3654 | ||
3655 | * testsuite/libgomp.fortran/use_device_ptr-4.f90: New testcase. | |
3656 | ||
5e09bb1b GA |
3657 | 2022-04-04 Tom de Vries <tdevries@suse.de> |
3658 | ||
3659 | * testsuite/libgomp.fortran/examples-4/declare_target-1.f90: Use | |
3660 | on_device_arch_nvptx instead of offload_target_nvptx. | |
3661 | * testsuite/libgomp.fortran/examples-4/declare_target-2.f90: Same. | |
3662 | ||
8af4270d GA |
3663 | 2022-04-01 Tom de Vries <tdevries@suse.de> |
3664 | ||
3665 | * testsuite/libgomp.fortran/examples-4/declare_target-1.f90: Define | |
3666 | and use REC_DEPTH. | |
3667 | * testsuite/libgomp.fortran/examples-4/declare_target-2.f90: Same. | |
3668 | ||
3669 | 2022-04-01 Tom de Vries <tdevries@suse.de> | |
3670 | ||
3671 | * testsuite/libgomp.oacc-c-c++-common/vector-length-128-7.c: Fix | |
3672 | num_workers check. | |
3673 | ||
9f774626 GA |
3674 | 2022-03-29 Chenghua Xu <xuchenghua@loongson.cn> |
3675 | Lulu Cheng <chenglulu@loongson.cn> | |
3676 | ||
3677 | * configure.tgt: Add LoongArch triplet. | |
3678 | ||
aab0127d GA |
3679 | 2022-03-28 Tom de Vries <tdevries@suse.de> |
3680 | ||
3681 | * plugin/configfrag.ac: Use /$(libexecdir:\$(exec_prefix)/%=%)/ | |
3682 | instead of /libexec/. | |
3683 | * configure: Regenerate. | |
3684 | ||
31e989a2 GA |
3685 | 2022-03-25 Tom de Vries <tdevries@suse.de> |
3686 | ||
3687 | PR libgomp/105042 | |
3688 | * testsuite/libgomp.oacc-c-c++-common/parallel-dims.c: Reduce | |
3689 | execution time. | |
3690 | * testsuite/libgomp.oacc-c-c++-common/vred2d-128.c: Same. | |
3691 | * testsuite/libgomp.oacc-fortran/parallel-dims.f90: Same. | |
3692 | ||
d1ca63a1 GA |
3693 | 2022-03-23 Tobias Burnus <tobias@codesourcery.com> |
3694 | ||
3695 | PR middle-end/104285 | |
3696 | * testsuite/libgomp.c++/target-same-name-2-a.C: New test. | |
3697 | * testsuite/libgomp.c++/target-same-name-2-b.C: New test. | |
3698 | * testsuite/libgomp.c++/target-same-name-2.C: New test. | |
3699 | * testsuite/libgomp.c-c++-common/target-same-name-1-a.c: New test. | |
3700 | * testsuite/libgomp.c-c++-common/target-same-name-1-b.c: New test. | |
3701 | * testsuite/libgomp.c-c++-common/target-same-name-1.c: New test. | |
3702 | ||
a2287813 GA |
3703 | 2022-03-22 Tom de Vries <tdevries@suse.de> |
3704 | ||
3705 | PR target/104916 | |
3706 | PR target/104783 | |
3707 | * testsuite/libgomp.c/pr104783-2.c: New test. | |
3708 | ||
8ca61ad1 GA |
3709 | 2022-03-18 Tobias Burnus <tobias@codesourcery.com> |
3710 | ||
3711 | PR fortran/103039 | |
3712 | * testsuite/libgomp.fortran/associate4.f90: New test. | |
3713 | ||
3714 | 2022-03-18 Tom de Vries <tdevries@suse.de> | |
3715 | ||
3716 | PR target/104952 | |
3717 | * testsuite/libgomp.c/pr104952-1.c: New test. | |
3718 | * testsuite/libgomp.c/pr104952-2.c: New test. | |
3719 | ||
3720 | 2022-03-18 Jakub Jelinek <jakub@redhat.com> | |
3721 | ||
3722 | * config/linux/affinity.c (gomp_affinity_init_numa_domains): Move seen | |
3723 | variable next to pl variable. | |
3724 | ||
e9ea3016 GA |
3725 | 2022-03-17 Thomas Schwinge <thomas@codesourcery.com> |
3726 | ||
3727 | * testsuite/libgomp.oacc-c-c++-common/acc_prof-kernels-1.c: | |
3728 | Enhance. | |
3729 | * testsuite/libgomp.oacc-c-c++-common/kernels-loop-g.c: Likewise. | |
3730 | * testsuite/libgomp.oacc-fortran/if-1.f90: Likewise. | |
3731 | ||
3732 | 2022-03-17 Thomas Schwinge <thomas@codesourcery.com> | |
3733 | ||
3734 | PR middle-end/90115 | |
3735 | * testsuite/libgomp.oacc-c-c++-common/acc_prof-kernels-1.c: Enhance. | |
3736 | * testsuite/libgomp.oacc-fortran/if-1.f90: Likewise. | |
3737 | ||
9fc8f278 GA |
3738 | 2022-03-16 Marcel Vollweiler <marcel@codesourcery.com> |
3739 | ||
3740 | * fortran.c (omp_set_num_teams_8_): Call omp_set_num_teams instead of | |
3741 | omp_set_max_active_levels. | |
3742 | * testsuite/libgomp.fortran/icv-8.f90: New test. | |
3743 | ||
3744 | 2022-03-16 Thomas Schwinge <thomas@codesourcery.com> | |
3745 | ||
3746 | PR testsuite/102841 | |
3747 | * testsuite/libgomp.oacc-c-c++-common/host_data-7.c: Adjust. | |
3748 | ||
b9756c08 GA |
3749 | 2022-03-13 Tobias Burnus <tobias@codesourcery.com> |
3750 | ||
3751 | * libgomp.texi: Fix typo. | |
3752 | ||
57eeedda GA |
3753 | 2022-03-12 Thomas Schwinge <thomas@codesourcery.com> |
3754 | ||
3755 | PR middle-end/100280 | |
3756 | PR middle-end/104892 | |
3757 | * testsuite/libgomp.oacc-c-c++-common/declare-vla.c: Adjust. | |
3758 | * testsuite/libgomp.oacc-c-c++-common/default-1.c: Likewise. | |
3759 | * testsuite/libgomp.oacc-c-c++-common/kernels-decompose-1.c: | |
3760 | Likewise. | |
3761 | * testsuite/libgomp.oacc-c-c++-common/kernels-reduction-1.c: | |
3762 | Likewise. | |
3763 | * testsuite/libgomp.oacc-c-c++-common/parallel-dims.c: Likewise. | |
3764 | * testsuite/libgomp.oacc-fortran/asyncwait-1.f90: Likewise. | |
3765 | * testsuite/libgomp.oacc-fortran/kernels-reduction-1.f90: | |
3766 | Likewise. | |
3767 | ||
3768 | 2022-03-12 Thomas Schwinge <thomas@codesourcery.com> | |
3769 | ||
3770 | PR middle-end/104892 | |
3771 | * testsuite/libgomp.oacc-c-c++-common/kernels-decompose-1.c: Point | |
3772 | to PR104892. | |
3773 | * testsuite/libgomp.oacc-c-c++-common/default-1.c: Likewise, | |
3774 | enable '--param=openacc-kernels=decompose' and adjust. | |
3775 | * testsuite/libgomp.oacc-c-c++-common/kernels-reduction-1.c: | |
3776 | Likewise. | |
3777 | * testsuite/libgomp.oacc-c-c++-common/parallel-dims.c: Likewise. | |
3778 | * testsuite/libgomp.oacc-fortran/kernels-reduction-1.f90: | |
3779 | Likewise. | |
3780 | ||
3781 | 2022-03-12 Thomas Schwinge <thomas@codesourcery.com> | |
3782 | ||
3783 | PR middle-end/90115 | |
3784 | * testsuite/libgomp.oacc-c-c++-common/default-1.c: Enhance. | |
3785 | * testsuite/libgomp.oacc-c-c++-common/kernels-reduction-1.c: Likewise. | |
3786 | * testsuite/libgomp.oacc-c-c++-common/parallel-dims.c: Likewise. | |
3787 | * testsuite/libgomp.oacc-fortran/kernels-reduction-1.f90: Likewise. | |
3788 | ||
3789 | 2022-03-12 Thomas Schwinge <thomas@codesourcery.com> | |
3790 | ||
3791 | PR middle-end/100280 | |
3792 | PR middle-end/104086 | |
3793 | * testsuite/libgomp.oacc-c-c++-common/declare-vla-kernels-decompose-ice-1.c: | |
3794 | Merge this... | |
3795 | * testsuite/libgomp.oacc-c-c++-common/declare-vla-kernels-decompose.c: | |
3796 | ..., and this... | |
3797 | * testsuite/libgomp.oacc-c-c++-common/declare-vla.c: ... into | |
3798 | this, and adjust. | |
3799 | * testsuite/libgomp.oacc-c-c++-common/kernels-decompose-1.c: | |
3800 | Extend. | |
3801 | ||
5e28be89 GA |
3802 | 2022-03-10 Hafiz Abid Qadeer <abidh@codesourcery.com> |
3803 | ||
3804 | * testsuite/libgomp.fortran/allocate-1.f90: Remove pool_size | |
3805 | trait. Test last index in w and v array. Remove redundant | |
3806 | assignment to V(1). Move alignment checks at the end of | |
3807 | parallel region. | |
3808 | ||
3809 | 2022-03-10 Tom de Vries <tdevries@suse.de> | |
3810 | ||
3811 | * testsuite/libgomp.c/pr104783.c: New test. | |
3812 | ||
3813 | 2022-03-10 Thomas Schwinge <thomas@codesourcery.com> | |
3814 | ||
3815 | PR middle-end/90115 | |
3816 | PR middle-end/102330 | |
3817 | PR middle-end/104774 | |
3818 | * testsuite/libgomp.oacc-c-c++-common/kernels-decompose-1.c: | |
3819 | Enhance. | |
3820 | * testsuite/libgomp.oacc-c-c++-common/kernels-private-vars-local-worker-1.c: | |
3821 | Adjust. | |
3822 | * testsuite/libgomp.oacc-c-c++-common/kernels-private-vars-local-worker-2.c: | |
3823 | Likewise. | |
3824 | * testsuite/libgomp.oacc-c-c++-common/kernels-private-vars-local-worker-3.c: | |
3825 | Likewise. | |
3826 | * testsuite/libgomp.oacc-c-c++-common/kernels-private-vars-local-worker-4.c: | |
3827 | Likewise. | |
3828 | * testsuite/libgomp.oacc-c-c++-common/kernels-private-vars-local-worker-5.c: | |
3829 | Likewise. | |
3830 | * testsuite/libgomp.oacc-c-c++-common/kernels-private-vars-loop-vector-1.c: | |
3831 | Likewise. | |
3832 | * testsuite/libgomp.oacc-c-c++-common/kernels-private-vars-loop-vector-2.c: | |
3833 | Likewise. | |
3834 | * testsuite/libgomp.oacc-c-c++-common/kernels-private-vars-loop-worker-2.c: | |
3835 | Likewise. | |
3836 | * testsuite/libgomp.oacc-c-c++-common/kernels-private-vars-loop-worker-3.c: | |
3837 | Likewise. | |
3838 | * testsuite/libgomp.oacc-c-c++-common/kernels-private-vars-loop-worker-4.c: | |
3839 | Likewise. | |
3840 | * testsuite/libgomp.oacc-c-c++-common/kernels-private-vars-loop-worker-5.c: | |
3841 | Likewise. | |
3842 | * testsuite/libgomp.oacc-c-c++-common/kernels-private-vars-loop-worker-6.c: | |
3843 | Likewise. | |
3844 | * testsuite/libgomp.oacc-c-c++-common/kernels-private-vars-loop-worker-7.c: | |
3845 | Likewise. | |
3846 | * testsuite/libgomp.oacc-fortran/optional-private.f90: Likewise. | |
3847 | * testsuite/libgomp.oacc-fortran/privatized-ref-1.f95: Likewise. | |
3848 | * testsuite/libgomp.oacc-fortran/privatized-ref-2.f90: Likewise. | |
3849 | ||
3850 | 2022-03-10 Thomas Schwinge <thomas@codesourcery.com> | |
3851 | ||
3852 | PR middle-end/90115 | |
3853 | * testsuite/libgomp.oacc-fortran/routine-1.f90: Enhance. | |
3854 | * testsuite/libgomp.oacc-fortran/routine-2.f90: Likewise. | |
3855 | * testsuite/libgomp.oacc-fortran/routine-3.f90: Likewise. | |
3856 | * testsuite/libgomp.oacc-fortran/routine-9.f90: Likewise. | |
3857 | ||
8d96e14c GA |
3858 | 2022-03-04 Thomas Schwinge <thomas@codesourcery.com> |
3859 | ||
3860 | PR testsuite/104791 | |
3861 | * testsuite/libgomp.oacc-c-c++-common/kernels-decompose-1.c: Fix | |
3862 | expected diagnostics. | |
3863 | ||
3864 | 2022-03-04 Thomas Schwinge <thomas@codesourcery.com> | |
3865 | ||
3866 | PR middle-end/104784 | |
3867 | * testsuite/libgomp.oacc-c-c++-common/kernels-private-vars-local-worker-1.c: | |
3868 | Test with '--param=openacc-kernels=decompose'. | |
3869 | * testsuite/libgomp.oacc-c-c++-common/kernels-private-vars-local-worker-2.c: | |
3870 | Likewise. | |
3871 | * testsuite/libgomp.oacc-c-c++-common/kernels-private-vars-local-worker-3.c: | |
3872 | Likewise. | |
3873 | * testsuite/libgomp.oacc-c-c++-common/kernels-private-vars-local-worker-4.c: | |
3874 | Likewise. | |
3875 | * testsuite/libgomp.oacc-c-c++-common/kernels-private-vars-local-worker-5.c: | |
3876 | Likewise. | |
3877 | * testsuite/libgomp.oacc-c-c++-common/kernels-private-vars-loop-gang-1.c: | |
3878 | Likewise. | |
3879 | * testsuite/libgomp.oacc-c-c++-common/kernels-private-vars-loop-gang-2.c: | |
3880 | Likewise. | |
3881 | * testsuite/libgomp.oacc-c-c++-common/kernels-private-vars-loop-gang-3.c: | |
3882 | Likewise. | |
3883 | * testsuite/libgomp.oacc-c-c++-common/kernels-private-vars-loop-gang-4.c: | |
3884 | Likewise. | |
3885 | * testsuite/libgomp.oacc-c-c++-common/kernels-private-vars-loop-gang-5.c: | |
3886 | Likewise. | |
3887 | * testsuite/libgomp.oacc-c-c++-common/kernels-private-vars-loop-gang-6.c: | |
3888 | Likewise. | |
3889 | * testsuite/libgomp.oacc-c-c++-common/kernels-private-vars-loop-vector-1.c: | |
3890 | Likewise. | |
3891 | * testsuite/libgomp.oacc-c-c++-common/kernels-private-vars-loop-vector-2.c: | |
3892 | Likewise. | |
3893 | * testsuite/libgomp.oacc-c-c++-common/kernels-private-vars-loop-worker-1.c: | |
3894 | Likewise. | |
3895 | * testsuite/libgomp.oacc-c-c++-common/kernels-private-vars-loop-worker-2.c: | |
3896 | Likewise. | |
3897 | * testsuite/libgomp.oacc-c-c++-common/kernels-private-vars-loop-worker-3.c: | |
3898 | Likewise. | |
3899 | * testsuite/libgomp.oacc-c-c++-common/kernels-private-vars-loop-worker-4.c: | |
3900 | Likewise. | |
3901 | * testsuite/libgomp.oacc-c-c++-common/kernels-private-vars-loop-worker-5.c: | |
3902 | Likewise. | |
3903 | * testsuite/libgomp.oacc-c-c++-common/kernels-private-vars-loop-worker-6.c: | |
3904 | Likewise. | |
3905 | * testsuite/libgomp.oacc-c-c++-common/kernels-private-vars-loop-worker-7.c: | |
3906 | Likewise. | |
3907 | * testsuite/libgomp.oacc-fortran/kernels-private-vars-loop-gang-1.f90: | |
3908 | Likewise. | |
3909 | * testsuite/libgomp.oacc-fortran/kernels-private-vars-loop-gang-2.f90: | |
3910 | Likewise. | |
3911 | * testsuite/libgomp.oacc-fortran/kernels-private-vars-loop-gang-3.f90: | |
3912 | Likewise. | |
3913 | * testsuite/libgomp.oacc-fortran/kernels-private-vars-loop-gang-6.f90: | |
3914 | Likewise. | |
3915 | * testsuite/libgomp.oacc-fortran/kernels-private-vars-loop-vector-1.f90: | |
3916 | Likewise. | |
3917 | * testsuite/libgomp.oacc-fortran/kernels-private-vars-loop-vector-2.f90: | |
3918 | Likewise. | |
3919 | * testsuite/libgomp.oacc-fortran/kernels-private-vars-loop-worker-1.f90: | |
3920 | Likewise. | |
3921 | * testsuite/libgomp.oacc-fortran/kernels-private-vars-loop-worker-2.f90: | |
3922 | Likewise. | |
3923 | * testsuite/libgomp.oacc-fortran/kernels-private-vars-loop-worker-3.f90: | |
3924 | Likewise. | |
3925 | * testsuite/libgomp.oacc-fortran/kernels-private-vars-loop-worker-4.f90: | |
3926 | Likewise. | |
3927 | * testsuite/libgomp.oacc-fortran/kernels-private-vars-loop-worker-5.f90: | |
3928 | Likewise. | |
3929 | * testsuite/libgomp.oacc-fortran/kernels-private-vars-loop-worker-6.f90: | |
3930 | Likewise. | |
3931 | * testsuite/libgomp.oacc-fortran/kernels-private-vars-loop-worker-7.f90: | |
3932 | Likewise. | |
3933 | ||
3934 | 2022-03-04 Thomas Schwinge <thomas@codesourcery.com> | |
3935 | ||
3936 | * testsuite/libgomp.oacc-c-c++-common/kernels-private-vars-local-worker-1.c: | |
3937 | Test '-fopt-info-omp-all'. | |
3938 | * testsuite/libgomp.oacc-c-c++-common/kernels-private-vars-local-worker-2.c: | |
3939 | Likewise. | |
3940 | * testsuite/libgomp.oacc-c-c++-common/kernels-private-vars-local-worker-3.c: | |
3941 | Likewise. | |
3942 | * testsuite/libgomp.oacc-c-c++-common/kernels-private-vars-local-worker-4.c: | |
3943 | Likewise. | |
3944 | * testsuite/libgomp.oacc-c-c++-common/kernels-private-vars-local-worker-5.c: | |
3945 | Likewise. | |
3946 | * testsuite/libgomp.oacc-c-c++-common/kernels-private-vars-loop-gang-1.c: | |
3947 | Likewise. | |
3948 | * testsuite/libgomp.oacc-c-c++-common/kernels-private-vars-loop-gang-2.c: | |
3949 | Likewise. | |
3950 | * testsuite/libgomp.oacc-c-c++-common/kernels-private-vars-loop-gang-3.c: | |
3951 | Likewise. | |
3952 | * testsuite/libgomp.oacc-c-c++-common/kernels-private-vars-loop-gang-4.c: | |
3953 | Likewise. | |
3954 | * testsuite/libgomp.oacc-c-c++-common/kernels-private-vars-loop-gang-5.c: | |
3955 | Likewise. | |
3956 | * testsuite/libgomp.oacc-c-c++-common/kernels-private-vars-loop-gang-6.c: | |
3957 | Likewise. | |
3958 | * testsuite/libgomp.oacc-c-c++-common/kernels-private-vars-loop-vector-1.c: | |
3959 | Likewise. | |
3960 | * testsuite/libgomp.oacc-c-c++-common/kernels-private-vars-loop-vector-2.c: | |
3961 | Likewise. | |
3962 | * testsuite/libgomp.oacc-c-c++-common/kernels-private-vars-loop-worker-1.c: | |
3963 | Likewise. | |
3964 | * testsuite/libgomp.oacc-c-c++-common/kernels-private-vars-loop-worker-2.c: | |
3965 | Likewise. | |
3966 | * testsuite/libgomp.oacc-c-c++-common/kernels-private-vars-loop-worker-3.c: | |
3967 | Likewise. | |
3968 | * testsuite/libgomp.oacc-c-c++-common/kernels-private-vars-loop-worker-4.c: | |
3969 | Likewise. | |
3970 | * testsuite/libgomp.oacc-c-c++-common/kernels-private-vars-loop-worker-5.c: | |
3971 | Likewise. | |
3972 | * testsuite/libgomp.oacc-c-c++-common/kernels-private-vars-loop-worker-6.c: | |
3973 | Likewise. | |
3974 | * testsuite/libgomp.oacc-c-c++-common/kernels-private-vars-loop-worker-7.c: | |
3975 | Likewise. | |
3976 | * testsuite/libgomp.oacc-fortran/kernels-private-vars-loop-gang-1.f90: | |
3977 | Likewise. | |
3978 | * testsuite/libgomp.oacc-fortran/kernels-private-vars-loop-gang-2.f90: | |
3979 | Likewise. | |
3980 | * testsuite/libgomp.oacc-fortran/kernels-private-vars-loop-gang-3.f90: | |
3981 | Likewise. | |
3982 | * testsuite/libgomp.oacc-fortran/kernels-private-vars-loop-gang-6.f90: | |
3983 | Likewise. | |
3984 | * testsuite/libgomp.oacc-fortran/kernels-private-vars-loop-vector-1.f90: | |
3985 | Likewise. | |
3986 | * testsuite/libgomp.oacc-fortran/kernels-private-vars-loop-vector-2.f90: | |
3987 | Likewise. | |
3988 | * testsuite/libgomp.oacc-fortran/kernels-private-vars-loop-worker-1.f90: | |
3989 | Likewise. | |
3990 | * testsuite/libgomp.oacc-fortran/kernels-private-vars-loop-worker-2.f90: | |
3991 | Likewise. | |
3992 | * testsuite/libgomp.oacc-fortran/kernels-private-vars-loop-worker-3.f90: | |
3993 | Likewise. | |
3994 | * testsuite/libgomp.oacc-fortran/kernels-private-vars-loop-worker-4.f90: | |
3995 | Likewise. | |
3996 | * testsuite/libgomp.oacc-fortran/kernels-private-vars-loop-worker-5.f90: | |
3997 | Likewise. | |
3998 | * testsuite/libgomp.oacc-fortran/kernels-private-vars-loop-worker-6.f90: | |
3999 | Likewise. | |
4000 | * testsuite/libgomp.oacc-fortran/kernels-private-vars-loop-worker-7.f90: | |
4001 | Likewise. | |
4002 | ||
4003 | 2022-03-04 Thomas Schwinge <thomas@codesourcery.com> | |
4004 | ||
4005 | PR middle-end/100280 | |
4006 | PR middle-end/104132 | |
4007 | PR middle-end/104133 | |
4008 | * testsuite/libgomp.oacc-c-c++-common/kernels-decompose-1.c: | |
4009 | Extend. | |
4010 | ||
4011 | 2022-03-04 Thomas Schwinge <thomas@codesourcery.com> | |
4012 | ||
4013 | PR middle-end/100280 | |
4014 | * testsuite/libgomp.oacc-c-c++-common/f-asyncwait-1.c: Adjust. | |
4015 | * testsuite/libgomp.oacc-c-c++-common/kernels-decompose-1.c: | |
4016 | Likewise. | |
4017 | ||
4018 | 2022-03-04 Thomas Schwinge <thomas@codesourcery.com> | |
4019 | ||
4020 | PR middle-end/100280 | |
4021 | * testsuite/libgomp.oacc-c-c++-common/f-asyncwait-1.c: Adjust. | |
4022 | * testsuite/libgomp.oacc-c-c++-common/kernels-decompose-1.c: | |
4023 | Likewise. | |
4024 | ||
a35f1697 GA |
4025 | 2022-02-28 Tom de Vries <tdevries@suse.de> |
4026 | ||
4027 | * testsuite/libgomp.c/declare-variant-3-sm30.c: Add -foffload=-mptx=_. | |
4028 | * testsuite/libgomp.c/declare-variant-3-sm35.c: Same. | |
4029 | * testsuite/libgomp.c/declare-variant-3-sm53.c: Same. | |
4030 | * testsuite/libgomp.c/declare-variant-3-sm70.c: Same. | |
4031 | * testsuite/libgomp.c/declare-variant-3-sm75.c: Same. | |
4032 | * testsuite/libgomp.c/declare-variant-3-sm80.c: Same. | |
4033 | ||
756a6185 GA |
4034 | 2022-02-24 Tom de Vries <tdevries@suse.de> |
4035 | ||
4036 | * testsuite/libgomp.c/declare-variant-3-sm30.c: New test. | |
4037 | * testsuite/libgomp.c/declare-variant-3-sm35.c: New test. | |
4038 | * testsuite/libgomp.c/declare-variant-3-sm53.c: New test. | |
4039 | * testsuite/libgomp.c/declare-variant-3-sm70.c: New test. | |
4040 | * testsuite/libgomp.c/declare-variant-3-sm75.c: New test. | |
4041 | * testsuite/libgomp.c/declare-variant-3-sm80.c: New test. | |
4042 | * testsuite/libgomp.c/declare-variant-3.h: New header file. | |
4043 | ||
2cfb33fc GA |
4044 | 2022-02-22 Thomas Schwinge <thomas@codesourcery.com> |
4045 | ||
4046 | * testsuite/libgomp.oacc-fortran/privatized-ref-2.f90: Fix OpenACC | |
4047 | gang-redundant execution. | |
4048 | ||
4049 | 2022-02-22 Tom de Vries <tdevries@suse.de> | |
4050 | ||
4051 | PR target/99555 | |
4052 | * config/nvptx/bar.c (generation_to_barrier): New function, copied | |
4053 | from config/rtems/bar.c. | |
4054 | (futex_wait, futex_wake): New function. | |
4055 | (do_spin, do_wait): New function, copied from config/linux/wait.h. | |
4056 | (gomp_barrier_wait_end, gomp_barrier_wait_last) | |
4057 | (gomp_team_barrier_wake, gomp_team_barrier_wait_end): | |
4058 | (gomp_team_barrier_wait_cancel_end, gomp_team_barrier_cancel): Remove | |
4059 | and replace with include of config/linux/bar.c. | |
4060 | * config/nvptx/bar.h (gomp_barrier_t): Add fields waiters and lock. | |
4061 | (gomp_barrier_init): Init new fields. | |
4062 | * testsuite/libgomp.c-c++-common/task-detach-6.c: Remove nvptx-specific | |
4063 | workarounds. | |
4064 | * testsuite/libgomp.c/pr99555-1.c: Same. | |
4065 | * testsuite/libgomp.fortran/task-detach-6.f90: Same. | |
4066 | ||
4067 | 2022-02-22 Tom de Vries <tdevries@suse.de> | |
4068 | ||
4069 | PR testsuite/104146 | |
4070 | * testsuite/libgomp.c++/pr96390.C: Add additional-option | |
4071 | -foffload=-Wa,--verify for nvptx. | |
4072 | * testsuite/libgomp.c-c++-common/pr96390.c: Same. | |
4073 | ||
875e493b GA |
4074 | 2022-02-15 Tobias Burnus <tobias@codesourcery.com> |
4075 | ||
4076 | * testsuite/libgomp.fortran/depend-4.f90: New test. | |
4077 | ||
a645583d GA |
4078 | 2022-02-10 Tobias Burnus <tobias@codesourcery.com> |
4079 | ||
4080 | PR c++/102204 | |
4081 | * testsuite/libgomp.c++/target-virtual-1.C: New test. | |
4082 | ||
4083 | 2022-02-10 Marcel Vollweiler <marcel@codesourcery.com> | |
4084 | ||
4085 | * libgomp.texi: Updated entry for HAS_DEVICE_ADDR. | |
4086 | * target.c (copy_firstprivate_data): Copy only if host address is not | |
4087 | NULL. | |
4088 | * testsuite/libgomp.c++/target-has-device-addr-2.C: New test. | |
4089 | * testsuite/libgomp.c++/target-has-device-addr-4.C: New test. | |
4090 | * testsuite/libgomp.c++/target-has-device-addr-5.C: New test. | |
4091 | * testsuite/libgomp.c++/target-has-device-addr-6.C: New test. | |
4092 | * testsuite/libgomp.c-c++-common/target-has-device-addr-1.c: New test. | |
4093 | * testsuite/libgomp.c/target-has-device-addr-3.c: New test. | |
4094 | * testsuite/libgomp.fortran/target-has-device-addr-1.f90: New test. | |
4095 | * testsuite/libgomp.fortran/target-has-device-addr-2.f90: New test. | |
4096 | * testsuite/libgomp.fortran/target-has-device-addr-3.f90: New test. | |
4097 | * testsuite/libgomp.fortran/target-has-device-addr-4.f90: New test. | |
4098 | ||
2a2fda2d GA |
4099 | 2022-02-08 Jakub Jelinek <jakub@redhat.com> |
4100 | ||
4101 | PR libgomp/104385 | |
4102 | * task.c (gomp_task_run_post_handle_dependers): If parent is NULL, | |
4103 | clear task->parent. | |
4104 | * testsuite/libgomp.c/pr104385.c: New test. | |
4105 | ||
3c1cbde1 GA |
4106 | 2022-02-04 Tobias Burnus <tobias@codesourcery.com> |
4107 | ||
4108 | * testsuite/libgomp.fortran/allocate-1.f90: Remove spurious | |
4109 | STOP of previous commit. | |
4110 | ||
4111 | 2022-02-04 Tobias Burnus <tobias@codesourcery.com> | |
4112 | ||
4113 | * testsuite/libgomp.fortran/allocate-1.c (is_64bit_aligned): Renamed | |
4114 | from is_64bit_aligned_. | |
4115 | * testsuite/libgomp.fortran/allocate-1.f90: Fix interface decl | |
4116 | and use it, more implicit none, remove unused argument. | |
4117 | ||
682ede39 GA |
4118 | 2022-02-03 David Seifert <soap@gentoo.org> |
4119 | Jakub Jelinek <jakub@redhat.com> | |
4120 | ||
4121 | * configure.ac: Support --disable-werror. | |
4122 | * configure: Regenerate. | |
4123 | ||
ae7e4af9 GA |
4124 | 2022-02-01 Tom de Vries <tdevries@suse.de> |
4125 | ||
4126 | * testsuite/libgomp.oacc-c-c++-common/private-atomic-1.c: Remove | |
4127 | PR83812 workaround. | |
4128 | * testsuite/libgomp.oacc-fortran/private-atomic-1-vector.f90: Same. | |
4129 | * testsuite/libgomp.oacc-fortran/private-atomic-1-worker.f90: Same. | |
4130 | ||
4131 | 2022-02-01 Tom de Vries <tdevries@suse.de> | |
4132 | ||
4133 | * testsuite/libgomp.oacc-c-c++-common/broadcast-many.c: Reduce | |
4134 | num_workers for nvidia accelerator to fix libgomp error 'insufficient | |
4135 | resources'. | |
4136 | * testsuite/libgomp.oacc-c-c++-common/par-loop-comb-reduction-4.c: | |
4137 | Same. | |
4138 | * testsuite/libgomp.oacc-c-c++-common/reduction-7.c: Same. | |
4139 | ||
4140 | 2022-02-01 Tom de Vries <tdevries@suse.de> | |
4141 | ||
4142 | * testsuite/libgomp.fortran/examples-4/declare_target-1.f90: Reduce | |
4143 | recursion depth. | |
4144 | * testsuite/libgomp.fortran/examples-4/declare_target-2.f90: Same. | |
4145 | ||
1bb52662 GA |
4146 | 2022-01-31 Martin Liska <mliska@suse.cz> |
4147 | ||
4148 | * acinclude.m4: Detect *_ld_is_mold and use it. | |
4149 | * configure: Regenerate. | |
4150 | ||
99f17e99 GA |
4151 | 2022-01-27 Tobias Burnus <tobias@codesourcery.com> |
4152 | ||
4153 | * libgomp.texi (OpenMP 5.0): Update implementation status. | |
4154 | ||
9dd44357 GA |
4155 | 2022-01-21 Thomas Schwinge <thomas@codesourcery.com> |
4156 | ||
4157 | * testsuite/libgomp.oacc-c-c++-common/loop-gwv-1.c: Strengthen. | |
4158 | * testsuite/libgomp.oacc-c-c++-common/loop-gwv-2.c: Likewise. | |
4159 | * testsuite/libgomp.oacc-c-c++-common/loop-red-gwv-1.c: Likewise. | |
4160 | * testsuite/libgomp.oacc-c-c++-common/loop-red-v-1.c: Likewise. | |
4161 | * testsuite/libgomp.oacc-c-c++-common/loop-red-v-2.c: Likewise. | |
4162 | * testsuite/libgomp.oacc-c-c++-common/loop-red-w-1.c: Likewise. | |
4163 | * testsuite/libgomp.oacc-c-c++-common/loop-red-w-2.c: Likewise. | |
4164 | * testsuite/libgomp.oacc-c-c++-common/loop-red-wv-1.c: Likewise. | |
4165 | * testsuite/libgomp.oacc-c-c++-common/loop-v-1.c: Likewise. | |
4166 | * testsuite/libgomp.oacc-c-c++-common/loop-w-1.c: Likewise. | |
4167 | * testsuite/libgomp.oacc-c-c++-common/loop-wv-1.c: Likewise. | |
4168 | * testsuite/libgomp.oacc-c-c++-common/routine-gwv-1.c: Likewise. | |
4169 | * testsuite/libgomp.oacc-c-c++-common/routine-v-1.c: Likewise. | |
4170 | * testsuite/libgomp.oacc-c-c++-common/routine-w-1.c: Likewise. | |
4171 | * testsuite/libgomp.oacc-c-c++-common/routine-wv-1.c: Likewise. | |
4172 | ||
fe1ad141 GA |
4173 | 2022-01-19 Marcel Vollweiler <marcel@codesourcery.com> |
4174 | ||
4175 | * config/gcn/icv-device.c: Make GOMP_DEVICE_NUM_VAR public (remove | |
4176 | "static") to make the device num available in the offload image. | |
4177 | ||
4178 | 2022-01-19 Martin Liska <mliska@suse.cz> | |
4179 | Thomas Schwinge <thomas@codesourcery.com> | |
4180 | ||
4181 | * testsuite/libgomp.oacc-c++/privatized-ref-2.C: Update scanning | |
4182 | patterns. | |
4183 | * testsuite/libgomp.oacc-c++/privatized-ref-3.C: Likewise. | |
4184 | * testsuite/libgomp.oacc-c-c++-common/acc_prof-kernels-1.c: | |
4185 | Likewise. | |
4186 | * testsuite/libgomp.oacc-c-c++-common/kernels-loop-2.c: Likewise. | |
4187 | * testsuite/libgomp.oacc-c-c++-common/parallel-dims.c: Likewise. | |
4188 | * testsuite/libgomp.oacc-c-c++-common/pr85486.c: Likewise. | |
4189 | * testsuite/libgomp.oacc-c-c++-common/pr95270-1.c: Likewise. | |
4190 | * testsuite/libgomp.oacc-c-c++-common/routine-nohost-2.c: | |
4191 | Likewise. | |
4192 | * testsuite/libgomp.oacc-c-c++-common/struct-copyout-1.c: | |
4193 | Likewise. | |
4194 | * testsuite/libgomp.oacc-c-c++-common/struct-copyout-2.c: | |
4195 | Likewise. | |
4196 | * testsuite/libgomp.oacc-c-c++-common/vector-length-64-1.c: | |
4197 | Likewise. | |
4198 | * testsuite/libgomp.oacc-fortran/attach-descriptor-1.f90: | |
4199 | Likewise. | |
4200 | * testsuite/libgomp.oacc-fortran/derivedtypes-arrays-1.f90: | |
4201 | Likewise. | |
4202 | * testsuite/libgomp.oacc-fortran/kernels-loop-2.f95: Likewise. | |
4203 | * testsuite/libgomp.oacc-fortran/parallel-dims.f90: Likewise. | |
4204 | * testsuite/libgomp.oacc-fortran/privatized-ref-1.f95: Likewise. | |
4205 | ||
7a761ae6 GA |
4206 | 2022-01-18 Martin Liska <mliska@suse.cz> |
4207 | ||
4208 | * testsuite/libgomp.oacc-c++/privatized-ref-2.C: Update keyword | |
4209 | in dg-warning. | |
4210 | * testsuite/libgomp.oacc-c++/privatized-ref-3.C: Likewise. | |
4211 | * testsuite/libgomp.oacc-c-c++-common/acc_prof-kernels-1.c: Likewise. | |
4212 | * testsuite/libgomp.oacc-c-c++-common/kernels-loop-2.c: Likewise. | |
4213 | * testsuite/libgomp.oacc-c-c++-common/parallel-dims.c: Likewise. | |
4214 | * testsuite/libgomp.oacc-c-c++-common/pr85486.c: Likewise. | |
4215 | * testsuite/libgomp.oacc-c-c++-common/pr95270-1.c: Likewise. | |
4216 | * testsuite/libgomp.oacc-c-c++-common/routine-nohost-2.c: Likewise. | |
4217 | * testsuite/libgomp.oacc-c-c++-common/struct-copyout-1.c: Likewise. | |
4218 | * testsuite/libgomp.oacc-c-c++-common/struct-copyout-2.c: Likewise. | |
4219 | * testsuite/libgomp.oacc-c-c++-common/vector-length-64-1.c: Likewise. | |
4220 | * testsuite/libgomp.oacc-fortran/attach-descriptor-1.f90: Likewise. | |
4221 | * testsuite/libgomp.oacc-fortran/derivedtypes-arrays-1.f90: Likewise. | |
4222 | * testsuite/libgomp.oacc-fortran/kernels-loop-2.f95: Likewise. | |
4223 | * testsuite/libgomp.oacc-fortran/parallel-dims.f90: Likewise. | |
4224 | * testsuite/libgomp.oacc-fortran/privatized-ref-1.f95: Likewise. | |
4225 | ||
fc829782 GA |
4226 | 2022-01-17 Thomas Schwinge <thomas@codesourcery.com> |
4227 | ||
4228 | * testsuite/libgomp.oacc-c++/privatized-ref-2.C: Extend. | |
4229 | * testsuite/libgomp.oacc-c++/privatized-ref-3.C: Likewise. | |
4230 | * testsuite/libgomp.oacc-fortran/privatized-ref-1.f95: Likewise. | |
4231 | ||
4232 | 2022-01-17 Julian Brown <julian@codesourcery.com> | |
4233 | Thomas Schwinge <thomas@codesourcery.com> | |
4234 | ||
4235 | * testsuite/libgomp.oacc-fortran/privatized-ref-1.f95: New test. | |
4236 | * testsuite/libgomp.oacc-c++/privatized-ref-2.C: New test. | |
4237 | * testsuite/libgomp.oacc-c++/privatized-ref-3.C: New test. | |
4238 | ||
1e942d7c GA |
4239 | 2022-01-16 Kwok Cheung Yeung <kcy@codesourcery.com> |
4240 | Andrew Stubbs <ams@codesourcery.com> | |
4241 | ||
4242 | * plugin/plugin-gcn.c (parse_target_attributes): Automatically set | |
4243 | the number of teams and threads if necessary. | |
4244 | (gcn_exec): Automatically set the number of gangs and workers if | |
4245 | necessary. | |
4246 | ||
ad3f0d08 GA |
4247 | 2022-01-13 Hafiz Abid Qadeer <abidh@codesourcery.com> |
4248 | ||
4249 | * testsuite/libgomp.fortran/allocate-1.c: New test. | |
4250 | * testsuite/libgomp.fortran/allocate-1.f90: New test. | |
4251 | * libgomp.texi: Remove string that says that allocate clause | |
4252 | support is for C/C++ only. | |
4253 | ||
4254 | 2022-01-13 Thomas Schwinge <thomas@codesourcery.com> | |
4255 | ||
4256 | * testsuite/libgomp.c-c++-common/on_device_arch.h | |
4257 | (any_device_arch, any_device_arch_intel_mic): New. | |
4258 | * testsuite/lib/libgomp.exp | |
4259 | (check_effective_target_offload_device_any_intel_mic): New. | |
4260 | * testsuite/libgomp.c-c++-common/target-45.c: Use it. | |
4261 | * testsuite/libgomp.fortran/target10.f90: Likewise. | |
4262 | ||
4263 | 2022-01-13 Thomas Schwinge <thomas@codesourcery.com> | |
4264 | ||
4265 | PR tree-optimization/102192 | |
4266 | * testsuite/libgomp.oacc-fortran/routine-10.f90: Document current | |
4267 | '-Wuninitialized' diagnostics. | |
4268 | ||
4269 | 2022-01-13 Thomas Schwinge <thomas@codesourcery.com> | |
4270 | ||
4271 | * testsuite/libgomp.oacc-c-c++-common/vred2d-128.c: Document | |
4272 | current '-Wuninitialized' diagnostics. | |
4273 | * testsuite/libgomp.oacc-fortran/data-5.f90: Likewise. | |
4274 | * testsuite/libgomp.oacc-fortran/gemm-2.f90: Likewise. | |
4275 | * testsuite/libgomp.oacc-fortran/gemm.f90: Likewise. | |
4276 | * testsuite/libgomp.oacc-fortran/optional-reduction.f90: Likewise. | |
4277 | * testsuite/libgomp.oacc-fortran/parallel-reduction.f90: Likewise. | |
4278 | * testsuite/libgomp.oacc-fortran/pr70643.f90: Likewise. | |
4279 | * testsuite/libgomp.oacc-fortran/pr96628-part1.f90: Likewise. | |
4280 | * testsuite/libgomp.oacc-fortran/privatized-ref-2.f90: Likewise. | |
4281 | * testsuite/libgomp.oacc-fortran/reduction-5.f90: Likewise. | |
4282 | * testsuite/libgomp.oacc-fortran/reduction-7.f90: Likewise. | |
4283 | * testsuite/libgomp.oacc-fortran/reference-reductions.f90: | |
4284 | Likewise. | |
4285 | ||
4286 | 2022-01-13 Thomas Schwinge <thomas@codesourcery.com> | |
4287 | ||
4288 | * testsuite/libgomp.c/address-space-1.c: Remove 'dg-xfail-run-if' | |
4289 | for 'offload_device_intel_mic'. | |
4290 | ||
4291 | 2022-01-13 Julian Brown <julian@codesourcery.com> | |
4292 | Thomas Schwinge <thomas@codesourcery.com> | |
4293 | ||
4294 | * testsuite/libgomp.oacc-c-c++-common/f-asyncwait-1.c: Remove GCN | |
4295 | offloading execution XFAIL. | |
4296 | ||
4297 | 2022-01-13 Thomas Schwinge <thomas@codesourcery.com> | |
4298 | ||
4299 | PR middle-end/100280 | |
4300 | * testsuite/libgomp.oacc-c-c++-common/declare-vla-kernels-decompose-ice-1.c: | |
4301 | Update. | |
4302 | * testsuite/libgomp.oacc-c-c++-common/f-asyncwait-1.c: Likewise. | |
4303 | * testsuite/libgomp.oacc-c-c++-common/kernels-decompose-1.c: | |
4304 | Likewise. | |
4305 | ||
4306 | 2022-01-13 Thomas Schwinge <thomas@codesourcery.com> | |
4307 | ||
4308 | * testsuite/libgomp.oacc-c-c++-common/declare-vla-kernels-decompose-ice-1.c: | |
4309 | Enhance. | |
4310 | * testsuite/libgomp.oacc-c-c++-common/declare-vla-kernels-decompose.c: | |
4311 | Likewise. | |
4312 | * testsuite/libgomp.oacc-c-c++-common/declare-vla.c: Likewise. | |
4313 | * testsuite/libgomp.oacc-c-c++-common/f-asyncwait-1.c: Likewise. | |
4314 | * testsuite/libgomp.oacc-c-c++-common/f-asyncwait-2.c: Likewise. | |
4315 | * testsuite/libgomp.oacc-c-c++-common/f-asyncwait-3.c: Likewise. | |
4316 | * testsuite/libgomp.oacc-c-c++-common/kernels-decompose-1.c: | |
4317 | Likewise. | |
4318 | * testsuite/libgomp.oacc-fortran/asyncwait-1.f90: Likewise. | |
4319 | * testsuite/libgomp.oacc-fortran/asyncwait-2.f90: Likewise. | |
4320 | * testsuite/libgomp.oacc-fortran/asyncwait-3.f90: Likewise. | |
4321 | * testsuite/libgomp.oacc-fortran/pr94358-1.f90: Likewise. | |
4322 | ||
7d11b64b GA |
4323 | 2022-01-04 Tobias Burnus <tobias@codesourcery.com> |
4324 | ||
4325 | * testsuite/libgomp.c-c++-common/target-45.c: Iterate over all devices. | |
4326 | * testsuite/libgomp.fortran/target10.f90: Likewise. | |
4327 | ||
4328 | 2022-01-04 Chung-Lin Tang <cltang@codesourcery.com> | |
4329 | ||
4330 | * plugin/plugin-gcn.c (GOMP_OFFLOAD_load_image): Change uses of STRINGX | |
4331 | into XSTRING when looking for GOMP_DEVICE_NUM_VAR in offload image. | |
4332 | * plugin/plugin-nvptx.c (GOMP_OFFLOAD_load_image): Likewise. | |
4333 | ||
a4ae8c37 GA |
4334 | 2022-01-03 Jakub Jelinek <jakub@redhat.com> |
4335 | ||
4336 | * libgomp.texi: Bump @copying's copyright year. | |
4337 | ||
7f1239cb GA |
4338 | 2021-12-13 Tobias Burnus <tobias@codesourcery.com> |
4339 | ||
4340 | * libgomp.texi (OpenMP 5.1): Set Fortran support for atomic to 'Y'. | |
4341 | * testsuite/libgomp.fortran/atomic-19.f90: New test. | |
4342 | ||
0bceef16 GA |
4343 | 2021-12-10 Andrew Stubbs <ams@codesourcery.com> |
4344 | ||
4345 | * plugin/plugin-gcn.c (struct gcn_image_desc): Remove global_variables. | |
4346 | (GOMP_OFFLOAD_load_image): Locate the offload variables via the | |
4347 | table, not individual symbols. | |
4348 | ||
4b4839e3 GA |
4349 | 2021-12-09 Chung-Lin Tang <cltang@codesourcery.com> |
4350 | ||
4351 | * testsuite/libgomp.c++/target-lambda-1.C: Only run under | |
4352 | "target offload_device_nonshared_as" | |
4353 | * testsuite/libgomp.c++/target-this-3.C: Likewise. | |
4354 | * testsuite/libgomp.c++/target-this-4.C: Likewise. | |
4355 | ||
641ff219 GA |
4356 | 2021-12-08 Chung-Lin Tang <cltang@codesourcery.com> |
4357 | ||
4358 | * target.c (gomp_map_vars_existing): Make sure attached pointer is | |
4359 | not overwritten during cross-host/device copying. | |
4360 | (gomp_update): Likewise. | |
4361 | (gomp_exit_data): Likewise. | |
4362 | * testsuite/libgomp.c++/target-11.C: Adjust testcase. | |
4363 | * testsuite/libgomp.c++/target-12.C: Likewise. | |
4364 | * testsuite/libgomp.c++/target-15.C: Likewise. | |
4365 | * testsuite/libgomp.c++/target-16.C: Likewise. | |
4366 | * testsuite/libgomp.c++/target-17.C: Likewise. | |
4367 | * testsuite/libgomp.c++/target-21.C: Likewise. | |
4368 | * testsuite/libgomp.c++/target-23.C: Likewise. | |
4369 | * testsuite/libgomp.c/target-23.c: Likewise. | |
4370 | * testsuite/libgomp.c/target-29.c: Likewise. | |
4371 | * testsuite/libgomp.c-c++-common/target-implicit-map-2.c: New testcase. | |
4372 | ||
4373 | 2021-12-08 Chung-Lin Tang <cltang@codesourcery.com> | |
4374 | ||
4375 | PR middle-end/92120 | |
4376 | * libgomp.h (gomp_attach_pointer): Add bool parameter. | |
4377 | * oacc-mem.c (acc_attach_async): Update call to gomp_attach_pointer. | |
4378 | (goacc_enter_data_internal): Likewise. | |
4379 | * target.c (gomp_map_vars_existing): Update assert condition to | |
4380 | include GOMP_MAP_ATTACH_ZERO_LENGTH_ARRAY_SECTION. | |
4381 | (gomp_map_pointer): Add 'bool allow_zero_length_array_sections' | |
4382 | parameter, add support for mapping a pointer with NULL target. | |
4383 | (gomp_attach_pointer): Add 'bool allow_zero_length_array_sections' | |
4384 | parameter, add support for attaching a pointer with NULL target. | |
4385 | (gomp_map_vars_internal): Update calls to gomp_map_pointer and | |
4386 | gomp_attach_pointer, add handling for | |
4387 | GOMP_MAP_ATTACH_ZERO_LENGTH_ARRAY_SECTION, and | |
4388 | GOMP_MAP_POINTER_TO_ZERO_LENGTH_ARRAY_SECTION cases. | |
4389 | * testsuite/libgomp.c++/target-23.C: New testcase. | |
4390 | * testsuite/libgomp.c++/target-lambda-1.C: New testcase. | |
4391 | * testsuite/libgomp.c++/target-lambda-2.C: New testcase. | |
4392 | * testsuite/libgomp.c++/target-this-1.C: New testcase. | |
4393 | * testsuite/libgomp.c++/target-this-2.C: New testcase. | |
4394 | * testsuite/libgomp.c++/target-this-3.C: New testcase. | |
4395 | * testsuite/libgomp.c++/target-this-4.C: New testcase. | |
4396 | * testsuite/libgomp.c++/target-this-5.C: New testcase. | |
4397 | ||
70e4cb66 GA |
4398 | 2021-12-04 Tobias Burnus <tobias@codesourcery.com> |
4399 | ||
4400 | * libgomp.texi (OpenMP 5.1): Update status. | |
4401 | ||
4402 | 2021-12-04 Tobias Burnus <tobias@codesourcery.com> | |
4403 | ||
4404 | * libgomp.texi (OMP_PLACES): Extend description for OMP 5.1 changes. | |
4405 | ||
ea6ef320 GA |
4406 | 2021-12-02 Chung-Lin Tang <cltang@codesourcery.com> |
4407 | ||
4408 | PR fortran/90030 | |
4409 | * testsuite/libgomp.oacc-fortran/pr90030.f90: New test. | |
4410 | * testsuite/libgomp.fortran/pr90030.f90: New test. | |
4411 | ||
c177e806 GA |
4412 | 2021-11-30 Kwok Cheung Yeung <kcy@codesourcery.com> |
4413 | Thomas Schwinge <thomas@codesourcery.com> | |
4414 | ||
4415 | * testsuite/libgomp.oacc-fortran/parallel-dims.f90: Remove | |
4416 | temporary skip. | |
4417 | ||
4418 | 2021-11-30 Cesar Philippidis <cesar@codesourcery.com> | |
4419 | Thomas Schwinge <thomas@codesourcery.com> | |
4420 | ||
4421 | * testsuite/libgomp.oacc-fortran/parallel-dims.f90: Temporarily | |
4422 | skip. | |
4423 | ||
87cd82c8 GA |
4424 | 2021-11-29 Richard Biener <rguenther@suse.de> |
4425 | ||
4426 | * oacc-plugin.c (GOMP_PLUGIN_acc_default_dim): Remove unreachable | |
4427 | return. | |
4428 | ||
d9ca4b45 GA |
4429 | 2021-11-24 Jakub Jelinek <jakub@redhat.com> |
4430 | ||
4431 | PR middle-end/103384 | |
4432 | * testsuite/libgomp.c/declare-variant-2.c: New test. | |
4433 | ||
483092d3 GA |
4434 | 2021-11-18 David Edelsohn <dje.gcc@gmail.com> |
4435 | ||
4436 | * alloc.c (gomp_aligned_alloc): Fix typo. | |
4437 | ||
4438 | 2021-11-18 Jakub Jelinek <jakub@redhat.com> | |
4439 | ||
4440 | PR libgomp/102838 | |
4441 | * libgomp.h (GOMP_USE_ALIGNED_WORK_SHARES): Define if | |
4442 | GOMP_HAVE_EFFICIENT_ALIGNED_ALLOC is defined and __AMDGCN__ is not. | |
4443 | (struct gomp_work_share): Use GOMP_USE_ALIGNED_WORK_SHARES instead of | |
4444 | GOMP_HAVE_EFFICIENT_ALIGNED_ALLOC. | |
4445 | * work.c (alloc_work_share, gomp_work_share_start): Likewise. | |
4446 | * team.c (gomp_new_team): If GOMP_USE_ALIGNED_WORK_SHARES, use | |
4447 | gomp_aligned_alloc instead of team_malloc. | |
4448 | ||
4449 | 2021-11-18 Jakub Jelinek <jakub@redhat.com> | |
4450 | ||
4451 | PR libgomp/102838 | |
4452 | * alloc.c (gomp_aligned_alloc): Prefer _aligned_alloc over | |
4453 | memalign over posix_memalign over aligned_alloc over fallback | |
4454 | with malloc instead of aligned_alloc over _aligned_alloc over | |
4455 | posix_memalign over memalign over fallback with malloc. For | |
4456 | aligned_alloc, round up size up to multiple of al. | |
4457 | ||
6b1695f4 GA |
4458 | 2021-11-16 Jakub Jelinek <jakub@redhat.com> |
4459 | ||
4460 | * libgomp.texi (OpenMP 5.1): Mark thread_limit clause to target | |
4461 | construct as implemented. | |
4462 | ||
e2b57363 GA |
4463 | 2021-11-15 Tobias Burnus <tobias@codesourcery.com> |
4464 | ||
4465 | * testsuite/libgomp.fortran/thread-limit-1.f90: New test. | |
4466 | ||
4467 | 2021-11-15 Jakub Jelinek <jakub@redhat.com> | |
4468 | ||
4469 | * task.c (gomp_create_target_task): Copy args array as well. | |
4470 | * target.c (gomp_target_fallback): Add args argument. | |
4471 | Set gomp_icv (true)->thread_limit_var if thread_limit is present. | |
4472 | (GOMP_target): Adjust gomp_target_fallback caller. | |
4473 | (GOMP_target_ext): Likewise. | |
4474 | (gomp_target_task_fn): Likewise. | |
4475 | * config/nvptx/team.c (gomp_nvptx_main): Set | |
4476 | gomp_global_icv.thread_limit_var. | |
4477 | * testsuite/libgomp.c-c++-common/thread-limit-1.c: New test. | |
4478 | ||
4479 | 2021-11-15 Jakub Jelinek <jakub@redhat.com> | |
4480 | ||
4481 | * config/nvptx/team.c (__gomp_team_num): Define as | |
4482 | __attribute__((shared)) var. | |
4483 | (gomp_nvptx_main): Initialize __gomp_team_num to 0. | |
4484 | * config/nvptx/target.c (__gomp_team_num): Declare as | |
4485 | extern __attribute__((shared)) var. | |
4486 | (GOMP_teams4): Use __gomp_team_num as the team number instead of | |
4487 | %ctaid.x. If first, initialize it to %ctaid.x. If num_teams_lower | |
4488 | is bigger than num_blocks, use num_teams_lower teams and arrange for | |
4489 | bumping of __gomp_team_num if !first and returning false once we run | |
4490 | out of teams. | |
4491 | * config/nvptx/teams.c (__gomp_team_num): Declare as | |
4492 | extern __attribute__((shared)) var. | |
4493 | (omp_get_team_num): Return __gomp_team_num value instead of %ctaid.x. | |
4494 | ||
4495 | 2021-11-15 Jakub Jelinek <jakub@redhat.com> | |
4496 | ||
4497 | * testsuite/libgomp.c/teams-5.c: New test. | |
4498 | ||
af2852b9 GA |
4499 | 2021-11-12 Jakub Jelinek <jakub@redhat.com> |
4500 | ||
4501 | PR target/103201 | |
4502 | * config/gcn/icv-device.c (omp_get_num_teams, omp_get_team_num): Move | |
4503 | to ... | |
4504 | * config/gcn/teams.c: ... here. New file. | |
4505 | ||
4506 | 2021-11-12 Chung-Lin Tang <cltang@codesourcery.com> | |
4507 | ||
4508 | * target.c (gomp_map_vars_existing): Add 'bool implicit' parameter, add | |
4509 | implicit map handling to allow a "superset" existing map as valid case. | |
4510 | (get_kind): Adjust to filter out GOMP_MAP_IMPLICIT bits in return value. | |
4511 | (get_implicit): New function to extract implicit status. | |
4512 | (gomp_map_fields_existing): Adjust arguments in calls to | |
4513 | gomp_map_vars_existing, and add uses of get_implicit. | |
4514 | (gomp_map_vars_internal): Likewise. | |
4515 | * testsuite/libgomp.c-c++-common/target-implicit-map-1.c: New test. | |
4516 | ||
4517 | 2021-11-12 Jakub Jelinek <jakub@redhat.com> | |
4518 | ||
4519 | * libgomp_g.h (GOMP_teams4): Declare. | |
4520 | * libgomp.map (GOMP_5.1): Export GOMP_teams4. | |
4521 | * target.c (GOMP_teams4): New function. | |
4522 | * config/nvptx/target.c (GOMP_teams): Remove. | |
4523 | (GOMP_teams4): New function. | |
4524 | * config/gcn/target.c (GOMP_teams): Remove. | |
4525 | (GOMP_teams4): New function. | |
4526 | * testsuite/libgomp.c/teams-4.c (main): Expect exactly 2 | |
4527 | teams instead of <= 2. | |
4528 | * testsuite/libgomp.c-c++-common/teams-2.c: New test. | |
4529 | ||
b39265d4 GA |
4530 | 2021-11-11 Tobias Burnus <tobias@codesourcery.com> |
4531 | ||
4532 | * testsuite/libgomp.fortran/teams-1.f90: New test. | |
4533 | ||
4534 | 2021-11-11 Jakub Jelinek <jakub@redhat.com> | |
4535 | ||
4536 | * libgomp.h (struct gomp_thread): Add num_teams and team_num members. | |
4537 | * team.c (struct gomp_thread_start_data): Likewise. | |
4538 | (gomp_thread_start): Initialize thr->num_teams and thr->team_num. | |
4539 | (gomp_team_start): Initialize start_data->num_teams and | |
4540 | start_data->team_num. Update nthr->num_teams and nthr->team_num. | |
4541 | * teams.c (gomp_num_teams, gomp_team_num): Remove. | |
4542 | (GOMP_teams_reg): Set and restore thr->num_teams and thr->team_num | |
4543 | instead of gomp_num_teams and gomp_team_num. | |
4544 | (omp_get_num_teams): Use thr->num_teams + 1 instead of gomp_num_teams. | |
4545 | (omp_get_team_num): Use thr->team_num instead of gomp_team_num. | |
4546 | * testsuite/libgomp.c/teams-4.c: New test. | |
4547 | ||
4548 | 2021-11-11 Jakub Jelinek <jakub@redhat.com> | |
4549 | ||
4550 | * testsuite/libgomp.c-c++-common/teams-1.c: New test. | |
4551 | ||
c9b1334e GA |
4552 | 2021-11-09 Thomas Schwinge <thomas@codesourcery.com> |
4553 | ||
4554 | * env.c (parse_gomp_openacc_dim): Restore parsing. | |
4555 | ||
0ef94462 GA |
4556 | 2021-10-30 Tobias Burnus <tobias@codesourcery.com> |
4557 | ||
4558 | PR middle-end/102972 | |
4559 | * testsuite/libgomp.c-c++-common/icv-3.c: Nest API calls inside | |
4560 | parallel construct. | |
4561 | * testsuite/libgomp.c-c++-common/icv-4.c: Likewise. | |
4562 | * testsuite/libgomp.c/target-3.c: Likewise. | |
4563 | * testsuite/libgomp.c/target-5.c: Likewise. | |
4564 | * testsuite/libgomp.c/target-6.c: Likewise. | |
4565 | * testsuite/libgomp.c/target-teams-1.c: Likewise. | |
4566 | * testsuite/libgomp.c/teams-1.c: Likewise. | |
4567 | * testsuite/libgomp.c/thread-limit-2.c: Likewise. | |
4568 | * testsuite/libgomp.c/thread-limit-3.c: Likewise. | |
4569 | * testsuite/libgomp.c/thread-limit-4.c: Likewise. | |
4570 | * testsuite/libgomp.c/thread-limit-5.c: Likewise. | |
4571 | * testsuite/libgomp.fortran/icv-3.f90: Likewise. | |
4572 | * testsuite/libgomp.fortran/icv-4.f90: Likewise. | |
4573 | * testsuite/libgomp.fortran/teams1.f90: Likewise. | |
4574 | ||
4c61300f GA |
4575 | 2021-10-29 Aldy Hernandez <aldyh@redhat.com> |
4576 | ||
4577 | * testsuite/libgomp.graphite/force-parallel-4.c: Adjust for threading changes. | |
4578 | * testsuite/libgomp.graphite/force-parallel-8.c: Same. | |
4579 | ||
04a2cf3f GA |
4580 | 2021-10-27 Jakub Jelinek <jakub@redhat.com> |
4581 | ||
4582 | * libgomp.texi (OpenMP 5.0): Mention that Non-rectangular loop nests | |
4583 | aren't implemented for Fortran yet. | |
4584 | ||
4585 | 2021-10-27 Jakub Jelinek <jakub@redhat.com> | |
4586 | ||
4587 | * testsuite/libgomp.c/loop-26.c: New test. | |
4588 | * testsuite/libgomp.c/loop-27.c: New test. | |
4589 | ||
b621508d GA |
4590 | 2021-10-25 Tobias Burnus <tobias@codesourcery.com> |
4591 | ||
4592 | PR testsuite/102910 | |
4593 | * testsuite/libgomp.oacc-c-c++-common/loop-gwv-2.c: Use __builtin_alloca | |
4594 | instead of #include <alloca.h> + alloca. | |
4595 | ||
ae5c5406 GA |
4596 | 2021-10-21 Chung-Lin Tang <cltang@codesourcery.com> |
4597 | ||
4598 | * libgomp.texi (Support of strictly structured blocks in Fortran): | |
4599 | Adjust to 'Y'. | |
4600 | * testsuite/libgomp.fortran/task-reduction-16.f90: Adjust testcase. | |
4601 | ||
674dda6b GA |
4602 | 2021-10-20 Chung-Lin Tang <cltang@codesourcery.com> |
4603 | ||
4604 | * testsuite/libgomp.fortran/target-in-reduction-1.f90: New test. | |
4605 | * testsuite/libgomp.fortran/target-in-reduction-2.f90: New test. | |
4606 | ||
4607 | 2021-10-20 Jakub Jelinek <jakub@redhat.com> | |
4608 | ||
4609 | PR libgomp/102838 | |
4610 | * libgomp.h (struct gomp_work_share_1st_cacheline): New type. | |
4611 | (struct gomp_work_share): Only use aligned(64) attribute if | |
4612 | GOMP_HAVE_EFFICIENT_ALIGNED_ALLOC is defined, otherwise just | |
4613 | add padding before lock to ensure lock is at offset 64 bytes | |
4614 | into the structure. | |
4615 | (gomp_workshare_struct_check1, gomp_workshare_struct_check2): | |
4616 | New poor man's static assertions. | |
4617 | * work.c (gomp_work_share_start): Use gomp_aligned_alloc instead of | |
4618 | gomp_malloc if GOMP_HAVE_EFFICIENT_ALIGNED_ALLOC. | |
4619 | ||
4620 | 2021-10-20 Aldy Hernandez <aldyh@redhat.com> | |
4621 | Richard Biener <rguenther@suse.de> | |
4622 | ||
4623 | * testsuite/libgomp.graphite/force-parallel-5.c: Remove xfail. | |
4624 | ||
ce4d1f63 GA |
4625 | 2021-10-18 Jakub Jelinek <jakub@redhat.com> |
4626 | ||
4627 | * config/linux/affinity.c (gomp_affinity_init_numa_domains): Add | |
4628 | && gomp_places_list_len < count after nfirst <= nlast loop condition. | |
4629 | ||
4630 | 2021-10-18 Tobias Burnus <tobias@codesourcery.com> | |
4631 | ||
4632 | PR fortran/102086 | |
4633 | PR fortran/92189 | |
4634 | PR fortran/92621 | |
4635 | PR fortran/101308 | |
4636 | PR fortran/101309 | |
4637 | PR fortran/101635 | |
4638 | PR fortran/92482 | |
4639 | * testsuite/libgomp.fortran/optional-bind-c.f90: New test. | |
4640 | ||
93d183a5 GA |
4641 | 2021-10-15 Jakub Jelinek <jakub@redhat.com> |
4642 | ||
4643 | * testsuite/libgomp.c/affinity-1.c (struct places): Change name field | |
4644 | type from char [50] to const char *. | |
4645 | (places_array): Add a testcase for simplified syntax place followed | |
4646 | by length or length and stride. | |
4647 | ||
4648 | 2021-10-15 Jakub Jelinek <jakub@redhat.com> | |
4649 | ||
4650 | * env.c (parse_one_place): Handle non-negative-number the same | |
4651 | as { non-negative-number }. Reject even !number:1 and | |
4652 | !number:1:stride or !place:1 or !place:1:stride instead of just | |
4653 | length other than 1. | |
4654 | * libgomp.texi (OpenMP 5.1): Document OMP_PLACES syntax extensions | |
4655 | and OMP_NUM_TEAMS/OMP_TEAMS_THREAD_LIMIT and | |
4656 | omp_{set_num,get_max}_teams/omp_{s,g}et_teams_thread_limit features | |
4657 | as implemented. | |
4658 | * testsuite/libgomp.c/affinity-1.c: Add a test for the 5.1 place | |
4659 | simplified syntax. | |
4660 | ||
4661 | 2021-10-15 Jakub Jelinek <jakub@redhat.com> | |
4662 | ||
4663 | * env.c (parse_schedule): For strtoul or strtoull calls which don't | |
4664 | clearly reject return value 0 as invalid handle the case where end | |
4665 | pointer is the same as first argument as invalid. | |
4666 | (parse_unsigned_long_1): Likewise. | |
4667 | (parse_one_place): Likewise. | |
4668 | (parse_places_var): Likewise. | |
4669 | (parse_stacksize): Likewise. | |
4670 | (parse_spincount): Likewise. | |
4671 | (parse_affinity): Likewise. | |
4672 | (parse_gomp_openacc_dim): Likewise. Avoid strict aliasing violation. | |
4673 | Make code valid C89. | |
4674 | * config/linux/affinity.c (gomp_affinity_find_last_cache_level): | |
4675 | For strtoul calls which don't clearly reject return value 0 as | |
4676 | invalid handle the case where end pointer is the same as first | |
4677 | argument as invalid. | |
4678 | (gomp_affinity_init_level_1): Likewise. | |
4679 | (gomp_affinity_init_numa_domains): Likewise. | |
4680 | * config/rtems/proc.c (parse_thread_pools): Likewise. | |
4681 | ||
4682 | 2021-10-15 Jakub Jelinek <jakub@redhat.com> | |
4683 | ||
4684 | * config/linux/affinity.c (gomp_affinity_init_level_1): For level 1 | |
4685 | after creating count places clean up and return immediately. | |
4686 | * testsuite/libgomp.c/places-6.c: New test. | |
4687 | * testsuite/libgomp.c/places-7.c: New test. | |
4688 | * testsuite/libgomp.c/places-8.c: New test. | |
4689 | * testsuite/libgomp.c/places-9.c: New test. | |
4690 | * testsuite/libgomp.c/places-10.c: New test. | |
4691 | ||
4692 | 2021-10-15 Jakub Jelinek <jakub@redhat.com> | |
4693 | ||
4694 | * env.c (parse_places_var): Handle numa_domains as level 5. | |
4695 | * config/linux/affinity.c (gomp_affinity_init_numa_domains): New | |
4696 | function. | |
4697 | (gomp_affinity_init_level): Use it instead of | |
4698 | gomp_affinity_init_level_1 for level == 5. | |
4699 | * testsuite/libgomp.c/places-5.c: New test. | |
4700 | ||
4701 | 2021-10-15 Jakub Jelinek <jakub@redhat.com> | |
4702 | ||
4703 | * env.c (parse_places_var): Handle ll_caches as level 4. | |
4704 | * config/linux/affinity.c (gomp_affinity_find_last_cache_level): New | |
4705 | function. | |
4706 | (gomp_affinity_init_level_1): Handle level 4 as logical cpus sharing | |
4707 | last level cache. | |
4708 | (gomp_affinity_init_level): Likewise. | |
4709 | * testsuite/libgomp.c/places-1.c: New test. | |
4710 | * testsuite/libgomp.c/places-2.c: New test. | |
4711 | * testsuite/libgomp.c/places-3.c: New test. | |
4712 | * testsuite/libgomp.c/places-4.c: New test. | |
4713 | ||
5d5885c9 GA |
4714 | 2021-10-14 Kwok Cheung Yeung <kcy@codesourcery.com> |
4715 | ||
4716 | * libgomp.texi (OpenMP 5.0): Update entry for declare variant | |
4717 | directive. | |
4718 | ||
4719 | 2021-10-14 Kwok Cheung Yeung <kcy@codesourcery.com> | |
4720 | ||
4721 | * testsuite/libgomp.fortran/declare-variant-1.f90: New test. | |
4722 | ||
52055987 GA |
4723 | 2021-10-12 Julian Brown <julian@codesourcery.com> |
4724 | ||
4725 | * target.c (gomp_copy_host2dev): Release device lock on cbuf | |
4726 | error path. | |
4727 | ||
4728 | 2021-10-12 Tobias Burnus <tobias@codesourcery.com> | |
4729 | ||
4730 | * testsuite/libgomp.fortran/icv-3.f90: New. | |
4731 | * testsuite/libgomp.fortran/icv-4.f90: New. | |
4732 | ||
4733 | 2021-10-12 Jakub Jelinek <jakub@redhat.com> | |
4734 | ||
4735 | * libgomp.texi (omp_get_max_teams, omp_get_teams_thread_limit, | |
4736 | omp_set_num_teams, omp_set_teams_thread_limit, OMP_NUM_TEAMS, | |
4737 | OMP_TEAMS_THREAD_LIMIT): Document. | |
4738 | ||
4739 | 2021-10-12 Jakub Jelinek <jakub@redhat.com> | |
4740 | ||
4741 | * libgomp.texi (omp_get_device_num): Move @node before omp_get_dynamic | |
4742 | to avoid makeinfo warnings. | |
4743 | ||
4744 | 2021-10-12 Jakub Jelinek <jakub@redhat.com> | |
4745 | ||
4746 | * testsuite/libgomp.c-c++-common/icv-3.c: New test. | |
4747 | * testsuite/libgomp.c-c++-common/icv-4.c: New test. | |
4748 | ||
4749 | 2021-10-12 Jakub Jelinek <jakub@redhat.com> | |
4750 | ||
4751 | PR libgomp/102628 | |
4752 | PR libgomp/102668 | |
4753 | * testsuite/libgomp.c-c++-common/alloc-9.c (main): Decrease | |
4754 | allocation sizes from 420 to 320 and from 768 to 568. | |
4755 | * testsuite/libgomp.fortran/alloc-11.f90: Likewise. | |
4756 | * testsuite/libgomp.fortran/alloc-1.F90: Change expected alignment | |
4757 | for cr from 16 to 4. | |
4758 | ||
4759 | 2021-10-12 Jakub Jelinek <jakub@redhat.com> | |
4760 | ||
4761 | * testsuite/libgomp.c/scan-11.c: Remove option -fvect-cost-model=cheap. | |
4762 | * testsuite/libgomp.c/scan-12.c: Likewise. | |
4763 | * testsuite/libgomp.c/scan-13.c: Likewise. | |
4764 | * testsuite/libgomp.c/scan-14.c: Likewise. | |
4765 | * testsuite/libgomp.c/scan-15.c: Likewise. | |
4766 | * testsuite/libgomp.c/scan-16.c: Likewise. | |
4767 | * testsuite/libgomp.c/scan-17.c: Likewise. | |
4768 | * testsuite/libgomp.c/scan-18.c: Likewise. | |
4769 | * testsuite/libgomp.c/scan-19.c: Likewise. | |
4770 | * testsuite/libgomp.c/scan-20.c: Likewise. | |
4771 | * testsuite/libgomp.c/scan-21.c: Likewise. | |
4772 | * testsuite/libgomp.c/scan-22.c: Likewise. | |
4773 | * testsuite/libgomp.c++/scan-9.C: Likewise. | |
4774 | * testsuite/libgomp.c++/scan-10.C: Likewise. | |
4775 | * testsuite/libgomp.c++/scan-11.C: Likewise. | |
4776 | * testsuite/libgomp.c++/scan-12.C: Likewise. | |
4777 | * testsuite/libgomp.c++/scan-13.C: Likewise. | |
4778 | * testsuite/libgomp.c++/scan-14.C: Likewise. | |
4779 | * testsuite/libgomp.c++/scan-15.C: Likewise. | |
4780 | * testsuite/libgomp.c++/scan-16.C: Likewise. | |
4781 | ||
4782 | 2021-10-12 Kewen Lin <linkw@linux.ibm.com> | |
4783 | ||
4784 | * testsuite/libgomp.graphite/force-parallel-8.c: Add --param max-stores-to-sink=0. | |
4785 | ||
732d7638 GA |
4786 | 2021-10-11 Marcel Vollweiler <marcel@codesourcery.com> |
4787 | ||
4788 | * allocator.c (omp_init_allocator): Replace omp_atv_sequential with | |
4789 | omp_atv_serialized. | |
4790 | * omp.h.in: Add deprecated flag for omp_atv_sequential. | |
4791 | * omp_lib.f90.in: Add deprecated flag for omp_atv_sequential. | |
4792 | * testsuite/libgomp.c-c++-common/alloc-10.c: New test. | |
4793 | * testsuite/libgomp.fortran/alloc-12.f90: New test. | |
4794 | ||
4795 | 2021-10-11 Jakub Jelinek <jakub@redhat.com> | |
4796 | ||
4797 | * omp.h.in (omp_set_num_teams, omp_get_max_teams, | |
4798 | omp_set_teams_thread_limit, omp_get_teams_thread_limit): Declare. | |
4799 | * omp_lib.f90.in (omp_set_num_teams, omp_get_max_teams, | |
4800 | omp_set_teams_thread_limit, omp_get_teams_thread_limit): Declare. | |
4801 | * omp_lib.h.in (omp_set_num_teams, omp_get_max_teams, | |
4802 | omp_set_teams_thread_limit, omp_get_teams_thread_limit): Declare. | |
4803 | * libgomp.h (gomp_nteams_var, gomp_teams_thread_limit_var): Declare. | |
4804 | * libgomp.map (OMP_5.1): Export omp_get_max_teams{,_}, | |
4805 | omp_get_teams_thread_limit{,_}, omp_set_num_teams{,_,_8_} and | |
4806 | omp_set_teams_thread_limit{,_,_8_}. | |
4807 | * icv.c (omp_set_num_teams, omp_get_max_teams, | |
4808 | omp_set_teams_thread_limit, omp_get_teams_thread_limit): New | |
4809 | functions. | |
4810 | * env.c (gomp_nteams_var, gomp_teams_thread_limit_var): Define. | |
4811 | (omp_display_env): Print OMP_NUM_TEAMS and OMP_TEAMS_THREAD_LIMIT. | |
4812 | (initialize_env): Handle OMP_NUM_TEAMS and OMP_TEAMS_THREAD_LIMIT env | |
4813 | vars. | |
4814 | * teams.c (GOMP_teams_reg): If thread_limit is not specified, use | |
4815 | gomp_teams_thread_limit_var as fallback if not zero. If num_teams | |
4816 | is not specified, use gomp_nteams_var. | |
4817 | * fortran.c (omp_set_num_teams, omp_get_max_teams, | |
4818 | omp_set_teams_thread_limit, omp_get_teams_thread_limit): Add | |
4819 | ialias_redirect. | |
4820 | (omp_set_num_teams_, omp_set_num_teams_8_, omp_get_max_teams_, | |
4821 | omp_set_teams_thread_limit_, omp_set_teams_thread_limit_8_, | |
4822 | omp_get_teams_thread_limit_): New functions. | |
4823 | ||
c9db17b8 GA |
4824 | 2021-10-09 liuhongt <hongtao.liu@intel.com> |
4825 | ||
4826 | * testsuite/libgomp.c++/scan-10.C: Add option -fvect-cost-model=cheap. | |
4827 | * testsuite/libgomp.c++/scan-11.C: Ditto. | |
4828 | * testsuite/libgomp.c++/scan-12.C: Ditto. | |
4829 | * testsuite/libgomp.c++/scan-13.C: Ditto. | |
4830 | * testsuite/libgomp.c++/scan-14.C: Ditto. | |
4831 | * testsuite/libgomp.c++/scan-15.C: Ditto. | |
4832 | * testsuite/libgomp.c++/scan-16.C: Ditto. | |
4833 | * testsuite/libgomp.c++/scan-9.C: Ditto. | |
4834 | * testsuite/libgomp.c-c++-common/lastprivate-conditional-7.c: Ditto. | |
4835 | * testsuite/libgomp.c-c++-common/lastprivate-conditional-8.c: Ditto. | |
4836 | * testsuite/libgomp.c/scan-11.c: Ditto. | |
4837 | * testsuite/libgomp.c/scan-12.c: Ditto. | |
4838 | * testsuite/libgomp.c/scan-13.c: Ditto. | |
4839 | * testsuite/libgomp.c/scan-14.c: Ditto. | |
4840 | * testsuite/libgomp.c/scan-15.c: Ditto. | |
4841 | * testsuite/libgomp.c/scan-16.c: Ditto. | |
4842 | * testsuite/libgomp.c/scan-17.c: Ditto. | |
4843 | * testsuite/libgomp.c/scan-18.c: Ditto. | |
4844 | * testsuite/libgomp.c/scan-19.c: Ditto. | |
4845 | * testsuite/libgomp.c/scan-20.c: Ditto. | |
4846 | * testsuite/libgomp.c/scan-21.c: Ditto. | |
4847 | * testsuite/libgomp.c/scan-22.c: Ditto. | |
4848 | ||
4849 | 2021-10-09 Jakub Jelinek <jakub@redhat.com> | |
4850 | ||
4851 | * libgomp.texi (OpenMP 5.1): Mention implemented support for | |
4852 | structured block sequences in C/C++. Mention support for | |
4853 | unconstrained/reproducible modifiers on order clause. | |
4854 | Mention partial (C/C++ only) support of extentensions to atomics | |
4855 | construct. Mention partial (C/C++ on clause only) support of | |
4856 | align/allocator modifiers on allocate clause. | |
4857 | ||
e3e07b89 GA |
4858 | 2021-10-02 Tobias Burnus <tobias@codesourcery.com> |
4859 | ||
4860 | * testsuite/libgomp.fortran/order-reproducible-1.f90: New test | |
4861 | based on libgomp.c-c++-common/order-reproducible-1.c. | |
4862 | * testsuite/libgomp.fortran/order-reproducible-2.f90: Likewise. | |
4863 | * testsuite/libgomp.fortran/my-usleep.c: New test. | |
4864 | ||
9d116bcc GA |
4865 | 2021-10-01 Tobias Burnus <tobias@codesourcery.com> |
4866 | ||
4867 | * testsuite/libgomp.fortran/alloc-10.f90: Fix alignment check. | |
4868 | * testsuite/libgomp.fortran/alloc-7.f90: Fix array access. | |
4869 | * testsuite/libgomp.fortran/alloc-8.f90: Likewise. | |
4870 | * testsuite/libgomp.fortran/alloc-11.f90: New test for omp_realloc, | |
4871 | based on libgomp.c-c++-common/alloc-9.c. | |
4872 | ||
4873 | 2021-10-01 Jakub Jelinek <jakub@redhat.com> | |
4874 | ||
4875 | * testsuite/libgomp.c-c++-common/order-reproducible-1.c: New test. | |
4876 | * testsuite/libgomp.c-c++-common/order-reproducible-2.c: New test. | |
4877 | ||
4878 | 2021-10-01 Jakub Jelinek <jakub@redhat.com> | |
4879 | ||
4880 | * affinity-fmt.c (omp_get_team_num, omp_get_num_teams): Add | |
4881 | ialias_redirect. | |
4882 | * env.c (handle_omp_display_env): Use ialias_call. | |
4883 | * icv-device.c: Move ialias right below each function. | |
4884 | (omp_get_device_num): Use ialias_call. | |
4885 | * fortran.c (omp_fulfill_event): Add ialias_redirect. | |
4886 | * icv.c (omp_get_active_level): Add ialias_redirect. | |
4887 | ||
4888 | 2021-10-01 Jakub Jelinek <jakub@redhat.com> | |
4889 | ||
4890 | * omp.h.in (omp_aligned_alloc, omp_aligned_calloc): Add | |
4891 | __alloc_align__ (1) attribute. | |
4892 | * testsuite/libgomp.c-c++-common/alloc-9.c: New test. | |
4893 | ||
24679983 GA |
4894 | 2021-09-30 Tobias Burnus <tobias@codesourcery.com> |
4895 | ||
4896 | * testsuite/libgomp.fortran/alloc-7.f90: Add dg-prune-output | |
4897 | for -fintrinsic-modules-path= warning of the C compiler. | |
4898 | * testsuite/libgomp.fortran/alloc-9.f90: Likewise. | |
4899 | * testsuite/libgomp.fortran/alloc-10.f90: Likewise. | |
4900 | ||
4901 | 2021-09-30 Tobias Burnus <tobias@codesourcery.com> | |
4902 | ||
4903 | * libgomp.texi (OpenMP 5.1): Set implementation status to Y for | |
4904 | omp_aligned_{,c}alloc and omp_{c,re}alloc routines. | |
4905 | * omp_lib.f90.in (omp_aligned_alloc, omp_aligned_calloc, omp_calloc, | |
4906 | omp_realloc): Add. | |
4907 | * omp_lib.h.in (omp_aligned_alloc, omp_aligned_calloc, omp_calloc, | |
4908 | omp_realloc): Add. | |
4909 | * testsuite/libgomp.fortran/alloc-10.f90: New test. | |
4910 | * testsuite/libgomp.fortran/alloc-6.f90: New test. | |
4911 | * testsuite/libgomp.fortran/alloc-7.c: New test. | |
4912 | * testsuite/libgomp.fortran/alloc-7.f90: New test. | |
4913 | * testsuite/libgomp.fortran/alloc-8.f90: New test. | |
4914 | * testsuite/libgomp.fortran/alloc-9.f90: New test. | |
4915 | ||
4916 | 2021-09-30 Jakub Jelinek <jakub@redhat.com> | |
4917 | ||
4918 | * omp.h.in (omp_aligned_alloc, omp_calloc, omp_aligned_calloc, | |
4919 | omp_realloc): New prototypes. | |
4920 | (omp_alloc): Move after omp_free prototype, add __malloc__ (omp_free) | |
4921 | attribute. | |
4922 | * allocator.c: Include string.h. | |
4923 | (omp_aligned_alloc): No longer static, add ialias. Add new_alignment | |
4924 | variable and use it instead of alignment so that when retrying the old | |
4925 | alignment is used again. Don't retry if new alignment is the same | |
4926 | as old alignment, unless allocator had pool size. | |
4927 | (omp_alloc, GOMP_alloc, GOMP_free): Use ialias_call. | |
4928 | (omp_aligned_calloc, omp_calloc, omp_realloc): New functions. | |
4929 | * libgomp.map (OMP_5.0.2): Export omp_aligned_alloc, omp_calloc, | |
4930 | omp_aligned_calloc and omp_realloc. | |
4931 | * testsuite/libgomp.c-c++-common/alloc-4.c (main): Add | |
4932 | omp_aligned_alloc, omp_calloc and omp_aligned_calloc tests. | |
4933 | * testsuite/libgomp.c-c++-common/alloc-5.c: New test. | |
4934 | * testsuite/libgomp.c-c++-common/alloc-6.c: New test. | |
4935 | * testsuite/libgomp.c-c++-common/alloc-7.c: New test. | |
4936 | * testsuite/libgomp.c-c++-common/alloc-8.c: New test. | |
4937 | ||
fd133479 GA |
4938 | 2021-09-28 Tobias Burnus <tobias@codesourcery.com> |
4939 | ||
4940 | PR libgomp/96661 | |
4941 | * configure.ac: Only check for int-type = 2*size_t support when | |
4942 | building with Fortran support. | |
4943 | * configure: Regenerate. | |
4944 | ||
4945 | 2021-09-28 Thomas Schwinge <thomas@codesourcery.com> | |
4946 | ||
4947 | * testsuite/libgomp.oacc-fortran/if-1.f90: Adjust. | |
4948 | * testsuite/libgomp.oacc-fortran/privatized-ref-2.f90: Likewise. | |
4949 | ||
cf966403 GA |
4950 | 2021-09-27 Aldy Hernandez <aldyh@redhat.com> |
4951 | ||
4952 | * team.c: Initialize start_data. | |
4953 | * testsuite/libgomp.graphite/force-parallel-4.c: Adjust. | |
4954 | * testsuite/libgomp.graphite/force-parallel-8.c: Adjust. | |
4955 | ||
4956 | 2021-09-27 Tobias Burnus <tobias@codesourcery.com> | |
4957 | ||
4958 | * testsuite/libgomp.oacc-fortran/privatized-ref-2.f90: Change | |
4959 | dg-message back to dg-note. | |
4960 | ||
4961 | 2021-09-27 Tobias Burnus <tobias@codesourcery.com> | |
4962 | ||
4963 | PR fortran/94070 | |
4964 | * testsuite/libgomp.oacc-fortran/privatized-ref-2.f90: Update | |
4965 | expected dg-note output. | |
4966 | ||
e4777439 GA |
4967 | 2021-09-22 Tobias Burnus <tobias@codesourcery.com> |
4968 | ||
4969 | PR fortran/55534 | |
4970 | * testsuite/libgomp.fortran/fortran.exp (ALWAYS_CFLAGS): Revert | |
4971 | r12-3722 by removing -Wno-missing-include-dirs. | |
4972 | * testsuite/libgomp.oacc-fortran/fortran.exp (ALWAYS_CFLAGS): Likewise. | |
4973 | ||
4974 | 2021-09-22 Jakub Jelinek <jakub@redhat.com> | |
4975 | ||
4976 | * testsuite/libgomp.c-c++-common/allocate-2.c: New test. | |
4977 | * testsuite/libgomp.c-c++-common/allocate-3.c: New test. | |
4978 | ||
2c41dd82 GA |
4979 | 2021-09-21 Tobias Burnus <tobias@codesourcery.com> |
4980 | ||
4981 | PR fortran/55534 | |
4982 | * testsuite/libgomp.fortran/fortran.exp: Add -Wno-missing-include-dirs | |
4983 | to ALWAYS_CFLAGS. | |
4984 | * testsuite/libgomp.oacc-fortran/fortran.exp: Likewise. | |
4985 | ||
cf74e7b5 GA |
4986 | 2021-09-18 Jakub Jelinek <jakub@redhat.com> |
4987 | ||
4988 | * testsuite/libgomp.c++/default-1.C: New test. | |
4989 | * testsuite/libgomp.c-c++-common/default-1.c: New test. | |
4990 | * libgomp.texi (OpenMP 5.1): Mark "private and firstprivate argument | |
4991 | to default clause in C and C++" as implemented. | |
4992 | ||
0a4cb439 GA |
4993 | 2021-09-17 Julian Brown <julian@codesourcery.com> |
4994 | ||
4995 | * testsuite/libgomp.oacc-c-c++-common/broadcast-many.c: Update. | |
4996 | ||
4997 | 2021-09-17 Julian Brown <julian@codesourcery.com> | |
4998 | ||
4999 | * testsuite/libgomp.oacc-c-c++-common/broadcast-many.c: New test. | |
5000 | ||
5001 | 2021-09-17 Jakub Jelinek <jakub@redhat.com> | |
5002 | ||
5003 | * libgomp.texi (OpenMP 5.1): Spelling fix, | |
5004 | declare variante -> declare variant. | |
5005 | ||
5006 | 2021-09-17 Jakub Jelinek <jakub@redhat.com> | |
5007 | ||
5008 | * testsuite/libgomp.c-c++-common/atomic-19.c: Drop c effective target. | |
5009 | Use /* */ comments instead of //. | |
5010 | * testsuite/libgomp.c-c++-common/atomic-20.c: Likewise. | |
5011 | * testsuite/libgomp.c-c++-common/atomic-21.c: Likewise. | |
5012 | * testsuite/libgomp.c++/atomic-16.C: New test. | |
5013 | * testsuite/libgomp.c++/atomic-17.C: New test. | |
5014 | ||
a26206ec GA |
5015 | 2021-09-10 Jakub Jelinek <jakub@redhat.com> |
5016 | ||
5017 | * testsuite/libgomp.c-c++-common/atomic-19.c: New test. | |
5018 | * testsuite/libgomp.c-c++-common/atomic-20.c: New test. | |
5019 | * testsuite/libgomp.c-c++-common/atomic-21.c: New test. | |
5020 | ||
b2748138 GA |
5021 | 2021-09-07 Tobias Burnus <tobias@codesourcery.com> |
5022 | ||
5023 | * libgomp.texi (OpenMP Implementation Status): Extend | |
5024 | OpenMP 5.0 section. | |
5025 | (OpenACC Profiling Interface): Fix typo. | |
5026 | ||
5027 | 2021-09-07 Tobias Burnus <tobias@codesourcery.com> | |
5028 | ||
5029 | * libgomp.texi (Enabling OpenMP): Refer to OMP spec in general | |
5030 | not to 4.5; link to new section. | |
5031 | (OpenMP Implementation Status): New. | |
5032 | ||
9f99555f GA |
5033 | 2021-09-06 Thomas Schwinge <thomas@codesourcery.com> |
5034 | ||
5035 | * testsuite/libgomp.c/target-43.c: '-latomic' for nvptx offloading. | |
5036 | ||
7b739540 GA |
5037 | 2021-09-03 Tobias Burnus <tobias@codesourcery.com> |
5038 | ||
5039 | * testsuite/libgomp.c-c++-common/error-1.c: Use \r\n not \n\r in | |
5040 | dg-output. | |
5041 | * testsuite/libgomp.fortran/error-1.f90: Likewise. | |
5042 | ||
38b19c5b GA |
5043 | 2021-08-23 Thomas Schwinge <thomas@codesourcery.com> |
5044 | Jakub Jelinek <jakub@redhat.com> | |
5045 | ||
5046 | * testsuite/libgomp.c/address-space-1.c: New file. | |
5047 | ||
5048 | 2021-08-23 Thomas Schwinge <thomas@codesourcery.com> | |
5049 | ||
5050 | * testsuite/lib/libgomp.exp | |
5051 | (check_effective_target_offload_target_intelmic): Remove 'proc'. | |
5052 | (check_effective_target_offload_device_intel_mic): New 'proc'. | |
5053 | * testsuite/libgomp.c-c++-common/on_device_arch.h | |
5054 | (device_arch_intel_mic, on_device_arch_intel_mic): New. | |
5055 | * testsuite/libgomp.c-c++-common/target-45.c: Use that for | |
5056 | 'dg-xfail-run-if'. | |
5057 | * testsuite/libgomp.fortran/target10.f90: Likewise. | |
5058 | ||
5059 | 2021-08-23 Tobias Burnus <tobias@codesourcery.com> | |
5060 | ||
5061 | * testsuite/libgomp.fortran/taskloop-4-a.f90: New test. | |
5062 | * testsuite/libgomp.fortran/taskloop-4.f90: New test. | |
5063 | * testsuite/libgomp.fortran/taskloop-5-a.f90: New test. | |
5064 | * testsuite/libgomp.fortran/taskloop-5.f90: New test. | |
5065 | ||
5066 | 2021-08-23 Jakub Jelinek <jakub@redhat.com> | |
5067 | ||
5068 | * taskloop.c (GOMP_taskloop): Handle GOMP_TASK_FLAG_STRICT. | |
5069 | * testsuite/libgomp.c-c++-common/taskloop-4.c (main): Fix up comment. | |
5070 | * testsuite/libgomp.c-c++-common/taskloop-5.c: New test. | |
5071 | ||
5b2876f9 GA |
5072 | 2021-08-22 Thomas Schwinge <thomas@codesourcery.com> |
5073 | ||
5074 | * config/nvptx/error.c (fwrite, exit): Override, too. | |
5075 | * testsuite/libgomp.c-c++-common/error-1.c: Add a minimum amount | |
5076 | of offloading testing. | |
5077 | * testsuite/libgomp.fortran/error-1.f90: Likewise. | |
5078 | ||
7c9e1645 GA |
5079 | 2021-08-20 Tobias Burnus <tobias@codesourcery.com> |
5080 | ||
5081 | * testsuite/libgomp.fortran/error-1.f90: New test. | |
5082 | ||
5083 | 2021-08-20 Jakub Jelinek <jakub@redhat.com> | |
5084 | ||
5085 | * libgomp.map (GOMP_5.1): Add GOMP_error and GOMP_warning. | |
5086 | * libgomp_g.h (GOMP_warning, GOMP_error): Declare. | |
5087 | * error.c (GOMP_warning, GOMP_error): New functions. | |
5088 | * testsuite/libgomp.c-c++-common/error-1.c: New test. | |
5089 | ||
6e529985 GA |
5090 | 2021-08-18 Tobias Burnus <tobias@codesourcery.com> |
5091 | ||
5092 | * omp_lib.f90.in (omp_alloc, omp_free, omp_target_alloc, | |
5093 | omp_target_free. omp_target_is_present, omp_target_memcpy, | |
5094 | omp_target_memcpy_rect, omp_target_associate_ptr, | |
5095 | omp_target_disassociate_ptr): Add interface. | |
5096 | * omp_lib.h.in (omp_alloc, omp_free, omp_target_alloc, | |
5097 | omp_target_free. omp_target_is_present, omp_target_memcpy, | |
5098 | omp_target_memcpy_rect, omp_target_associate_ptr, | |
5099 | omp_target_disassociate_ptr): Add interface. | |
5100 | * testsuite/libgomp.fortran/alloc-1.F90: Remove local | |
5101 | interface block for omp_alloc + omp_free. | |
5102 | * testsuite/libgomp.fortran/alloc-4.f90: Likewise. | |
5103 | * testsuite/libgomp.fortran/refcount-1.f90: New test. | |
5104 | * testsuite/libgomp.fortran/target-12.f90: New test. | |
5105 | ||
5106 | 2021-08-18 Jakub Jelinek <jakub@redhat.com> | |
5107 | ||
5108 | * testsuite/libgomp.c-c++-common/nothing-1.c: New test. | |
5109 | ||
2d14d64b GA |
5110 | 2021-08-17 Tobias Burnus <tobias@codesourcery.com> |
5111 | ||
5112 | * testsuite/libgomp.fortran/scope-1.f90: New test. | |
5113 | * testsuite/libgomp.fortran/task-reduction-16.f90: New test. | |
5114 | ||
5115 | 2021-08-17 Jakub Jelinek <jakub@redhat.com> | |
5116 | ||
5117 | * Makefile.am (libgomp_la_SOURCES): Add scope.c | |
5118 | * Makefile.in: Regenerated. | |
5119 | * libgomp_g.h (GOMP_scope_start): Declare. | |
5120 | * libgomp.map: Add GOMP_scope_start@@GOMP_5.1. | |
5121 | * scope.c: New file. | |
5122 | * testsuite/libgomp.c-c++-common/scope-1.c: New test. | |
5123 | * testsuite/libgomp.c-c++-common/task-reduction-16.c: New test. | |
5124 | ||
9d1d9fc8 GA |
5125 | 2021-08-16 Thomas Schwinge <thomas@codesourcery.com> |
5126 | ||
5127 | * testsuite/libgomp.oacc-c-c++-common/mode-transitions.c: Address | |
5128 | '?:' issues. | |
5129 | ||
5130 | 2021-08-16 Tobias Burnus <tobias@codesourcery.com> | |
5131 | ||
5132 | * testsuite/libgomp.fortran/masked-1.f90: New test. | |
5133 | ||
261512fa GA |
5134 | 2021-08-13 Thomas Schwinge <thomas@codesourcery.com> |
5135 | ||
5136 | * testsuite/libgomp.oacc-c-c++-common/static-variable-1.c: Adjust. | |
5137 | ||
72be20e2 GA |
5138 | 2021-08-12 Jakub Jelinek <jakub@redhat.com> |
5139 | ||
5140 | * testsuite/libgomp.c-c++-common/masked-1.c: New test. | |
5141 | ||
5142 | 2021-08-12 Tobias Burnus <tobias@codesourcery.com> | |
5143 | ||
5144 | * env.c (parse_bind_var): Accept 'primary' as alias for | |
5145 | 'master'. | |
5146 | (omp_display_env): Add TODO comment to | |
5147 | change 'master' to 'primary' in proc_bind for OpenMP 5.1. | |
5148 | * libgomp.texi: Change 'master thread' to 'primary thread' | |
5149 | in line with OpenMP 5.1. | |
5150 | (omp_get_proc_bind): Add omp_proc_bind_primary and note that | |
5151 | omp_proc_bind_master is an alias of it. | |
5152 | (OMP_PROC_BIND): Mention 'PRIMARY'. | |
5153 | * omp.h.in (__GOMP_DEPRECATED_5_1): Define. | |
5154 | (omp_proc_bind_primary): Add. | |
5155 | (omp_proc_bind_master): Deprecate for OpenMP 5.1. | |
5156 | * omp_lib.f90.in (omp_proc_bind_primary): Add. | |
5157 | (omp_proc_bind_master): Deprecate for OpenMP 5.1. | |
5158 | * omp_lib.h.in (omp_proc_bind_primary): Add. | |
5159 | * testsuite/libgomp.c/affinity-1.c: Check that | |
5160 | 'primary' works and is identical to 'master'. | |
5161 | ||
37768150 GA |
5162 | 2021-08-09 Julian Brown <julian@codesourcery.com> |
5163 | Kwok Cheung Yeung <kcy@codesourcery.com> | |
5164 | Thomas Schwinge <thomas@codesourcery.com> | |
5165 | ||
5166 | * plugin/plugin-gcn.c (gcn_exec): Change default number of workers to | |
5167 | 16. | |
5168 | * testsuite/libgomp.oacc-c-c++-common/acc_prof-kernels-1.c | |
5169 | [acc_device_radeon]: Update. | |
5170 | * testsuite/libgomp.oacc-c-c++-common/loop-dim-default.c | |
5171 | [ACC_DEVICE_TYPE_radeon]: Likewise. | |
5172 | * testsuite/libgomp.oacc-c-c++-common/parallel-dims.c | |
5173 | [acc_device_radeon]: Likewise. | |
5174 | * testsuite/libgomp.oacc-c-c++-common/routine-wv-2.c | |
5175 | [ACC_DEVICE_TYPE_radeon]: Likewise. | |
5176 | * testsuite/libgomp.oacc-fortran/optional-reduction.f90: XFAIL for | |
5177 | 'openacc_radeon_accel_selected' and '-O0'. | |
5178 | * testsuite/libgomp.oacc-fortran/reduction-7.f90: Likewise. | |
5179 | ||
8ebf4fb5 GA |
5180 | 2021-08-05 Chung-Lin Tang <cltang@codesourcery.com> |
5181 | ||
5182 | * icv-device.c (omp_get_device_num): New API function, host side. | |
5183 | * fortran.c (omp_get_device_num_): New interface function. | |
5184 | * libgomp-plugin.h (GOMP_DEVICE_NUM_VAR): Define macro symbol. | |
5185 | * libgomp.map (OMP_5.0.2): New version space with omp_get_device_num, | |
5186 | omp_get_device_num_. | |
5187 | * libgomp.texi (omp_get_device_num): Add documentation for new API | |
5188 | function. | |
5189 | * omp.h.in (omp_get_device_num): Add declaration. | |
5190 | * omp_lib.f90.in (omp_get_device_num): Likewise. | |
5191 | * omp_lib.h.in (omp_get_device_num): Likewise. | |
5192 | * target.c (gomp_load_image_to_device): If additional entry for device | |
5193 | number exists at end of returned entries from 'load_image_func' hook, | |
5194 | copy the assigned device number over to the device variable. | |
5195 | * config/gcn/icv-device.c (GOMP_DEVICE_NUM_VAR): Define static global. | |
5196 | (omp_get_device_num): New API function, device side. | |
5197 | * plugin/plugin-gcn.c ("symcat.h"): Add include. | |
5198 | (GOMP_OFFLOAD_load_image): Add addresses of device GOMP_DEVICE_NUM_VAR | |
5199 | at end of returned 'target_table' entries. | |
5200 | * config/nvptx/icv-device.c (GOMP_DEVICE_NUM_VAR): Define static global. | |
5201 | (omp_get_device_num): New API function, device side. | |
5202 | * plugin/plugin-nvptx.c ("symcat.h"): Add include. | |
5203 | (GOMP_OFFLOAD_load_image): Add addresses of device GOMP_DEVICE_NUM_VAR | |
5204 | at end of returned 'target_table' entries. | |
5205 | * testsuite/lib/libgomp.exp | |
5206 | (check_effective_target_offload_target_intelmic): New function for | |
5207 | testing for intelmic offloading. | |
5208 | * testsuite/libgomp.c-c++-common/target-45.c: New test. | |
5209 | * testsuite/libgomp.fortran/target10.f90: New test. | |
5210 | ||
4d17ca1b GA |
5211 | 2021-07-30 Thomas Schwinge <thomas@codesourcery.com> |
5212 | Ulrich Drepper <drepper@redhat.com> | |
5213 | ||
5214 | * fortran.c (omp_display_env_, omp_display_env_8_): Only | |
5215 | '#ifndef LIBGOMP_OFFLOADED_ONLY'. | |
5216 | ||
5217 | 2021-07-29 Thomas Schwinge <thomas@codesourcery.com> | |
5218 | Julian Brown <julian@codesourcery.com> | |
5219 | Kwok Cheung Yeung <kcy@codesourcery.com> | |
5220 | ||
5221 | * testsuite/libgomp.oacc-c-c++-common/pr85486-2.c: | |
5222 | 's%oaccdevlow%oaccloops%g'. | |
5223 | * testsuite/libgomp.oacc-c-c++-common/pr85486-3.c: Likewise. | |
5224 | * testsuite/libgomp.oacc-c-c++-common/pr85486.c: Likewise. | |
5225 | * testsuite/libgomp.oacc-c-c++-common/routine-nohost-1.c: | |
5226 | Likewise. | |
5227 | * testsuite/libgomp.oacc-c-c++-common/vector-length-128-1.c: | |
5228 | Likewise. | |
5229 | * testsuite/libgomp.oacc-c-c++-common/vector-length-128-2.c: | |
5230 | Likewise. | |
5231 | * testsuite/libgomp.oacc-c-c++-common/vector-length-128-3.c: | |
5232 | Likewise. | |
5233 | * testsuite/libgomp.oacc-c-c++-common/vector-length-128-4.c: | |
5234 | Likewise. | |
5235 | * testsuite/libgomp.oacc-c-c++-common/vector-length-128-5.c: | |
5236 | Likewise. | |
5237 | * testsuite/libgomp.oacc-c-c++-common/vector-length-128-6.c: | |
5238 | Likewise. | |
5239 | * testsuite/libgomp.oacc-c-c++-common/vector-length-128-7.c: | |
5240 | Likewise. | |
5241 | * testsuite/libgomp.oacc-fortran/routine-nohost-1.f90: Likewise. | |
5242 | ||
872c1a56 ML |
5243 | 2021-07-29 Aldy Hernandez <aldyh@redhat.com> |
5244 | ||
5245 | * testsuite/libgomp.graphite/force-parallel-4.c: Adjust for | |
5246 | threader. | |
5247 | * testsuite/libgomp.graphite/force-parallel-8.c: Same. | |
5248 | ||
af3f12e6 GA |
5249 | 2021-07-27 Ulrich Drepper <drepper@gmail.com> |
5250 | ||
5251 | * env.c (wait_policy, stacksize): New static variables, | |
5252 | move out of handle_omp_display_env. | |
5253 | (omp_display_env): New function. The meat of the old | |
5254 | handle_omp_display_env function. | |
5255 | (handle_omp_display_env): Change to not take parameters | |
5256 | and instead use the global variables. Only perform | |
5257 | parsing, defer to omp_display_env for the implementation. | |
5258 | (initialize_env): Remove local variables wait_policy and | |
5259 | stacksize. Don't pass parameters to handle_omp_display_env. | |
5260 | * fortran.c: Add ialias_redirect for omp_display_env. | |
5261 | (omp_display_env_, omp_display_env_8_): New functions. | |
5262 | * libgomp.map (OMP_5.1): New version. Add omp_display_env, | |
5263 | omp_display_env_, and omp_display_env_8_. | |
5264 | * omp.h.in: Declare omp_display_env. | |
5265 | * omp_lib.f90.in: Likewise. | |
5266 | * omp_lib.h.in: Likewise. | |
5267 | ||
5268 | 2021-07-27 Thomas Schwinge <thomas@codesourcery.com> | |
5269 | Julian Brown <julian@codesourcery.com> | |
5270 | ||
5271 | * target.c (gomp_coalesce_buf_add): Update comment. | |
5272 | (gomp_copy_host2dev, gomp_map_vars_internal): Don't expect to see | |
5273 | 'aq && cbuf'. | |
5274 | (gomp_map_vars_internal): Only 'if (!aq)', do | |
5275 | 'gomp_coalesce_buf_add'. | |
5276 | * testsuite/libgomp.oacc-c-c++-common/async-data-1-2.c: Remove | |
5277 | XFAIL. | |
5278 | ||
5279 | 2021-07-27 Julian Brown <julian@codesourcery.com> | |
5280 | Thomas Schwinge <thomas@codesourcery.com> | |
5281 | ||
5282 | * libgomp.h (gomp_copy_host2dev): Update prototype. | |
5283 | * oacc-mem.c (memcpy_tofrom_device, update_dev_host): Add new | |
5284 | argument to gomp_copy_host2dev (false). | |
5285 | * plugin/plugin-gcn.c (struct copy_data): Remove free_src field. | |
5286 | (copy_data): Don't free src. | |
5287 | (queue_push_copy): Remove free_src handling. | |
5288 | (GOMP_OFFLOAD_dev2dev): Update call to queue_push_copy. | |
5289 | (GOMP_OFFLOAD_openacc_async_host2dev): Remove source-data | |
5290 | snapshotting. | |
5291 | (GOMP_OFFLOAD_openacc_async_dev2host): Update call to | |
5292 | queue_push_copy. | |
5293 | * target.c (goacc_device_copy_async): Add SRCADDR_ORIG parameter. | |
5294 | (gomp_copy_host2dev): Add EPHEMERAL parameter. Snapshot source | |
5295 | data when true, and set up deferred freeing of temporary buffer. | |
5296 | (gomp_copy_dev2host): Update call to goacc_device_copy_async. | |
5297 | (gomp_map_vars_existing, gomp_map_pointer, gomp_attach_pointer) | |
5298 | (gomp_detach_pointer, gomp_map_vars_internal, gomp_update): Update | |
5299 | calls to gomp_copy_host2dev with appropriate ephemeral argument. | |
5300 | * testsuite/libgomp.oacc-c-c++-common/async-data-1-1.c: Remove | |
5301 | XFAIL. | |
5302 | ||
5303 | 2021-07-27 Thomas Schwinge <thomas@codesourcery.com> | |
5304 | Tom de Vries <tom@codesourcery.com> | |
5305 | ||
5306 | * testsuite/libgomp.oacc-c-c++-common/async-data-1-1.c: New file. | |
5307 | * testsuite/libgomp.oacc-c-c++-common/async-data-1-2.c: Likewise. | |
5308 | ||
5309 | 2021-07-27 Thomas Schwinge <thomas@codesourcery.com> | |
5310 | ||
5311 | * testsuite/libgomp.oacc-c-c++-common/acc_prof-init-1.c: Clarify | |
5312 | sequencing of 'async' data copying vs. profiling events. | |
5313 | * testsuite/libgomp.oacc-c-c++-common/acc_prof-parallel-1.c: | |
5314 | Likewise. | |
5315 | ||
5316 | 2021-07-27 Thomas Schwinge <thomas@codesourcery.com> | |
5317 | Julian Brown <julian@codesourcery.com> | |
5318 | ||
5319 | * testsuite/libgomp.oacc-c-c++-common/lib-94.c: Fix OpenACC | |
5320 | 'async'/'wait' issue. | |
5321 | * testsuite/libgomp.oacc-c-c++-common/lib-95.c: Likewise. | |
5322 | * testsuite/libgomp.oacc-fortran/lib-16-2.f90: Likewise. | |
5323 | * testsuite/libgomp.oacc-fortran/lib-16.f90: Likewise. | |
5324 | ||
419c6c68 GA |
5325 | 2021-07-21 Thomas Schwinge <thomas@codesourcery.com> |
5326 | Joseph Myers <joseph@codesourcery.com> | |
5327 | Cesar Philippidis <cesar@codesourcery.com> | |
5328 | ||
5329 | * testsuite/libgomp.oacc-c-c++-common/routine-nohost-1.c: New | |
5330 | file. | |
5331 | * testsuite/libgomp.oacc-c-c++-common/routine-nohost-2.c: | |
5332 | Likewise. | |
5333 | * testsuite/libgomp.oacc-c-c++-common/routine-nohost-2_2.c: | |
5334 | Likewise. | |
5335 | * testsuite/libgomp.oacc-fortran/routine-nohost-1.f90: Likewise. | |
5336 | ||
92d45509 GA |
5337 | 2021-07-20 Thomas Schwinge <thomas@codesourcery.com> |
5338 | ||
5339 | PR target/101484 | |
5340 | * configure.tgt [amdgcn*-*-*] (XCFLAGS): Add | |
5341 | '-Wno-error=array-bounds'. | |
5342 | * config/gcn/team.c: Remove '-Werror=array-bounds' work-around. | |
5343 | * libgomp.h [__AMDGCN__]: Likewise. | |
5344 | ||
21ea2f93 GA |
5345 | 2021-07-19 Thomas Schwinge <thomas@codesourcery.com> |
5346 | ||
5347 | PR target/101484 | |
5348 | * config/gcn/team.c: Apply '-Werror=array-bounds' work-around. | |
5349 | * libgomp.h [__AMDGCN__]: Likewise. | |
5350 | ||
0e775456 GA |
5351 | 2021-07-13 Jakub Jelinek <jakub@redhat.com> |
5352 | Florian Weimer <fweimer@redhat.com> | |
5353 | ||
5354 | * config/linux/sem.h: Don't include limits.h. | |
5355 | (SEM_WAIT): Define to -__INT_MAX__ - 1 instead of INT_MIN. | |
5356 | * config/linux/affinity.c: Include limits.h. | |
5357 | ||
bea7c16a GA |
5358 | 2021-07-01 Jakub Jelinek <jakub@redhat.com> |
5359 | ||
5360 | PR middle-end/94366 | |
5361 | * testsuite/libgomp.c-c++-common/pr94366.c: New test. | |
5362 | ||
6bc18203 GA |
5363 | 2021-06-29 Tobias Burnus <tobias@codesourcery.com> |
5364 | ||
5365 | PR other/67300 | |
5366 | * testsuite/libgomp.c-c++-common/reduction-16.c: Replace | |
5367 | -foffload=nvptx-none= by -foffload-options=nvptx-none= to | |
5368 | avoid disabling other offload targets. | |
5369 | * testsuite/libgomp.c-c++-common/reduction-5.c: Likewise. | |
5370 | * testsuite/libgomp.c-c++-common/reduction-6.c: Likewise. | |
5371 | * testsuite/libgomp.c/target-44.c: Likewise. | |
5372 | ||
5373 | 2021-06-29 Tobias Burnus <tobias@codesourcery.com> | |
5374 | ||
5375 | * testsuite/libgomp.fortran/defaultmap-8.f90 (bar): Determine whether | |
5376 | target has shared memory and disable some scalar pointer/allocatable | |
5377 | checks if not as firstprivate does not work. | |
5378 | ||
90708f87 GA |
5379 | 2021-06-25 Chung-Lin Tang <cltang@codesourcery.com> |
5380 | ||
5381 | PR testsuite/101114 | |
5382 | * testsuite/libgomp.c-c++-common/struct-elem-5.c: | |
5383 | Add "target offload_device_nonshared_as" condition for enabling test. | |
5384 | ||
9aa8327e GA |
5385 | 2021-06-24 Jakub Jelinek <jakub@redhat.com> |
5386 | ||
5387 | * testsuite/libgomp.c-c++-common/target-in-reduction-1.c: New test. | |
5388 | * testsuite/libgomp.c-c++-common/target-in-reduction-2.c: New test. | |
5389 | * testsuite/libgomp.c++/target-in-reduction-1.C: New test. | |
5390 | * testsuite/libgomp.c++/target-in-reduction-2.C: New test. | |
5391 | ||
fcf617f0 GA |
5392 | 2021-06-23 Jakub Jelinek <jakub@redhat.com> |
5393 | ||
5394 | PR middle-end/101167 | |
5395 | * testsuite/libgomp.c-c++-common/task-reduction-15.c: New test. | |
5396 | ||
688359a2 GA |
5397 | 2021-06-17 Chung-Lin Tang <cltang@codesourcery.com> |
5398 | ||
5399 | * hashtab.h (htab_clear): New function with initialization code | |
5400 | factored out from... | |
5401 | (htab_create): ...here, adjust to use htab_clear function. | |
5402 | * libgomp.h (REFCOUNT_SPECIAL): New symbol to denote range of | |
5403 | special refcount values, add comments. | |
5404 | (REFCOUNT_INFINITY): Adjust definition to use REFCOUNT_SPECIAL. | |
5405 | (REFCOUNT_LINK): Likewise. | |
5406 | (REFCOUNT_STRUCTELEM): New special refcount range for structure | |
5407 | element siblings. | |
5408 | (REFCOUNT_STRUCTELEM_P): Macro for testing for structure element | |
5409 | sibling maps. | |
5410 | (REFCOUNT_STRUCTELEM_FLAG_FIRST): Flag to indicate first sibling. | |
5411 | (REFCOUNT_STRUCTELEM_FLAG_LAST): Flag to indicate last sibling. | |
5412 | (REFCOUNT_STRUCTELEM_FIRST_P): Macro to test _FIRST flag. | |
5413 | (REFCOUNT_STRUCTELEM_LAST_P): Macro to test _LAST flag. | |
5414 | (struct splay_tree_key_s): Add structelem_refcount and | |
5415 | structelem_refcount_ptr fields into a union with dynamic_refcount. | |
5416 | Add comments. | |
5417 | (gomp_map_vars): Delete declaration. | |
5418 | (gomp_map_vars_async): Likewise. | |
5419 | (gomp_unmap_vars): Likewise. | |
5420 | (gomp_unmap_vars_async): Likewise. | |
5421 | (goacc_map_vars): New declaration. | |
5422 | (goacc_unmap_vars): Likewise. | |
5423 | * oacc-mem.c (acc_map_data): Adjust to use goacc_map_vars. | |
5424 | (goacc_enter_datum): Likewise. | |
5425 | (goacc_enter_data_internal): Likewise. | |
5426 | * oacc-parallel.c (GOACC_parallel_keyed): Adjust to use goacc_map_vars | |
5427 | and goacc_unmap_vars. | |
5428 | (GOACC_data_start): Adjust to use goacc_map_vars. | |
5429 | (GOACC_data_end): Adjust to use goacc_unmap_vars. | |
5430 | * target.c (hash_entry_type): New typedef. | |
5431 | (htab_alloc): New function hook for hashtab.h. | |
5432 | (htab_free): Likewise. | |
5433 | (htab_hash): Likewise. | |
5434 | (htab_eq): Likewise. | |
5435 | (hashtab.h): Add file include. | |
5436 | (gomp_increment_refcount): New function. | |
5437 | (gomp_decrement_refcount): Likewise. | |
5438 | (gomp_map_vars_existing): Add refcount_set parameter, adjust to use | |
5439 | gomp_increment_refcount. | |
5440 | (gomp_map_fields_existing): Add refcount_set parameter, adjust calls | |
5441 | to gomp_map_vars_existing. | |
5442 | (gomp_map_vars_internal): Add refcount_set parameter, add local openmp_p | |
5443 | variable to guard OpenMP specific paths, adjust calls to | |
5444 | gomp_map_vars_existing, add structure element sibling splay_tree_key | |
5445 | sequence creation code, adjust Fortran map case to avoid increment | |
5446 | under OpenMP. | |
5447 | (gomp_map_vars): Adjust to static, add refcount_set parameter, manage | |
5448 | local refcount_set if caller passed in NULL, adjust call to | |
5449 | gomp_map_vars_internal. | |
5450 | (gomp_map_vars_async): Adjust and rename into... | |
5451 | (goacc_map_vars): ...this new function, adjust call to | |
5452 | gomp_map_vars_internal. | |
5453 | (gomp_remove_splay_tree_key): New function with code factored out from | |
5454 | gomp_remove_var_internal. | |
5455 | (gomp_remove_var_internal): Add code to handle removing multiple | |
5456 | splay_tree_key sequence for structure elements, adjust code to use | |
5457 | gomp_remove_splay_tree_key for splay-tree key removal. | |
5458 | (gomp_unmap_vars_internal): Add refcount_set parameter, adjust to use | |
5459 | gomp_decrement_refcount. | |
5460 | (gomp_unmap_vars): Adjust to static, add refcount_set parameter, manage | |
5461 | local refcount_set if caller passed in NULL, adjust call to | |
5462 | gomp_unmap_vars_internal. | |
5463 | (gomp_unmap_vars_async): Adjust and rename into... | |
5464 | (goacc_unmap_vars): ...this new function, adjust call to | |
5465 | gomp_unmap_vars_internal. | |
5466 | (GOMP_target): Manage refcount_set and adjust calls to gomp_map_vars and | |
5467 | gomp_unmap_vars. | |
5468 | (GOMP_target_ext): Likewise. | |
5469 | (gomp_target_data_fallback): Adjust call to gomp_map_vars. | |
5470 | (GOMP_target_data): Likewise. | |
5471 | (GOMP_target_data_ext): Likewise. | |
5472 | (GOMP_target_end_data): Adjust call to gomp_unmap_vars. | |
5473 | (gomp_exit_data): Add refcount_set parameter, adjust to use | |
5474 | gomp_decrement_refcount, adjust to queue splay-tree keys for removal | |
5475 | after main loop. | |
5476 | (GOMP_target_enter_exit_data): Manage refcount_set and adjust calls to | |
5477 | gomp_map_vars and gomp_exit_data. | |
5478 | (gomp_target_task_fn): Likewise. | |
5479 | * testsuite/libgomp.c-c++-common/refcount-1.c: New testcase. | |
5480 | * testsuite/libgomp.c-c++-common/struct-elem-1.c: New testcase. | |
5481 | * testsuite/libgomp.c-c++-common/struct-elem-2.c: New testcase. | |
5482 | * testsuite/libgomp.c-c++-common/struct-elem-3.c: New testcase. | |
5483 | * testsuite/libgomp.c-c++-common/struct-elem-4.c: New testcase. | |
5484 | * testsuite/libgomp.c-c++-common/struct-elem-5.c: New testcase. | |
5485 | ||
ede6c356 GA |
5486 | 2021-06-15 Tobias Burnus <tobias@codesourcery.com> |
5487 | ||
5488 | PR fortran/92568 | |
5489 | * testsuite/libgomp.fortran/defaultmap-8.f90: New test. | |
5490 | ||
43c35d0d GA |
5491 | 2021-06-10 Andrew Stubbs <ams@codesourcery.com> |
5492 | Thomas Schwinge <thomas@codesourcery.com> | |
5493 | ||
5494 | * libgomp.map (GOACC_2.0.2): New symbol version. | |
5495 | * libgomp_g.h (GOACC_enter_data, GOACC_exit_data) New prototypes. | |
5496 | * oacc-mem.c (GOACC_enter_data, GOACC_exit_data) New functions. | |
5497 | ||
5498 | 2021-06-10 Thomas Schwinge <thomas@codesourcery.com> | |
5499 | Andrew Stubbs <ams@codesourcery.com> | |
5500 | ||
5501 | * oacc-mem.c (goacc_enter_exit_data_internal): New function, | |
5502 | extracted from... | |
5503 | (GOACC_enter_exit_data): ... here. | |
5504 | (GOACC_declare): Use it. | |
5505 | ||
5506 | 2021-06-10 Thomas Schwinge <thomas@codesourcery.com> | |
5507 | ||
5508 | * oacc-parallel.c (GOACC_declare): Move... | |
5509 | * oacc-mem.c: ... here. | |
5510 | * libgomp_g.h: Adjust. | |
5511 | ||
5512 | 2021-06-10 Andrew Stubbs <ams@codesourcery.com> | |
5513 | Thomas Schwinge <thomas@codesourcery.com> | |
5514 | ||
5515 | * oacc-parallel.c (GOACC_declare): Clean up 'GOMP_MAP_POINTER' | |
5516 | handling. | |
5517 | ||
5518 | 2021-06-10 Jakub Jelinek <jakub@redhat.com> | |
5519 | ||
5520 | PR tree-optimization/100981 | |
5521 | * testsuite/libgomp.fortran/pr100981-2.f90 (cdcdot): Initialize | |
5522 | dsdotr and dsdoti to 0. | |
5523 | ||
4f625f47 GA |
5524 | 2021-06-09 H.J. Lu <hjl.tools@gmail.com> |
5525 | ||
5526 | * testsuite/lib/libgomp.exp (libgomp_init): Don't add -march=i486 | |
5527 | if atomic compare-and-swap is supported on 'int'. | |
5528 | ||
5529 | 2021-06-09 Richard Biener <rguenther@suse.de> | |
5530 | ||
5531 | PR tree-optimization/100981 | |
5532 | * testsuite/libgomp.fortran/pr100981-2.f90: New testcase. | |
5533 | ||
c6038721 GA |
5534 | 2021-06-08 Thomas Schwinge <thomas@codesourcery.com> |
5535 | ||
5536 | * plugin/plugin-gcn.c (gcn_exec): Force 'num_workers (1)' | |
5537 | unconditionally. | |
5538 | * testsuite/libgomp.oacc-c-c++-common/acc_prof-kernels-1.c: | |
5539 | Update. | |
5540 | * testsuite/libgomp.oacc-c-c++-common/parallel-dims.c: Likewise. | |
5541 | * testsuite/libgomp.oacc-c-c++-common/routine-wv-2.c: Likewise. | |
5542 | ||
5543 | 2021-06-08 Thomas Schwinge <thomas@codesourcery.com> | |
5544 | ||
5545 | * testsuite/libgomp.oacc-c-c++-common/lib-11.c: Enable for all but | |
5546 | '-DACC_MEM_SHARED=0'. | |
5547 | * testsuite/libgomp.oacc-c-c++-common/lib-13.c: Likewise. | |
5548 | * testsuite/libgomp.oacc-c-c++-common/lib-14.c: Likewise. | |
5549 | * testsuite/libgomp.oacc-c-c++-common/lib-15.c: Likewise. | |
5550 | * testsuite/libgomp.oacc-c-c++-common/lib-20.c: Likewise. | |
5551 | * testsuite/libgomp.oacc-c-c++-common/lib-23.c: Likewise. | |
5552 | * testsuite/libgomp.oacc-c-c++-common/lib-24.c: Likewise. | |
5553 | * testsuite/libgomp.oacc-c-c++-common/lib-34.c: Likewise. | |
5554 | * testsuite/libgomp.oacc-c-c++-common/lib-42.c: Likewise. | |
5555 | * testsuite/libgomp.oacc-c-c++-common/lib-44.c: Likewise. | |
5556 | * testsuite/libgomp.oacc-c-c++-common/lib-48.c: Likewise. | |
5557 | * testsuite/libgomp.oacc-c-c++-common/lib-88.c: Likewise. | |
5558 | * testsuite/libgomp.oacc-c-c++-common/lib-89.c: Likewise. | |
5559 | * testsuite/libgomp.oacc-c-c++-common/lib-92.c: Likewise. | |
5560 | * testsuite/libgomp.oacc-fortran/lib-14.f90: Likewise. | |
5561 | * testsuite/libgomp.oacc-c-c++-common/lib-5.c: Add | |
5562 | 'acc_device_radeon' testing. | |
5563 | * testsuite/libgomp.oacc-c-c++-common/lib-6.c: Likewise. | |
5564 | * testsuite/libgomp.oacc-fortran/lib-5.f90: Likewise. | |
5565 | * testsuite/libgomp.oacc-fortran/lib-7.f90: Likewise. | |
5566 | * testsuite/libgomp.oacc-c-c++-common/lib-52.c: Enable for all. | |
5567 | * testsuite/libgomp.oacc-c-c++-common/lib-53.c: Likewise. | |
5568 | * testsuite/libgomp.oacc-c-c++-common/lib-54.c: Likewise. | |
5569 | * testsuite/libgomp.oacc-c-c++-common/lib-86.c: Likewise. | |
5570 | * testsuite/libgomp.oacc-c-c++-common/lib-87.c: Likewise. | |
5571 | * testsuite/libgomp.oacc-fortran/lib-10.f90: Likewise. | |
5572 | * testsuite/libgomp.oacc-fortran/lib-8.f90: Likewise. | |
5573 | * testsuite/libgomp.oacc-c-c++-common/lib-57.c: Improve checking | |
5574 | for non-'openacc_nvidia_accel_selected'. | |
5575 | * testsuite/libgomp.oacc-c-c++-common/lib-58.c: Likewise. | |
5576 | * testsuite/libgomp.oacc-c-c++-common/lib-62.c: Clarify that "Not | |
5577 | all implement this checking". | |
5578 | * testsuite/libgomp.oacc-c-c++-common/lib-63.c: Likewise. | |
5579 | * testsuite/libgomp.oacc-c-c++-common/lib-64.c: Likewise. | |
5580 | * testsuite/libgomp.oacc-c-c++-common/lib-65.c: Likewise. | |
5581 | * testsuite/libgomp.oacc-c-c++-common/lib-67.c: Likewise. | |
5582 | * testsuite/libgomp.oacc-c-c++-common/lib-68.c: Likewise. | |
5583 | ||
5584 | 2021-06-08 Thomas Schwinge <thomas@codesourcery.com> | |
5585 | ||
5586 | * testsuite/libgomp.oacc-c-c++-common/parallel-dims.c: Simplify. | |
5587 | * testsuite/libgomp.oacc-fortran/parallel-dims-aux.c: Update. | |
5588 | ||
5589 | 2021-06-08 Thomas Schwinge <thomas@codesourcery.com> | |
5590 | ||
5591 | * testsuite/libgomp.oacc-c-c++-common/acc_prof-kernels-1.c: Fix | |
5592 | for 'acc_device_radeon'. | |
5593 | ||
5594 | 2021-06-08 Thomas Schwinge <thomas@codesourcery.com> | |
5595 | ||
5596 | * testsuite/libgomp.oacc-c-c++-common/firstprivate-1.c: Enhance | |
5597 | for non-'acc_device_nvidia'. | |
5598 | ||
5599 | 2021-06-08 Thomas Schwinge <thomas@codesourcery.com> | |
5600 | ||
5601 | * testsuite/libgomp.oacc-c-c++-common/acc_on_device-1.c: Add | |
5602 | 'acc_device_radeon' testing. | |
5603 | * testsuite/libgomp.oacc-fortran/acc_on_device-1-1.f90: Likewise. | |
5604 | * testsuite/libgomp.oacc-fortran/acc_on_device-1-2.f: Likewise. | |
5605 | * testsuite/libgomp.oacc-fortran/acc_on_device-1-3.f: Likewise. | |
5606 | ||
5607 | 2021-06-08 Thomas Schwinge <thomas@codesourcery.com> | |
5608 | ||
5609 | * testsuite/libgomp.oacc-c-c++-common/async_queue-1.c: Don't | |
5610 | require 'openacc_nvidia_accel_selected'. Fix up for | |
5611 | 'ACC_DEVICE_TYPE_radeon'. | |
5612 | ||
5613 | 2021-06-08 Thomas Schwinge <thomas@codesourcery.com> | |
5614 | ||
5615 | * testsuite/libgomp.oacc-c++/declare-1.C: Don't require | |
5616 | 'openacc_nvidia_accel_selected'. | |
5617 | * testsuite/libgomp.oacc-c-c++-common/declare-3.c: Likewise. | |
5618 | ||
5619 | 2021-06-08 Thomas Schwinge <thomas@codesourcery.com> | |
5620 | ||
5621 | * testsuite/lib/libgomp.exp | |
5622 | (check_effective_target_openacc_radeon_accel_selected): | |
5623 | Streamline. | |
5624 | ||
5625 | 2021-06-08 Thomas Schwinge <thomas@codesourcery.com> | |
5626 | ||
5627 | * testsuite/libgomp.oacc-c-c++-common/parallel-dims.c: Revert | |
5628 | PR80547 workaround. | |
5629 | ||
5630 | 2021-06-08 Thomas Schwinge <thomas@codesourcery.com> | |
5631 | ||
5632 | * testsuite/libgomp.oacc-c-c++-common/parallel-dims.c | |
5633 | <acc_device_nvidia>: Update comment. | |
5634 | ||
48166757 GA |
5635 | 2021-05-28 Tobias Burnus <tobias@codesourcery.com> |
5636 | ||
5637 | * testsuite/libgomp.fortran/depend-iterator-2.f90: New test. | |
5638 | ||
cd62d089 GA |
5639 | 2021-05-27 Jakub Jelinek <jakub@redhat.com> |
5640 | ||
5641 | * testsuite/lib/libgomp.exp (check_effective_target_openacc_cuda, | |
5642 | check_effective_target_openacc_cublas, | |
5643 | check_effective_target_openacc_cudart): New. | |
5644 | * testsuite/libgomp.oacc-fortran/host_data-4.f90: Require effective | |
5645 | target openacc_cublas. | |
5646 | * testsuite/libgomp.oacc-fortran/host_data-2.f90: Likewise. | |
5647 | * testsuite/libgomp.oacc-fortran/host_data-3.f: Likewise. | |
5648 | * testsuite/libgomp.oacc-c-c++-common/lib-91.c: Require effective | |
5649 | target openacc_cuda. | |
5650 | * testsuite/libgomp.oacc-c-c++-common/lib-70.c: Likewise. | |
5651 | * testsuite/libgomp.oacc-c-c++-common/lib-90.c: Likewise. | |
5652 | * testsuite/libgomp.oacc-c-c++-common/lib-75.c: Likewise. | |
5653 | * testsuite/libgomp.oacc-c-c++-common/lib-69.c: Likewise. | |
5654 | * testsuite/libgomp.oacc-c-c++-common/lib-74.c: Likewise. | |
5655 | * testsuite/libgomp.oacc-c-c++-common/lib-81.c: Likewise. | |
5656 | * testsuite/libgomp.oacc-c-c++-common/lib-72.c: Likewise. | |
5657 | * testsuite/libgomp.oacc-c-c++-common/lib-85.c: Likewise. | |
5658 | * testsuite/libgomp.oacc-c-c++-common/pr87835.c: Likewise. | |
5659 | * testsuite/libgomp.oacc-c-c++-common/lib-82.c: Likewise. | |
5660 | * testsuite/libgomp.oacc-c-c++-common/lib-73.c: Likewise. | |
5661 | * testsuite/libgomp.oacc-c-c++-common/lib-83.c: Likewise. | |
5662 | * testsuite/libgomp.oacc-c-c++-common/lib-78.c: Likewise. | |
5663 | * testsuite/libgomp.oacc-c-c++-common/lib-76.c: Likewise. | |
5664 | * testsuite/libgomp.oacc-c-c++-common/lib-84.c: Likewise. | |
5665 | * testsuite/libgomp.oacc-c-c++-common/lib-79.c: Likewise. | |
5666 | * testsuite/libgomp.oacc-c-c++-common/host_data-1.c: Require effective | |
5667 | targets openacc_cublas and openacc_cudart. | |
5668 | * testsuite/libgomp.oacc-c-c++-common/context-1.c: Likewise. | |
5669 | * testsuite/libgomp.oacc-c-c++-common/context-2.c: Likewise. | |
5670 | * testsuite/libgomp.oacc-c-c++-common/context-3.c: Likewise. | |
5671 | * testsuite/libgomp.oacc-c-c++-common/context-4.c: Likewise. | |
5672 | * testsuite/libgomp.oacc-c-c++-common/acc_get_property-nvptx.c: | |
5673 | Require effective target openacc_cudart. | |
5674 | * testsuite/libgomp.oacc-c-c++-common/asyncwait-1.c: Add -DUSE_CUDA_H | |
5675 | for effective target openacc_cuda and add && defined USE_CUDA_H to | |
5676 | preprocessor conditionals. Guard -lcuda also on openacc_cuda | |
5677 | effective target. | |
5678 | ||
01c59ef2 GA |
5679 | 2021-05-26 Jakub Jelinek <jakub@redhat.com> |
5680 | ||
5681 | PR libgomp/100573 | |
5682 | * config/nvptx/target.c (GOMP_target_ext, GOMP_target_data_ext, | |
5683 | GOMP_target_end_data, GOMP_target_update_ext, | |
5684 | GOMP_target_enter_exit_data): New dummy entrypoints. | |
5685 | * config/gcn/target.c (GOMP_target_ext, GOMP_target_data_ext, | |
5686 | GOMP_target_end_data, GOMP_target_update_ext, | |
5687 | GOMP_target_enter_exit_data): Likewise. | |
5688 | * testsuite/libgomp.c-c++-common/for-3.c (DO_PRAGMA, OMPTEAMS, | |
5689 | OMPFROM, OMPTO): Define. | |
5690 | (main): Remove #pragma omp target teams around all the tests. | |
5691 | * testsuite/libgomp.c-c++-common/target-41.c: New test. | |
5692 | * testsuite/libgomp.c-c++-common/target-42.c: New test. | |
5693 | ||
2bc6dace GA |
5694 | 2021-05-25 Jakub Jelinek <jakub@redhat.com> |
5695 | ||
5696 | PR middle-end/99928 | |
5697 | * testsuite/libgomp.c-c++-common/reduction-17.c: New test. | |
5698 | ||
637569df GA |
5699 | 2021-05-24 Tobias Burnus <tobias@codesourcery.com> |
5700 | ||
5701 | PR fortran/86470 | |
5702 | * testsuite/libgomp.fortran/class-firstprivate-1.f90: New test. | |
5703 | * testsuite/libgomp.fortran/class-firstprivate-2.f90: New test. | |
5704 | * testsuite/libgomp.fortran/class-firstprivate-3.f90: New test. | |
5705 | ||
15d30d2f GA |
5706 | 2021-05-22 Thomas Schwinge <thomas@codesourcery.com> |
5707 | ||
5708 | PR testsuite/90115 | |
5709 | * testsuite/libgomp.oacc-fortran/privatized-ref-2.f90: Prune | |
5710 | uninteresting/varying diagnostics. | |
5711 | ||
2832d51b GA |
5712 | 2021-05-21 Thomas Schwinge <thomas@codesourcery.com> |
5713 | ||
5714 | PR middle-end/90115 | |
5715 | * testsuite/libgomp.oacc-c-c++-common/static-variable-1.c: Update. | |
5716 | * testsuite/libgomp.oacc-fortran/privatized-ref-2.f90: Likewise. | |
5717 | ||
5718 | 2021-05-21 Thomas Schwinge <thomas@codesourcery.com> | |
5719 | ||
5720 | PR middle-end/90115 | |
5721 | * testsuite/libgomp.oacc-fortran/private-atomic-1-vector.f90: New | |
5722 | file. | |
5723 | * testsuite/libgomp.oacc-c-c++-common/firstprivate-1.c: Update. | |
5724 | * testsuite/libgomp.oacc-c-c++-common/host_data-7.c: Likewise. | |
5725 | * testsuite/libgomp.oacc-c-c++-common/kernels-decompose-1.c: | |
5726 | Likewise. | |
5727 | * testsuite/libgomp.oacc-c-c++-common/kernels-private-vars-local-worker-1.c: | |
5728 | Likewise. | |
5729 | * testsuite/libgomp.oacc-c-c++-common/kernels-private-vars-local-worker-2.c: | |
5730 | Likewise. | |
5731 | * testsuite/libgomp.oacc-c-c++-common/kernels-private-vars-local-worker-3.c: | |
5732 | Likewise. | |
5733 | * testsuite/libgomp.oacc-c-c++-common/kernels-private-vars-local-worker-4.c: | |
5734 | Likewise. | |
5735 | * testsuite/libgomp.oacc-c-c++-common/kernels-private-vars-local-worker-5.c: | |
5736 | Likewise. | |
5737 | * testsuite/libgomp.oacc-c-c++-common/kernels-private-vars-loop-gang-1.c: | |
5738 | Likewise. | |
5739 | * testsuite/libgomp.oacc-c-c++-common/kernels-private-vars-loop-gang-2.c: | |
5740 | Likewise. | |
5741 | * testsuite/libgomp.oacc-c-c++-common/kernels-private-vars-loop-gang-3.c: | |
5742 | Likewise. | |
5743 | * testsuite/libgomp.oacc-c-c++-common/kernels-private-vars-loop-gang-4.c: | |
5744 | Likewise. | |
5745 | * testsuite/libgomp.oacc-c-c++-common/kernels-private-vars-loop-gang-5.c: | |
5746 | Likewise. | |
5747 | * testsuite/libgomp.oacc-c-c++-common/kernels-private-vars-loop-gang-6.c: | |
5748 | Likewise. | |
5749 | * testsuite/libgomp.oacc-c-c++-common/kernels-private-vars-loop-vector-1.c: | |
5750 | Likewise. | |
5751 | * testsuite/libgomp.oacc-c-c++-common/kernels-private-vars-loop-vector-2.c: | |
5752 | Likewise. | |
5753 | * testsuite/libgomp.oacc-c-c++-common/kernels-private-vars-loop-worker-1.c: | |
5754 | Likewise. | |
5755 | * testsuite/libgomp.oacc-c-c++-common/kernels-private-vars-loop-worker-2.c: | |
5756 | Likewise. | |
5757 | * testsuite/libgomp.oacc-c-c++-common/kernels-private-vars-loop-worker-3.c: | |
5758 | Likewise. | |
5759 | * testsuite/libgomp.oacc-c-c++-common/kernels-private-vars-loop-worker-4.c: | |
5760 | Likewise. | |
5761 | * testsuite/libgomp.oacc-c-c++-common/kernels-private-vars-loop-worker-5.c: | |
5762 | Likewise. | |
5763 | * testsuite/libgomp.oacc-c-c++-common/kernels-private-vars-loop-worker-6.c: | |
5764 | Likewise. | |
5765 | * testsuite/libgomp.oacc-c-c++-common/kernels-private-vars-loop-worker-7.c: | |
5766 | Likewise. | |
5767 | * testsuite/libgomp.oacc-c-c++-common/loop-g-1.c: Likewise. | |
5768 | * testsuite/libgomp.oacc-c-c++-common/loop-g-2.c: Likewise. | |
5769 | * testsuite/libgomp.oacc-c-c++-common/loop-gwv-1.c: Likewise. | |
5770 | * testsuite/libgomp.oacc-c-c++-common/loop-gwv-2.c: Likewise. | |
5771 | * testsuite/libgomp.oacc-c-c++-common/loop-red-g-1.c: Likewise. | |
5772 | * testsuite/libgomp.oacc-c-c++-common/loop-red-gwv-1.c: Likewise. | |
5773 | * testsuite/libgomp.oacc-c-c++-common/loop-red-v-1.c: Likewise. | |
5774 | * testsuite/libgomp.oacc-c-c++-common/loop-red-v-2.c: Likewise. | |
5775 | * testsuite/libgomp.oacc-c-c++-common/loop-red-w-1.c: Likewise. | |
5776 | * testsuite/libgomp.oacc-c-c++-common/loop-red-w-2.c: Likewise. | |
5777 | * testsuite/libgomp.oacc-c-c++-common/loop-red-wv-1.c: Likewise. | |
5778 | * testsuite/libgomp.oacc-c-c++-common/loop-v-1.c: Likewise. | |
5779 | * testsuite/libgomp.oacc-c-c++-common/loop-w-1.c: Likewise. | |
5780 | * testsuite/libgomp.oacc-c-c++-common/loop-wv-1.c: Likewise. | |
5781 | * testsuite/libgomp.oacc-c-c++-common/parallel-reduction.c: | |
5782 | Likewise. | |
5783 | * testsuite/libgomp.oacc-c-c++-common/private-atomic-1-gang.c: | |
5784 | Likewise. | |
5785 | * testsuite/libgomp.oacc-c-c++-common/private-atomic-1.c: | |
5786 | Likewise. | |
5787 | * testsuite/libgomp.oacc-c-c++-common/private-variables.c: | |
5788 | Likewise. | |
5789 | * testsuite/libgomp.oacc-c-c++-common/routine-4.c: Likewise. | |
5790 | * testsuite/libgomp.oacc-c-c++-common/static-variable-1.c: | |
5791 | Likewise. | |
5792 | * testsuite/libgomp.oacc-fortran/acc_on_device-1-1.f90: Likewise. | |
5793 | * testsuite/libgomp.oacc-fortran/acc_on_device-1-2.f: Likewise. | |
5794 | * testsuite/libgomp.oacc-fortran/acc_on_device-1-3.f: Likewise. | |
5795 | * testsuite/libgomp.oacc-fortran/declare-1.f90: Likewise. | |
5796 | * testsuite/libgomp.oacc-fortran/host_data-5.F90: Likewise. | |
5797 | * testsuite/libgomp.oacc-fortran/if-1.f90: Likewise. | |
5798 | * testsuite/libgomp.oacc-fortran/kernels-private-vars-loop-gang-1.f90: | |
5799 | Likewise. | |
5800 | * testsuite/libgomp.oacc-fortran/kernels-private-vars-loop-gang-2.f90: | |
5801 | Likewise. | |
5802 | * testsuite/libgomp.oacc-fortran/kernels-private-vars-loop-gang-3.f90: | |
5803 | Likewise. | |
5804 | * testsuite/libgomp.oacc-fortran/kernels-private-vars-loop-gang-6.f90: | |
5805 | Likewise. | |
5806 | * testsuite/libgomp.oacc-fortran/kernels-private-vars-loop-vector-1.f90: | |
5807 | Likewise. | |
5808 | * testsuite/libgomp.oacc-fortran/kernels-private-vars-loop-vector-2.f90: | |
5809 | Likewise. | |
5810 | * testsuite/libgomp.oacc-fortran/kernels-private-vars-loop-worker-1.f90: | |
5811 | Likewise. | |
5812 | * testsuite/libgomp.oacc-fortran/kernels-private-vars-loop-worker-2.f90: | |
5813 | Likewise. | |
5814 | * testsuite/libgomp.oacc-fortran/kernels-private-vars-loop-worker-3.f90: | |
5815 | Likewise. | |
5816 | * testsuite/libgomp.oacc-fortran/kernels-private-vars-loop-worker-4.f90: | |
5817 | Likewise. | |
5818 | * testsuite/libgomp.oacc-fortran/kernels-private-vars-loop-worker-5.f90: | |
5819 | Likewise. | |
5820 | * testsuite/libgomp.oacc-fortran/kernels-private-vars-loop-worker-6.f90: | |
5821 | Likewise. | |
5822 | * testsuite/libgomp.oacc-fortran/kernels-private-vars-loop-worker-7.f90: | |
5823 | Likewise. | |
5824 | * testsuite/libgomp.oacc-fortran/optional-private.f90: Likewise. | |
5825 | * testsuite/libgomp.oacc-fortran/parallel-dims.f90: Likewise. | |
5826 | * testsuite/libgomp.oacc-fortran/private-atomic-1-gang.f90: | |
5827 | Likewise. | |
5828 | * testsuite/libgomp.oacc-fortran/private-atomic-1-worker.f90: | |
5829 | Likewise. | |
5830 | * testsuite/libgomp.oacc-fortran/private-variables.f90: Likewise. | |
5831 | * testsuite/libgomp.oacc-fortran/privatized-ref-2.f90: Likewise. | |
5832 | * testsuite/libgomp.oacc-fortran/routine-7.f90: Likewise. | |
5833 | ||
5834 | 2021-05-21 Julian Brown <julian@codesourcery.com> | |
5835 | Chung-Lin Tang <cltang@codesourcery.com> | |
5836 | Thomas Schwinge <thomas@codesourcery.com> | |
5837 | ||
5838 | PR middle-end/90115 | |
5839 | * testsuite/libgomp.oacc-c-c++-common/private-atomic-1-gang.c: New | |
5840 | test. | |
5841 | * testsuite/libgomp.oacc-fortran/private-atomic-1-gang.f90: | |
5842 | Likewise. | |
5843 | * testsuite/libgomp.oacc-fortran/private-atomic-1-worker.f90: | |
5844 | Likewise. | |
5845 | ||
5846 | 2021-05-21 Thomas Schwinge <thomas@codesourcery.com> | |
5847 | ||
5848 | * testsuite/libgomp.oacc-fortran/privatized-ref-2.f90: Don't skip | |
5849 | for nvptx offloading. | |
5850 | ||
5851 | 2021-05-21 Tobias Burnus <tobias@codesourcery.com> | |
5852 | ||
5853 | * testsuite/libgomp.oacc-fortran/privatized-ref-2.f90: New. | |
5854 | ||
65f32e5d GA |
5855 | 2021-05-19 Thomas Schwinge <thomas@codesourcery.com> |
5856 | ||
5857 | PR target/83812 | |
5858 | * testsuite/libgomp.oacc-c-c++-common/private-atomic-1.c: New. | |
5859 | ||
5860 | 2021-05-19 Julian Brown <julian@codesourcery.com> | |
5861 | ||
5862 | * testsuite/libgomp.oacc-c-c++-common/loop-gwv-2.c: New. | |
5863 | ||
a8daf9a1 GA |
5864 | 2021-05-18 Thomas Schwinge <thomas@codesourcery.com> |
5865 | ||
5866 | * testsuite/lib/libgomp.exp | |
5867 | (check_effective_target_offload_target_nvptx): Don't shadow global | |
5868 | 'offload_targets' variable. | |
5869 | ||
5870 | 2021-05-18 Thomas Schwinge <thomas@codesourcery.com> | |
5871 | ||
5872 | * testsuite/libgomp.c-c++-common/reduction-5.c: Restrict | |
5873 | '-latomic' to nvptx offloading compilation. | |
5874 | * testsuite/libgomp.c-c++-common/reduction-6.c: Likewise. | |
5875 | ||
5876 | 2021-05-18 Thomas Schwinge <thomas@codesourcery.com> | |
5877 | ||
5878 | * testsuite/libgomp.c/target-44.c: Restrict '-latomic' to nvptx | |
5879 | offloading compilation. | |
5880 | ||
a7ffc1ef GA |
5881 | 2021-05-17 Kwok Cheung Yeung <kcy@codesourcery.com> |
5882 | ||
5883 | * task.c (omp_fulfill_event): Call gomp_team_barrier_set_task_pending | |
5884 | if new tasks generated. | |
5885 | * testsuite/libgomp.c-c++-common/task-detach-13.c: New. | |
5886 | ||
87a7d10c GA |
5887 | 2021-05-14 Tobias Burnus <tobias@codesourcery.com> |
5888 | ||
5889 | * testsuite/libgomp.fortran/parallel-master.f90: New test. | |
5890 | ||
f9af11c7 GA |
5891 | 2021-05-13 Martin Liska <mliska@suse.cz> |
5892 | ||
5893 | PR testsuite/100569 | |
5894 | * testsuite/libgomp.c/omp-nested-3.c: Prune new LTO warning. | |
5895 | * testsuite/libgomp.c/pr46032-2.c: Likewise. | |
5896 | * testsuite/libgomp.oacc-c-c++-common/data-clauses-kernels-ipa-pta.c: Likewise. | |
5897 | * testsuite/libgomp.oacc-c-c++-common/data-clauses-parallel-ipa-pta.c: Likewise. | |
5898 | ||
0ff3a0f2 GA |
5899 | 2021-05-12 Tobias Burnus <tobias@codesourcery.com> |
5900 | ||
5901 | * testsuite/libgomp.c-c++-common/task-detach-12.c: New test. | |
5902 | * testsuite/libgomp.fortran/task-detach-12.f90: New test. | |
5903 | ||
037e3661 GA |
5904 | 2021-05-11 Jakub Jelinek <jakub@redhat.com> |
5905 | ||
5906 | PR middle-end/100471 | |
5907 | * taskloop.c (GOMP_taskloop): If GOMP_TASK_FLAG_REDUCTION and not | |
5908 | GOMP_TASK_FLAG_NOGROUP, when doing early return clear the task | |
5909 | reduction pointer. | |
5910 | * testsuite/libgomp.c/task-reduction-4.c: New test. | |
5911 | ||
62d87a32 GA |
5912 | 2021-05-07 Tobias Burnus <tobias@codesourcery.com> |
5913 | Tom de Vries <tdevries@suse.de> | |
5914 | ||
5915 | * testsuite/libgomp.c-c++-common/reduction-5.c: New test, testing | |
5916 | complex/floating-point || + && reduction with 'omp target'. | |
5917 | * testsuite/libgomp.c-c++-common/reduction-6.c: Likewise. | |
5918 | ||
99e8df7a GA |
5919 | 2021-05-04 Tobias Burnus <tobias@codesourcery.com> |
5920 | ||
5921 | * testsuite/libgomp.c-c++-common/reduction-1.c: New test. | |
5922 | * testsuite/libgomp.c-c++-common/reduction-2.c: New test. | |
5923 | * testsuite/libgomp.c-c++-common/reduction-3.c: New test. | |
5924 | * testsuite/libgomp.c-c++-common/reduction-4.c: New file. | |
5925 | ||
5926 | 2021-05-04 Tobias Burnus <tobias@codesourcery.com> | |
5927 | ||
5928 | PR testsuite/100397 | |
5929 | * testsuite/libgomp.fortran/depobj-1.f90 (dep2, dep3): Move var | |
5930 | declaration to scope of non-'depend'-guarded assignment to avoid races. | |
5931 | ||
e690396d GA |
5932 | 2021-05-03 Tom de Vries <tdevries@suse.de> |
5933 | ||
5934 | PR target/100321 | |
5935 | * testsuite/libgomp.c/target-44.c: New test. | |
5936 | ||
9326049e GA |
5937 | 2021-04-30 Roman Zhuykov <zhroma@ispras.ru> |
5938 | ||
5939 | * testsuite/libgomp.oacc-c-c++-common/atomic_capture-3.c: New test. | |
5940 | ||
3c8e539d GA |
5941 | 2021-04-29 Tom de Vries <tdevries@suse.de> |
5942 | ||
5943 | * testsuite/libgomp.c/pr81778.c: New test. | |
5944 | ||
5945 | 2021-04-29 Tom de Vries <tdevries@suse.de> | |
5946 | ||
5947 | PR target/100232 | |
5948 | * testsuite/libgomp.c/target-43.c: New file. | |
5949 | ||
e4ff4ffb GA |
5950 | 2021-04-28 Jakub Jelinek <jakub@redhat.com> |
5951 | Tobias Burnus <tobias@codesourcery.com> | |
5952 | ||
5953 | * configure.ac (OFFLOAD_DEFAULTED): AC_DEFINE if offload-defaulted. | |
5954 | * target.c (gomp_load_plugin_for_device): If set and if a plugin | |
5955 | can't be dlopened, silently assume it has no devices. | |
5956 | * Makefile.in: Regenerate. | |
5957 | * config.h.in: Regenerate. | |
5958 | * configure: Regenerate. | |
5959 | ||
c0fa3f2f GA |
5960 | 2021-04-26 Tobias Burnus <tobias@codesourcery.com> |
5961 | ||
5962 | * testsuite/libgomp.oacc-fortran/par-reduction-2-1.f: | |
5963 | Use [Ww]arning in dg-bogus as FE diagnostic and default | |
5964 | diagnostic differ and the result depends on ENABLE_OFFLOAD. | |
5965 | * testsuite/libgomp.oacc-fortran/par-reduction-2-2.f: Likewise. | |
5966 | * testsuite/libgomp.oacc-fortran/parallel-dims.f90: Likewise. | |
5967 | * testsuite/libgomp.oacc-fortran/parallel-reduction.f90: Likewise. | |
5968 | ||
5969 | 2021-04-26 Tobias Burnus <tobias@codesourcery.com> | |
5970 | ||
5971 | * testsuite/libgomp.oacc-fortran/par-reduction-2-1.f: | |
5972 | Correct spelling in dg-bogus to match -Wopenacc-parallelism. | |
5973 | * testsuite/libgomp.oacc-fortran/par-reduction-2-2.f: Likewise. | |
5974 | * testsuite/libgomp.oacc-fortran/parallel-dims.f90: Likewise. | |
5975 | * testsuite/libgomp.oacc-fortran/parallel-reduction.f90: Likewise. | |
5976 | ||
5977 | 2021-04-26 Thomas Schwinge <thomas@codesourcery.com> | |
5978 | Nathan Sidwell <nathan@codesourcery.com> | |
5979 | Tom de Vries <vries@codesourcery.com> | |
5980 | Julian Brown <julian@codesourcery.com> | |
5981 | Kwok Cheung Yeung <kcy@codesourcery.com> | |
5982 | ||
5983 | * testsuite/libgomp.oacc-c-c++-common/firstprivate-1.c: Specify | |
5984 | '-Wopenacc-parallelism', and match diagnostics, as appropriate. | |
5985 | * testsuite/libgomp.oacc-c-c++-common/loop-auto-1.c: Likewise. | |
5986 | * testsuite/libgomp.oacc-c-c++-common/loop-red-w-1.c: Likewise. | |
5987 | * testsuite/libgomp.oacc-c-c++-common/loop-red-w-2.c: Likewise. | |
5988 | * testsuite/libgomp.oacc-c-c++-common/loop-w-1.c: Likewise. | |
5989 | * testsuite/libgomp.oacc-c-c++-common/mode-transitions.c: | |
5990 | Likewise. | |
5991 | * testsuite/libgomp.oacc-c-c++-common/par-reduction-1.c: Likewise. | |
5992 | * testsuite/libgomp.oacc-c-c++-common/par-reduction-2.c: Likewise. | |
5993 | * testsuite/libgomp.oacc-c-c++-common/parallel-dims.c: Likewise. | |
5994 | * testsuite/libgomp.oacc-c-c++-common/parallel-reduction.c: | |
5995 | Likewise. | |
5996 | * testsuite/libgomp.oacc-c-c++-common/pr85381-3.c: Likewise. | |
5997 | * testsuite/libgomp.oacc-c-c++-common/private-variables.c: | |
5998 | Likewise. | |
5999 | * testsuite/libgomp.oacc-c-c++-common/reduction-5.c: Likewise. | |
6000 | * testsuite/libgomp.oacc-c-c++-common/reduction-7.c: Likewise. | |
6001 | * testsuite/libgomp.oacc-c-c++-common/routine-g-1.c: Likewise. | |
6002 | * testsuite/libgomp.oacc-c-c++-common/routine-w-1.c: Likewise. | |
6003 | * testsuite/libgomp.oacc-c-c++-common/routine-wv-2.c: Likewise. | |
6004 | * testsuite/libgomp.oacc-c-c++-common/static-variable-1.c: | |
6005 | Likewise. | |
6006 | * testsuite/libgomp.oacc-fortran/optional-private.f90: Likewise. | |
6007 | * testsuite/libgomp.oacc-fortran/par-reduction-2-1.f: Likewise. | |
6008 | * testsuite/libgomp.oacc-fortran/par-reduction-2-2.f: Likewise. | |
6009 | * testsuite/libgomp.oacc-fortran/parallel-dims.f90: Likewise. | |
6010 | * testsuite/libgomp.oacc-fortran/parallel-reduction.f90: Likewise. | |
6011 | * testsuite/libgomp.oacc-fortran/pr84028.f90: Likewise. | |
6012 | * testsuite/libgomp.oacc-fortran/private-variables.f90: Likewise. | |
6013 | * testsuite/libgomp.oacc-fortran/reduction-1.f90: Likewise. | |
6014 | * testsuite/libgomp.oacc-fortran/reduction-5.f90: Likewise. | |
6015 | * testsuite/libgomp.oacc-fortran/reduction-6.f90: Likewise. | |
6016 | * testsuite/libgomp.oacc-fortran/routine-7.f90: Likewise. | |
6017 | ||
6018 | 2021-04-26 Thomas Schwinge <thomas@codesourcery.com> | |
6019 | ||
6020 | * testsuite/libgomp.oacc-c-c++-common/par-reduction-1.c: Don't | |
6021 | compile with '-w'. | |
6022 | * testsuite/libgomp.oacc-c-c++-common/par-reduction-2.c: Likewise. | |
6023 | * testsuite/libgomp.oacc-c-c++-common/parallel-reduction.c: | |
6024 | Likewise. | |
6025 | * testsuite/libgomp.oacc-c-c++-common/reduction-5.c: Likewise. | |
6026 | * testsuite/libgomp.oacc-c-c++-common/reduction-6.c: Likewise. | |
6027 | * testsuite/libgomp.oacc-fortran/parallel-reduction.f90: Likewise. | |
6028 | * testsuite/libgomp.oacc-fortran/reduction-1.f90: Likewise. | |
6029 | * testsuite/libgomp.oacc-fortran/reduction-5.f90: Likewise. | |
6030 | * testsuite/libgomp.oacc-fortran/reduction-6.f90: Likewise. | |
6031 | * testsuite/libgomp.oacc-fortran/reduction-7.f90: Likewise. | |
6032 | ||
e3948473 GA |
6033 | 2021-04-22 Richard Biener <rguenther@suse.de> |
6034 | ||
6035 | * testsuite/libgomp.c-c++-common/reduction-16.c: Use -latomic | |
6036 | only on nvptx-none. | |
6037 | ||
c1ef0c92 GA |
6038 | 2021-04-21 Tobias Burnus <tobias@codesourcery.com> |
6039 | ||
6040 | * testsuite/libgomp.fortran/depobj-1.f90: Use omp_lib's | |
6041 | omp_depend_kind instead of defining it as 16. | |
6042 | ||
6043 | 2021-04-21 Tobias Burnus <tobias@codesourcery.com> | |
6044 | ||
6045 | * testsuite/lib/libgomp.exp (offload_target_to_openacc_device_type): | |
6046 | New, based on check_effective_target_offload_target_nvptx. | |
6047 | (check_effective_target_offload_target_nvptx): Call it. | |
6048 | (check_effective_target_offload_target_amdgcn): New. | |
6049 | * testsuite/libgomp.c-c++-common/function-not-offloaded.c: | |
6050 | Require target offload_target_nvptx || offload_target_amdgcn. | |
6051 | * testsuite/libgomp.c-c++-common/variable-not-offloaded.c: Likewise. | |
6052 | * testsuite/libgomp.c/pr86416-1.c: Likewise. | |
6053 | * testsuite/libgomp.c/pr86416-2.c: Likewise. | |
6054 | ||
6055 | 2021-04-21 Tobias Burnus <tobias@codesourcery.com> | |
6056 | ||
6057 | * testsuite/libgomp.fortran/depobj-1.f90: New test. | |
6058 | ||
6e81e015 GA |
6059 | 2021-04-19 Thomas Schwinge <thomas@codesourcery.com> |
6060 | ||
6061 | * testsuite/libgomp.oacc-c-c++-common/declare-vla-kernels-decompose-ice-1.c: | |
6062 | '-fopenacc-kernels=[...]' -> '--param=openacc-kernels=[...]'. | |
6063 | * testsuite/libgomp.oacc-c-c++-common/declare-vla-kernels-decompose.c: | |
6064 | Likewise. | |
6065 | * testsuite/libgomp.oacc-c-c++-common/kernels-decompose-1.c: | |
6066 | Likewise. | |
6067 | * testsuite/libgomp.oacc-fortran/pr94358-1.f90: Likewise. | |
6068 | ||
ee351f7f GA |
6069 | 2021-04-15 Thomas Schwinge <thomas@codesourcery.com> |
6070 | ||
6071 | PR target/99555 | |
6072 | * testsuite/lib/libgomp.exp | |
6073 | (check_effective_target_offload_device_nvptx): New. | |
6074 | * testsuite/libgomp.c/pr99555-1.c <nvptx offload device>: Until | |
6075 | resolved, make sure that we exit quickly, with error status, | |
6076 | XFAILed. | |
6077 | * testsuite/libgomp.c-c++-common/task-detach-6.c: Likewise. | |
6078 | * testsuite/libgomp.fortran/task-detach-6.f90: Likewise. | |
6079 | ||
df3b1289 GA |
6080 | 2021-04-14 Jakub Jelinek <jakub@redhat.com> |
6081 | ||
6082 | PR testsuite/100071 | |
6083 | * testsuite/libgomp.fortran/alloc-1.F90: Call c_f_pointer after last | |
6084 | cp = omp_alloc with cp, p arguments instead of cq, q and call | |
6085 | c_f_pointer after last cq = omp_alloc with cq, q. | |
6086 | ||
a0ecde22 GA |
6087 | 2021-04-11 Hafiz Abid Qadeer <abidh@codesourcery.com> |
6088 | ||
6089 | PR middle-end/98088 | |
6090 | * testsuite/libgomp.oacc-c-c++-common/collapse-2.c: Add check | |
6091 | for loop with GT/GE condition. | |
6092 | * testsuite/libgomp.oacc-c-c++-common/collapse-3.c: Likewise. | |
6093 | ||
3115aba8 GA |
6094 | 2021-04-09 Thomas Schwinge <thomas@codesourcery.com> |
6095 | ||
6096 | PR middle-end/84991 | |
6097 | PR middle-end/84992 | |
6098 | PR middle-end/90779 | |
6099 | * testsuite/libgomp.oacc-c-c++-common/static-variable-1.c: New. | |
6100 | ||
6101 | 2021-04-09 Jakub Jelinek <jakub@redhat.com> | |
6102 | ||
6103 | PR libgomp/99984 | |
6104 | * team.c (gomp_thread_start): Call pthread_setspecific for | |
6105 | !(defined HAVE_TLS || defined USE_EMUTLS) only after local_thr | |
6106 | has been initialized to avoid false positive warning. | |
6107 | ||
65374af2 GA |
6108 | 2021-03-29 Tobias Burnus <tobias@codesourcery.com> |
6109 | ||
6110 | PR target/99555 | |
6111 | * testsuite/lib/on_device_arch.c: Move to ... | |
6112 | * testsuite/libgomp.c-c++-common/on_device_arch.h: ... here. | |
6113 | * testsuite/libgomp.fortran/on_device_arch.c: New file; | |
6114 | #include on_device_arch.h. | |
6115 | * testsuite/libgomp.c-c++-common/task-detach-6.c: #include | |
6116 | on_device_arch.h instead of using dg-additional-source. | |
6117 | * testsuite/libgomp.c/pr99555-1.c: Likewise. | |
6118 | * testsuite/libgomp.fortran/task-detach-6.f90: Update to use | |
6119 | on_device_arch.c without relative paths. | |
6120 | ||
4493b1c1 GA |
6121 | 2021-03-25 Thomas Schwinge <thomas@codesourcery.com> |
6122 | ||
6123 | * plugin/plugin-gcn.c (init_environment_variables): Don't prepend | |
6124 | the 'HSA_RUNTIME_LIB' path to 'libhsa-runtime64.so'. | |
6125 | * plugin/configfrag.ac (HSA_RUNTIME_LIB): Clean up. | |
6126 | * config.h.in: Regenerate. | |
6127 | * configure: Likewise. | |
6128 | ||
6129 | 2021-03-25 Thomas Schwinge <thomas@codesourcery.com> | |
6130 | ||
6131 | PR target/99555 | |
6132 | * testsuite/lib/on_device_arch.c: New file. | |
6133 | * testsuite/libgomp.c/pr99555-1.c: Likewise. | |
6134 | * testsuite/libgomp.c-c++-common/task-detach-6.c: Until resolved, | |
6135 | skip for nvptx offloading, with error status. | |
6136 | * testsuite/libgomp.fortran/task-detach-6.f90: Likewise. | |
6137 | ||
6138 | 2021-03-25 Thomas Schwinge <thomas@codesourcery.com> | |
6139 | ||
6140 | * testsuite/libgomp.oacc-fortran/derivedtypes-arrays-1.f90: | |
6141 | OpenACC 'serial' construct diagnostic for nvptx offloading. | |
6142 | ||
3c5b6d24 GA |
6143 | 2021-03-15 Tobias Burnus <tobias@codesourcery.com> |
6144 | ||
6145 | PR c++/99509 | |
6146 | * testsuite/libgomp.c-c++-common/declare_target-1.c: New test. | |
6147 | ||
6da2762a GA |
6148 | 2021-03-12 Tobias Burnus <tobias@codesourcery.com> |
6149 | ||
6150 | PR fortran/98858 | |
6151 | * testsuite/libgomp.fortran/use_device_ptr-3.f90: New test. | |
6152 | ||
67f10d28 GA |
6153 | 2021-03-04 Jakub Jelinek <jakub@redhat.com> |
6154 | ||
6155 | * configure.ac: Add AC_CHECK_SIZEOF([void *]). | |
6156 | * plugin/configfrag.ac: Check $ac_cv_sizeof_void_p value instead of | |
6157 | checking of -m32 or -mx32 options on the command line. | |
6158 | * config.h.in: Regenerated. | |
6159 | * configure: Regenerated. | |
6160 | ||
ec9dc4fa GA |
6161 | 2021-02-27 Iain Sandoe <iain@sandoe.co.uk> |
6162 | ||
6163 | * testsuite/libgomp.c-c++-common/pr96390.c: Require alias | |
6164 | support from the target. | |
6165 | ||
daa68844 GA |
6166 | 2021-02-25 Kwok Cheung Yeung <kcy@codesourcery.com> |
6167 | Jakub Jelinek <jakub@redhat.com> | |
6168 | ||
6169 | PR libgomp/98738 | |
6170 | * libgomp.h (enum gomp_task_kind): Add GOMP_TASK_DETACHED. | |
6171 | (struct gomp_task): Replace detach and completion_sem fields with | |
6172 | union containing completion_sem and detach_team. Add deferred_p | |
6173 | field. | |
6174 | (struct gomp_team): Remove task_detach_queue. | |
6175 | * task.c: Include assert.h. | |
6176 | (gomp_init_task): Initialize deferred_p and completion_sem fields. | |
6177 | Rearrange initialization order of fields. | |
6178 | (task_fulfilled_p): Delete. | |
6179 | (GOMP_task): Use address of task as the event handle. Remove | |
6180 | initialization of detach field. Initialize deferred_p field. | |
6181 | Use automatic local for completion_sem. Initialize detach_team field | |
6182 | for deferred tasks. | |
6183 | (gomp_barrier_handle_tasks): Remove handling of task_detach_queue. | |
6184 | Set kind of suspended detach task to GOMP_TASK_DETACHED and | |
6185 | decrement task_running_count. Move finish_cancelled block out of | |
6186 | else branch. Relocate call to gomp_team_barrier_done. | |
6187 | (GOMP_taskwait): Handle tasks with completion events that have not | |
6188 | been fulfilled. | |
6189 | (GOMP_taskgroup_end): Likewise. | |
6190 | (omp_fulfill_event): Use address of task as event handle. Post to | |
6191 | completion_sem for undeferred tasks. Clear detach_team if task | |
6192 | has not finished. For finished tasks, handle post-execution tasks, | |
6193 | call gomp_team_barrier_wake if necessary, and free task. | |
6194 | * team.c (gomp_new_team): Remove initialization of task_detach_queue. | |
6195 | (free_team): Remove free of task_detach_queue. | |
6196 | * testsuite/libgomp.c-c++-common/task-detach-1.c: Fix formatting. | |
6197 | * testsuite/libgomp.c-c++-common/task-detach-2.c: Fix formatting. | |
6198 | * testsuite/libgomp.c-c++-common/task-detach-3.c: Fix formatting. | |
6199 | * testsuite/libgomp.c-c++-common/task-detach-4.c: Fix formatting. | |
6200 | * testsuite/libgomp.c-c++-common/task-detach-5.c: Fix formatting. | |
6201 | Change data-sharing of detach events on enclosing parallel to private. | |
6202 | * testsuite/libgomp.c-c++-common/task-detach-6.c: Likewise. Remove | |
6203 | taskwait directive. | |
6204 | * testsuite/libgomp.c-c++-common/task-detach-7.c: New. | |
6205 | * testsuite/libgomp.c-c++-common/task-detach-8.c: New. | |
6206 | * testsuite/libgomp.c-c++-common/task-detach-9.c: New. | |
6207 | * testsuite/libgomp.c-c++-common/task-detach-10.c: New. | |
6208 | * testsuite/libgomp.c-c++-common/task-detach-11.c: New. | |
6209 | * testsuite/libgomp.fortran/task-detach-1.f90: Fix formatting. | |
6210 | * testsuite/libgomp.fortran/task-detach-2.f90: Fix formatting. | |
6211 | * testsuite/libgomp.fortran/task-detach-3.f90: Fix formatting. | |
6212 | * testsuite/libgomp.fortran/task-detach-4.f90: Fix formatting. | |
6213 | * testsuite/libgomp.fortran/task-detach-5.f90: Fix formatting. | |
6214 | Change data-sharing of detach events on enclosing parallel to private. | |
6215 | * testsuite/libgomp.fortran/task-detach-6.f90: Likewise. Remove | |
6216 | taskwait directive. | |
6217 | * testsuite/libgomp.fortran/task-detach-7.f90: New. | |
6218 | * testsuite/libgomp.fortran/task-detach-8.f90: New. | |
6219 | * testsuite/libgomp.fortran/task-detach-9.f90: New. | |
6220 | * testsuite/libgomp.fortran/task-detach-10.f90: New. | |
6221 | * testsuite/libgomp.fortran/task-detach-11.f90: New. | |
6222 | ||
2f5765cf GA |
6223 | 2021-02-22 Tobias Burnus <tobias@codesourcery.com> |
6224 | ||
6225 | PR fortran/99171 | |
6226 | * testsuite/libgomp.fortran/dummy-procs-1.f90: New test. | |
6227 | ||
acc0ee5c GA |
6228 | 2021-02-17 Julian Brown <julian@codesourcery.com> |
6229 | ||
6230 | * testsuite/libgomp.oacc-fortran/array-stride-dt-1.f90: Remove | |
6231 | expected errors. | |
6232 | ||
6233 | 2021-02-17 Julian Brown <julian@codesourcery.com> | |
6234 | ||
6235 | * testsuite/libgomp.oacc-fortran/derivedtypes-arrays-1.f90: New test. | |
6236 | * testsuite/libgomp.oacc-fortran/update-dt-array.f90: Likewise. | |
6237 | ||
0c5cdb31 GA |
6238 | 2021-02-11 Uroš Bizjak <ubizjak@gmail.com> |
6239 | ||
6240 | * config/linux/x86/futex.h (__futex_wait): | |
6241 | Revert output type back to long. | |
6242 | (__futex_wake): Ditto. | |
6243 | (futex_wait): Update for revert. | |
6244 | (futex_wake): Ditto. | |
6245 | ||
6246 | 2021-02-11 Uroš Bizjak <ubizjak@gmail.com> | |
6247 | ||
6248 | * config/linux/x86/futex.h (__futex_wait): New static inline | |
6249 | wrapper function. Correct output type to int and | |
6250 | timeout type to void *. | |
6251 | (__futex_wake): New static inline wrapper function. | |
6252 | Correct output type to int. | |
6253 | (futex_wait): Use __futex_wait. | |
6254 | (futex_wake): Use __futex_wake. | |
6255 | ||
4b37c3ea GA |
6256 | 2021-02-10 Julian Brown <julian@codesourcery.com> |
6257 | ||
6258 | PR fortran/98979 | |
6259 | * testsuite/libgomp.oacc-fortran/array-stride-dt-1.f90: Add expected | |
6260 | errors. | |
6261 | ||
a19dd5e6 GA |
6262 | 2021-02-04 Julian Brown <julian@codesourcery.com> |
6263 | ||
6264 | * testsuite/libgomp.oacc-fortran/array-stride-dt-1.f90: New test. | |
6265 | ||
9faaa807 GA |
6266 | 2021-02-03 Andrew Stubbs <ams@codesourcery.com> |
6267 | ||
6268 | * plugin/plugin-gcn.c (EF_AMDGPU_MACH): Add | |
6269 | EF_AMDGPU_MACH_AMDGCN_GFX908. | |
6270 | (gcn_gfx908_s): New constant string. | |
6271 | (isa_hsa_name): Add gfx908. | |
6272 | (isa_code): Add gfx908. | |
6273 | ||
161e4c08 GA |
6274 | 2021-01-25 Kwok Cheung Yeung <kcy@codesourcery.com> |
6275 | ||
6276 | * libgomp.texi (omp_fulfill_event): New entry. | |
6277 | ||
b93d0e36 GA |
6278 | 2021-01-20 Jakub Jelinek <jakub@redhat.com> |
6279 | ||
6280 | * task.c (GOMP_task): Rename priority argument to priority_arg, | |
6281 | add priority automatic variable and modify that variable. Instead of | |
6282 | clearing detach argument when GOMP_TASK_FLAG_DETACH bit is not set, | |
6283 | check flags for that bit. | |
6284 | ||
f35a4f96 GA |
6285 | 2021-01-19 Tobias Burnus <tobias@codesourcery.com> |
6286 | ||
6287 | PR fortran/98476 | |
6288 | * testsuite/libgomp.fortran/is_device_ptr-1.f90: New test. | |
6289 | ||
ef1f8ee6 GA |
6290 | 2021-01-18 Andreas Schwab <schwab@suse.de> |
6291 | ||
6292 | * configure.tgt (riscv64*-*-linux*): Add linux to config_path. | |
6293 | ||
6294 | 2021-01-18 Sebastian Huber <sebastian.huber@embedded-brains.de> | |
6295 | ||
6296 | * config/rtems/sem.h (gomp_sem_getcount): New function. | |
6297 | ||
6298 | 2021-01-18 Jakub Jelinek <jakub@redhat.com> | |
6299 | ||
6300 | * config/linux/sem.h (gomp_sem_getcount): New function. | |
6301 | * config/posix/sem.h (gomp_sem_getcount): New function. | |
6302 | * config/posix/sem.c (gomp_sem_getcount): New function. | |
6303 | * config/accel/sem.h (gomp_sem_getcount): New function. | |
6304 | * task.c (task_fulfilled_p): Use gomp_sem_getcount. | |
6305 | (omp_fulfill_event): Likewise. | |
6306 | ||
59cf67d1 GA |
6307 | 2021-01-16 Kwok Cheung Yeung <kcy@codesourcery.com> |
6308 | ||
6309 | * fortran.c (omp_fulfill_event_): New. | |
6310 | * libgomp.h (struct gomp_task): Add detach and completion_sem fields. | |
6311 | (struct gomp_team): Add task_detach_queue and task_detach_count | |
6312 | fields. | |
6313 | * libgomp.map (OMP_5.0.1): Add omp_fulfill_event and omp_fulfill_event_. | |
6314 | * libgomp_g.h (GOMP_task): Add extra argument. | |
6315 | * omp.h.in (enum omp_event_handle_t): New. | |
6316 | (omp_fulfill_event): New. | |
6317 | * omp_lib.f90.in (omp_event_handle_kind): New. | |
6318 | (omp_fulfill_event): New. | |
6319 | * omp_lib.h.in (omp_event_handle_kind): New. | |
6320 | (omp_fulfill_event): Declare. | |
6321 | * priority_queue.c (priority_tree_find): New. | |
6322 | (priority_list_find): New. | |
6323 | (priority_queue_find): New. | |
6324 | * priority_queue.h (priority_queue_predicate): New. | |
6325 | (priority_queue_find): New. | |
6326 | * task.c (gomp_init_task): Initialize detach field. | |
6327 | (task_fulfilled_p): New. | |
6328 | (GOMP_task): Add detach argument. Ignore detach argument if | |
6329 | GOMP_TASK_FLAG_DETACH not set in flags. Initialize completion_sem | |
6330 | field. Copy address of completion_sem into detach argument and | |
6331 | into the start of the data record. Wait for detach event if task | |
6332 | not deferred. | |
6333 | (gomp_barrier_handle_tasks): Queue tasks with unfulfilled events. | |
6334 | Remove completed tasks and requeue dependent tasks. | |
6335 | (omp_fulfill_event): New. | |
6336 | * team.c (gomp_new_team): Initialize task_detach_queue and | |
6337 | task_detach_count fields. | |
6338 | (free_team): Free task_detach_queue field. | |
6339 | * testsuite/libgomp.c-c++-common/task-detach-1.c: New testcase. | |
6340 | * testsuite/libgomp.c-c++-common/task-detach-2.c: New testcase. | |
6341 | * testsuite/libgomp.c-c++-common/task-detach-3.c: New testcase. | |
6342 | * testsuite/libgomp.c-c++-common/task-detach-4.c: New testcase. | |
6343 | * testsuite/libgomp.c-c++-common/task-detach-5.c: New testcase. | |
6344 | * testsuite/libgomp.c-c++-common/task-detach-6.c: New testcase. | |
6345 | * testsuite/libgomp.fortran/task-detach-1.f90: New testcase. | |
6346 | * testsuite/libgomp.fortran/task-detach-2.f90: New testcase. | |
6347 | * testsuite/libgomp.fortran/task-detach-3.f90: New testcase. | |
6348 | * testsuite/libgomp.fortran/task-detach-4.f90: New testcase. | |
6349 | * testsuite/libgomp.fortran/task-detach-5.f90: New testcase. | |
6350 | * testsuite/libgomp.fortran/task-detach-6.f90: New testcase. | |
6351 | ||
2f7f0d32 GA |
6352 | 2021-01-15 Jakub Jelinek <jakub@redhat.com> |
6353 | ||
6354 | PR target/70454 | |
6355 | * configure.tgt: For i?86 and x86_64 determine if -march=i486 needs to | |
6356 | be added through preprocessor check on | |
6357 | __GCC_HAVE_SYNC_COMPARE_AND_SWAP_4. | |
6358 | ||
5fff80fd GA |
6359 | 2021-01-14 Thomas Schwinge <thomas@codesourcery.com> |
6360 | ||
6361 | PR libgomp/65099 | |
6362 | * plugin/configfrag.ac (PLUGIN_NVPTX): Restrict to supported | |
6363 | configurations. | |
6364 | * configure: Regenerate. | |
6365 | * plugin/plugin-nvptx.c (nvptx_get_num_devices): Remove 64-bit | |
6366 | check. | |
6367 | ||
651b8a50 GA |
6368 | 2021-01-05 Samuel Thibault <samuel.thibault@ens-lyon.org> |
6369 | ||
6370 | * configure: Re-generate. | |
6371 | ||
6372 | 2021-01-05 Samuel Thibault <samuel.thibault@ens-lyon.org> | |
6373 | ||
6374 | * configure: Re-generate. | |
6375 | ||
6376 | 2021-01-05 Julian Brown <julian@codesourcery.com> | |
6377 | ||
6378 | * plugin/plugin-nvptx.c (SOFTSTACK_CACHE_LIMIT): New define. | |
6379 | (struct ptx_device): Add omp_stacks struct. | |
6380 | (nvptx_open_device): Initialise cached-stacks housekeeping info. | |
6381 | (nvptx_close_device): Free cached stacks block and mutex. | |
6382 | (nvptx_stacks_free): New function. | |
6383 | (nvptx_alloc): Add SUPPRESS_ERRORS parameter. | |
6384 | (GOMP_OFFLOAD_alloc): Add strategies for freeing soft-stacks block. | |
6385 | (nvptx_stacks_alloc): Rename to... | |
6386 | (nvptx_stacks_acquire): This. Cache stacks block between runs if same | |
6387 | size or smaller is required. | |
6388 | (nvptx_stacks_free): Remove. | |
6389 | (GOMP_OFFLOAD_run): Call nvptx_stacks_acquire and lock stacks block | |
6390 | during kernel execution. | |
6391 | ||
b6dd195a GA |
6392 | 2021-01-01 Jakub Jelinek <jakub@redhat.com> |
6393 | ||
6394 | * libgomp.texi: Bump @copying's copyright year. | |
6395 | ||
2d3425a5 GA |
6396 | 2020-12-28 Gerald Pfeifer <gerald@pfeifer.com> |
6397 | ||
6398 | * libgomp.texi (Top): Avoid bad "up" link. | |
6399 | ||
b1a2242e GA |
6400 | 2020-12-18 Jakub Jelinek <jakub@redhat.com> |
6401 | ||
6402 | * testsuite/libgomp.c/task-6.c: New test. | |
6403 | ||
ca2bd949 GA |
6404 | 2020-12-09 Andrew Stubbs <ams@codesourcery.com> |
6405 | ||
6406 | * plugin/plugin-gcn.c: Include hsa_ext_amd.h. | |
6407 | (HSA_AMD_AGENT_INFO_COMPUTE_UNIT_COUNT): Delete redundant definition. | |
6408 | ||
f6e8e279 GA |
6409 | 2020-12-08 Tobias Burnus <tobias@codesourcery.com> |
6410 | ||
6411 | * testsuite/libgomp.fortran/scan-1.f90: New test. | |
6412 | ||
6e1edf48 GA |
6413 | 2020-12-05 Iain Sandoe <iain@sandoe.co.uk> |
6414 | ||
6415 | PR target/97865 | |
6416 | * configure: Regenerate. | |
6417 | ||
a9625c50 GA |
6418 | 2020-11-29 John David Anglin <danglin@gcc.gnu.org> |
6419 | ||
6420 | * configure: Regenerate. | |
6421 | ||
360258da GA |
6422 | 2020-11-25 Thomas Schwinge <thomas@codesourcery.com> |
6423 | ||
6424 | * testsuite/libgomp.oacc-c++/cache-1.C: New. | |
6425 | * testsuite/libgomp.oacc-c-c++-common/cache-1.c: Update. | |
6426 | ||
6427 | 2020-11-25 Andrew Stubbs <ams@codesourcery.com> | |
6428 | ||
6429 | * testsuite/libgomp.oacc-fortran/atomic_capture-1.f90 (main): Adjust | |
6430 | expected results. | |
6431 | ||
1e2c9a27 GA |
6432 | 2020-11-24 Andrew Stubbs <ams@codesourcery.com> |
6433 | ||
6434 | * plugin/plugin-gcn.c: Don't redefine relocations if elf.h has them. | |
6435 | (reserved): Delete unused define. | |
6436 | ||
6437 | 2020-11-24 Thomas Schwinge <thomas@codesourcery.com> | |
6438 | ||
6439 | * testsuite/libgomp.oacc-c-c++-common/kernels-decompose-1.c: Avoid | |
6440 | Tcl 8.5-specific behavior. | |
6441 | * testsuite/libgomp.oacc-fortran/pr94358-1.f90: Likewise. | |
6442 | ||
25bb75f8 GA |
6443 | 2020-11-18 Kwok Cheung Yeung <kcy@codesourcery.com> |
6444 | ||
6445 | * env.c (gomp_global_icv): Remove nest_var field. Add | |
6446 | max_active_levels_var field. | |
6447 | (gomp_max_active_levels_var): Remove. | |
6448 | (parse_boolean): Return true on success. | |
6449 | (handle_omp_display_env): Express OMP_NESTED in terms of | |
6450 | max_active_levels_var. Change format specifier for | |
6451 | max_active_levels_var. | |
6452 | (initialize_env): Set max_active_levels_var from | |
6453 | OMP_MAX_ACTIVE_LEVELS, OMP_NESTED, OMP_NUM_THREADS and | |
6454 | OMP_PROC_BIND. | |
6455 | * icv.c (omp_set_nested): Express in terms of | |
6456 | max_active_levels_var. | |
6457 | (omp_get_nested): Likewise. | |
6458 | (omp_set_max_active_levels): Use max_active_levels_var field instead | |
6459 | of gomp_max_active_levels_var. | |
6460 | (omp_get_max_active_levels): Likewise. | |
6461 | * libgomp.h (struct gomp_task_icv): Remove nest_var field. Add | |
6462 | max_active_levels_var field. | |
6463 | (gomp_supported_active_levels): Set to UCHAR_MAX. | |
6464 | (gomp_max_active_levels_var): Delete. | |
6465 | * libgomp.texi (omp_get_nested): Update documentation. | |
6466 | (omp_set_nested): Likewise. | |
6467 | (OMP_MAX_ACTIVE_LEVELS): Likewise. | |
6468 | (OMP_NESTED): Likewise. | |
6469 | (OMP_NUM_THREADS): Likewise. | |
6470 | (OMP_PROC_BIND): Likewise. | |
6471 | * parallel.c (gomp_resolve_num_threads): Replace reference | |
6472 | to nest_var with max_active_levels_var. Use max_active_levels_var | |
6473 | field instead of gomp_max_active_levels_var. | |
6474 | ||
6475 | 2020-11-18 Tobias Burnus <tobias@codesourcery.com> | |
6476 | ||
6477 | * testsuite/libgomp.c/usleep.h (fallback_usleep): Renamed from | |
6478 | nvptx_usleep; use also for device={arch(gcn)}. | |
6479 | ||
faab61b5 GA |
6480 | 2020-11-14 Jakub Jelinek <jakub@redhat.com> |
6481 | ||
6482 | * testsuite/libgomp.c-c++-common/allocate-1.c (struct S): New type. | |
6483 | (foo): Add tests for non-VLA private and firstprivate clauses on | |
6484 | omp task. | |
6485 | (bar): Likewise. Remove taking of address from private/firstprivate | |
6486 | variables. | |
6487 | * testsuite/libgomp.c++/allocate-1.C (struct S): New type. | |
6488 | (foo): Add p, q, px and s arguments. Add tests for array reductions | |
6489 | and for non-VLA private and firstprivate clauses on omp task. | |
6490 | (bar): Removed. | |
6491 | (main): Adjust foo caller. Don't call bar. | |
6492 | ||
77f67db2 GA |
6493 | 2020-11-13 Gergö Barany <gergo@codesourcery.com> |
6494 | Thomas Schwinge <thomas@codesourcery.com> | |
6495 | ||
6496 | * testsuite/libgomp.oacc-c-c++-common/declare-vla-kernels-decompose-ice-1.c: | |
6497 | New. | |
6498 | * testsuite/libgomp.oacc-c-c++-common/declare-vla-kernels-decompose.c: | |
6499 | Likewise. | |
6500 | * testsuite/libgomp.oacc-c-c++-common/kernels-decompose-1.c: | |
6501 | Likewise. | |
6502 | * testsuite/libgomp.oacc-c-c++-common/declare-vla.c: Adjust. | |
6503 | * testsuite/libgomp.oacc-fortran/pr94358-1.f90: Likewise. | |
6504 | ||
6505 | 2020-11-13 Gergö Barany <gergo@codesourcery.com> | |
6506 | Thomas Schwinge <thomas@codesourcery.com> | |
6507 | ||
6508 | PR fortran/94358 | |
6509 | * testsuite/libgomp.oacc-fortran/pr94358-1.f90: New. | |
6510 | ||
6511 | 2020-11-13 Jakub Jelinek <jakub@redhat.com> | |
6512 | ||
6513 | * testsuite/libgomp.c-c++-common/allocate-1.c (foo): Add tests | |
6514 | for array reductions. | |
6515 | (main): Adjust foo callers. | |
6516 | ||
a5a11525 GA |
6517 | 2020-11-12 Jakub Jelinek <jakub@redhat.com> |
6518 | ||
6519 | * libgomp.map (GOMP_alloc, GOMP_free): Export at GOMP_5.0.1. | |
6520 | * omp.h.in (omp_alloc): Add malloc and alloc_size attributes. | |
6521 | * libgomp_g.h (GOMP_alloc, GOMP_free): Declare. | |
6522 | * allocator.c (omp_aligned_alloc): New for now static function, | |
6523 | add alignment argument and handle it. | |
6524 | (omp_alloc): Reimplement using omp_aligned_alloc. | |
6525 | (GOMP_alloc, GOMP_free): New functions. | |
6526 | (omp_free): Add ialias. | |
6527 | * testsuite/libgomp.c-c++-common/allocate-1.c: New test. | |
6528 | * testsuite/libgomp.c++/allocate-1.C: New test. | |
6529 | ||
6530 | 2020-11-12 Thomas Schwinge <thomas@codesourcery.com> | |
6531 | ||
6532 | PR fortran/97782 | |
6533 | * testsuite/libgomp.oacc-fortran/attach-descriptor-1.f90: Adjust. | |
6534 | ||
bb622641 GA |
6535 | 2020-11-10 Chung-Lin Tang <cltang@codesourcery.com> |
6536 | ||
6537 | * libgomp.h (enum gomp_map_vars_kind): Adjust enum values to be bit-flag | |
6538 | usable. | |
6539 | * oacc-mem.c (acc_map_data): Adjust gomp_map_vars argument flags to | |
6540 | 'GOMP_MAP_VARS_OPENACC | GOMP_MAP_VARS_ENTER_DATA'. | |
6541 | (goacc_enter_datum): Likewise for call to gomp_map_vars_async. | |
6542 | (goacc_enter_data_internal): Likewise. | |
6543 | * target.c (gomp_map_vars_internal): | |
6544 | Change checks of GOMP_MAP_VARS_ENTER_DATA to use bit-and (&). Adjust use | |
6545 | of gomp_attach_pointer for OpenMP cases. | |
6546 | (gomp_exit_data): Add handling of GOMP_MAP_DETACH. | |
6547 | (GOMP_target_enter_exit_data): Add handling of GOMP_MAP_ATTACH. | |
6548 | * testsuite/libgomp.c-c++-common/ptr-attach-1.c: New testcase. | |
6549 | ||
0cfd9109 GA |
6550 | 2020-11-05 Ulrich Drepper <drepper@redhat.com> |
6551 | Kwok Cheung Yeung <kcy@codesourcery.com> | |
6552 | ||
6553 | * Makefile.am (%.mod): Add -cpp and -fopenmp to compile flags. | |
6554 | * Makefile.in: Regenerate. | |
6555 | * fortran.c: Wrap uses of omp_set_nested and omp_get_nested with | |
6556 | pragmas to ignore -Wdeprecated-declarations warnings. | |
6557 | * icv.c: Likewise. | |
6558 | * omp.h.in (__GOMP_DEPRECATED_5_0): Define. | |
6559 | Mark omp_lock_hint_* enum values, omp_lock_hint_t, omp_set_nested, | |
6560 | and omp_get_nested with __GOMP_DEPRECATED_5_0. | |
6561 | * omp_lib.f90.in: Mark omp_get_nested and omp_set_nested as | |
6562 | deprecated. | |
6563 | * testsuite/libgomp.c++/affinity-1.C: Add -Wno-deprecated-declarations | |
6564 | to test options. | |
6565 | * testsuite/libgomp.c/affinity-1.c: Likewise. | |
6566 | * testsuite/libgomp.c/affinity-2.c: Likewise. | |
6567 | * testsuite/libgomp.c/appendix-a/a.15.1.c: Likewise. | |
6568 | * testsuite/libgomp.c/lib-1.c: Likewise. | |
6569 | * testsuite/libgomp.c/nested-1.c: Likewise. | |
6570 | * testsuite/libgomp.c/nested-2.c: Likewise. | |
6571 | * testsuite/libgomp.c/nested-3.c: Likewise. | |
6572 | * testsuite/libgomp.c/pr32362-1.c: Likewise. | |
6573 | * testsuite/libgomp.c/pr32362-2.c: Likewise. | |
6574 | * testsuite/libgomp.c/pr32362-3.c: Likewise. | |
6575 | * testsuite/libgomp.c/pr35549.c: Likewise. | |
6576 | * testsuite/libgomp.c/pr42942.c: Likewise. | |
6577 | * testsuite/libgomp.c/pr61200.c: Likewise. | |
6578 | * testsuite/libgomp.c/sort-1.c: Likewise. | |
6579 | * testsuite/libgomp.c/target-5.c: Likewise. | |
6580 | * testsuite/libgomp.c/target-6.c: Likewise. | |
6581 | * testsuite/libgomp.c/teams-1.c: Likewise. | |
6582 | * testsuite/libgomp.c/thread-limit-1.c: Likewise. | |
6583 | * testsuite/libgomp.c/thread-limit-2.c: Likewise. | |
6584 | * testsuite/libgomp.c/thread-limit-4.c: Likewise. | |
6585 | * testsuite/libgomp.fortran/affinity1.f90: Likewise. | |
6586 | * testsuite/libgomp.fortran/lib1.f90: Likewise. | |
6587 | * testsuite/libgomp.fortran/lib2.f: Likewise. | |
6588 | * testsuite/libgomp.fortran/nested1.f90: Likewise. | |
6589 | * testsuite/libgomp.fortran/teams1.f90: Likewise. | |
6590 | ||
88ce3d5f GA |
6591 | 2020-11-02 Thomas Schwinge <thomas@codesourcery.com> |
6592 | ||
6593 | PR target/85486 | |
6594 | * testsuite/libgomp.oacc-c-c++-common/pr85486-2.c: Simplify and enhance. | |
6595 | * testsuite/libgomp.oacc-c-c++-common/pr85486-3.c: Likewise. | |
6596 | * testsuite/libgomp.oacc-c-c++-common/pr85486.c: Likewise. | |
6597 | ||
6598 | 2020-11-02 Thomas Schwinge <thomas@codesourcery.com> | |
6599 | ||
6600 | PR testsuite/80219 | |
6601 | PR testsuite/85303 | |
6602 | * testsuite/lib/libgomp.exp (libgomp_init): Set | |
6603 | 'gcc_warning_prefix', 'gcc_error_prefix'. | |
6604 | ||
6605 | 2020-10-30 Jakub Jelinek <jakub@redhat.com> | |
6606 | ||
6607 | * target.c (gomp_map_vars_internal): Use FIELD_TGT_EMPTY macro | |
6608 | even in field_tgt_clear initializer. | |
6609 | ||
e93aae4a GA |
6610 | 2020-10-28 Jakub Jelinek <jakub@redhat.com> |
6611 | ||
6612 | * testsuite/libgomp.c/target-42.c: New test. | |
6613 | ||
6614 | 2020-10-28 Jakub Jelinek <jakub@redhat.com> | |
6615 | Tom de Vries <tdevries@suse.de> | |
6616 | ||
6617 | PR testsuite/81690 | |
6618 | * testsuite/libgomp.c/usleep.h: New file. | |
6619 | * testsuite/libgomp.c/target-32.c: Include usleep.h. | |
6620 | (main): Use tgt_usleep instead of usleep. | |
6621 | * testsuite/libgomp.c/thread-limit-2.c: Include usleep.h. | |
6622 | (main): Use tgt_usleep instead of usleep. | |
6623 | ||
6624 | 2020-10-28 Jakub Jelinek <jakub@redhat.com> | |
6625 | ||
6626 | PR lto/96680 | |
6627 | * testsuite/libgomp.c/declare-variant-1.c: New test. | |
6628 | ||
56ddd5e2 GA |
6629 | 2020-10-22 Jakub Jelinek <jakub@redhat.com> |
6630 | ||
6631 | * testsuite/libgomp.c/target-41.c: New test. | |
6632 | ||
6633 | 2020-10-22 Jakub Jelinek <jakub@redhat.com> | |
6634 | ||
6635 | * icv.c (omp_get_initial_device): Remove including corresponding | |
6636 | ialias. | |
6637 | * icv-device.c (omp_get_initial_device): New function. Return | |
6638 | gomp_get_num_devices (). Add ialias. | |
6639 | * target.c (resolve_device): Don't fail with | |
6640 | OMP_TARGET_OFFLOAD=mandatory if device_id is equal to | |
6641 | gomp_get_num_devices (). | |
6642 | (omp_target_alloc, omp_target_free, omp_target_is_present, | |
6643 | omp_target_memcpy, omp_target_memcpy_rect, omp_target_associate_ptr, | |
6644 | omp_target_disassociate_ptr, omp_pause_resource): Use | |
6645 | gomp_get_num_devices () instead of GOMP_DEVICE_HOST_FALLBACK on the | |
6646 | first use in the functions, in uses dominated by the | |
6647 | gomp_get_num_devices call use num_devices_openmp instead. | |
6648 | * libgomp.texi (omp_get_initial_device): Document. | |
6649 | * config/gcn/icv-device.c (omp_get_initial_device): New function. | |
6650 | Add ialias. | |
6651 | * config/nvptx/icv-device.c (omp_get_initial_device): Likewise. | |
6652 | * testsuite/libgomp.c/target-40.c: New test. | |
6653 | ||
6654 | 2020-10-21 Jakub Jelinek <jakub@redhat.com> | |
6655 | ||
6656 | * env.c (parse_target_offload): Change new_offload var type to int, | |
6657 | preinitialize to -1, remove found var and test new_offload != -1 | |
6658 | instead of found. | |
6659 | ||
e2e04288 GA |
6660 | 2020-10-20 Jakub Jelinek <jakub@redhat.com> |
6661 | ||
6662 | * target.c (gomp_target_init): Inside of the function, use automatic | |
6663 | variables corresponding to num_devices, num_devices_openmp and devices | |
6664 | global variables and update the globals only at the end of the | |
6665 | function. | |
6666 | ||
6667 | 2020-10-20 Kwok Cheung Yeung <kcy@codesourcery.com> | |
6668 | ||
6669 | * env.c (gomp_target_offload_var): New. | |
6670 | (parse_target_offload): New. | |
6671 | (handle_omp_display_env): Print value of OMP_TARGET_OFFLOAD. | |
6672 | (initialize_env): Parse OMP_TARGET_OFFLOAD. | |
6673 | * libgomp.h (gomp_target_offload_t): New. | |
6674 | (gomp_target_offload_var): New. | |
6675 | * libgomp.texi (OMP_TARGET_OFFLOAD): New section. | |
6676 | * target.c (resolve_device): Generate error if device not found and | |
6677 | offloading is mandatory. | |
6678 | (gomp_target_fallback): Generate error if offloading is mandatory. | |
6679 | (GOMP_target): Add argument in call to gomp_target_fallback. | |
6680 | (GOMP_target_ext): Likewise. | |
6681 | (gomp_target_data_fallback): Generate error if offloading is mandatory. | |
6682 | (GOMP_target_data): Add argument in call to gomp_target_data_fallback. | |
6683 | (GOMP_target_data_ext): Likewise. | |
6684 | (gomp_target_task_fn): Add argument in call to gomp_target_fallback. | |
6685 | (gomp_target_init): Return early if offloading is disabled. | |
6686 | ||
b85d5dc5 GA |
6687 | 2020-10-15 Kwok Cheung Yeung <kcy@codesourcery.com> |
6688 | ||
6689 | * libgomp.texi (omp_get_max_active_levels): Modify description. | |
6690 | (omp_get_supported_active_levels): Make descriptions consistent. | |
6691 | ||
b2698c21 GA |
6692 | 2020-10-14 Jakub Jelinek <jakub@redhat.com> |
6693 | ||
6694 | * libgomp.texi (omp_get_supported_active_levels): Fix a typo. | |
6695 | ||
bdd74cc2 GA |
6696 | 2020-10-13 Kwok Cheung Yeung <kcy@codesourcery.com> |
6697 | ||
6698 | * env.c (gomp_max_active_levels_var): Initialize to | |
6699 | gomp_supported_active_levels. | |
6700 | (initialize_env): Limit gomp_max_active_levels_var to be at most | |
6701 | equal to gomp_supported_active_levels. | |
6702 | * fortran.c (omp_get_supported_active_levels): Add ialias_redirect. | |
6703 | (omp_get_supported_active_levels_): New. | |
6704 | * icv.c (omp_set_max_active_levels): Limit gomp_max_active_levels_var | |
6705 | to at most equal to gomp_supported_active_levels. | |
6706 | (omp_get_supported_active_levels): New. | |
6707 | * libgomp.h (gomp_supported_active_levels): New. | |
6708 | * libgomp.map (OMP_5.0.1): Add omp_get_supported_active_levels and | |
6709 | omp_get_supported_active_levels_. | |
6710 | * libgomp.texi (omp_get_supported_active_levels): New. | |
6711 | (omp_set_max_active_levels): Update. Add reference to | |
6712 | omp_get_supported_active_levels. | |
6713 | * omp.h.in (omp_get_supported_active_levels): New. | |
6714 | * omp_lib.f90.in (omp_get_supported_active_levels): New. | |
6715 | * omp_lib.h.in (omp_get_supported_active_levels): New. | |
6716 | * testsuite/libgomp.c/lib-2.c (main): Check omp_get_max_active_levels | |
6717 | against omp_get_supported_active_levels. | |
6718 | * testsuite/libgomp.fortran/lib4.f90 (lib4): Likewise. | |
6719 | ||
2baa36d4 GA |
6720 | 2020-10-11 Clement Chigot <clement.chigot@atos.net> |
6721 | ||
6722 | * config/t-aix: Delete and recreate libgomp before creating | |
6723 | FAT library. | |
6724 | ||
da9df699 GA |
6725 | 2020-10-08 Tom de Vries <tdevries@suse.de> |
6726 | ||
6727 | PR libgomp/81802 | |
6728 | * plugin/plugin-nvptx.c (GOMP_OFFLOAD_run): Report launch | |
6729 | dimensions. | |
6730 | ||
8e97b905 GA |
6731 | 2020-10-06 Tom de Vries <tdevries@suse.de> |
6732 | ||
6733 | * testsuite/libgomp.oacc-fortran/declare-5.f90: Add xfail for PR92790. | |
6734 | ||
6735 | 2020-10-06 Tom de Vries <tdevries@suse.de> | |
6736 | ||
6737 | PR middle-end/90861 | |
6738 | * testsuite/libgomp.oacc-c-c++-common/declare-vla.c: Remove xfail. | |
6739 | ||
7e9282ae GA |
6740 | 2020-10-05 Tom de Vries <tdevries@suse.de> |
6741 | ||
6742 | PR fortran/95654 | |
6743 | * testsuite/libgomp.fortran/pr95654.f90: New test. | |
6744 | ||
b0b9b8f0 GA |
6745 | 2020-10-02 Tobias Burnus <tobias@codesourcery.com> |
6746 | ||
6747 | * Makefile.in: Regenerate with automake 1.15.1. | |
6748 | * aclocal.m4: Likewise. | |
6749 | * configure: Likewise. | |
6750 | * testsuite/Makefile.in: Likewise. | |
6751 | ||
660bfe61 GA |
6752 | 2020-09-30 Andrew Stubbs <ams@codesourcery.com> |
6753 | ||
6754 | * parallel.c (gomp_resolve_num_threads): Ignore nest_var on nvptx | |
6755 | and amdgcn targets. | |
6756 | ||
6757 | 2020-09-30 Tobias Burnus <tobias@codesourcery.com> | |
6758 | ||
6759 | * testsuite/libgomp.fortran/declare-target-3.f90: New test. | |
6760 | ||
93bca37c GA |
6761 | 2020-09-29 Andrew Stubbs <ams@codesourcery.com> |
6762 | ||
6763 | * config/gcn/bar.c (gomp_barrier_wait_end): Skip the barrier if the | |
6764 | total number of threads is one. | |
6765 | (gomp_team_barrier_wake): Likewise. | |
6766 | (gomp_team_barrier_wait_end): Likewise. | |
6767 | (gomp_team_barrier_wait_cancel_end): Likewise. | |
6768 | * config/nvptx/bar.c (gomp_barrier_wait_end): Likewise. | |
6769 | (gomp_team_barrier_wake): Likewise. | |
6770 | (gomp_team_barrier_wait_end): Likewise. | |
6771 | (gomp_team_barrier_wait_cancel_end): Likewise. | |
6772 | * testsuite/libgomp.c-c++-common/nested-parallel-unbalanced.c: New test. | |
6773 | ||
e84761c6 GA |
6774 | 2020-09-28 Tobias Burnus <tobias@codesourcery.com> |
6775 | ||
6776 | PR middle-end/96390 | |
6777 | * testsuite/libgomp.c++/pr96390.C: New test. | |
6778 | * testsuite/libgomp.c-c++-common/pr96390.c: New test. | |
6779 | ||
4383c595 GA |
6780 | 2020-09-27 Clement Chigot <clement.chigot@atos.net> |
6781 | ||
6782 | * config/t-aix: Use $(AR) without -X32_64. | |
6783 | ||
cdd8f031 GA |
6784 | 2020-09-25 Jakub Jelinek <jakub@redhat.com> |
6785 | ||
6786 | * testsuite/libgomp.c/loop-25.c: New test. | |
6787 | ||
521d2711 GA |
6788 | 2020-09-22 Tobias Burnus <tobias@codesourcery.com> |
6789 | ||
6790 | PR fortran/95654 | |
6791 | * testsuite/libgomp.fortran/pr66199-5.f90: Make stop codes unique. | |
6792 | ||
6793 | 2020-09-22 Tom de Vries <tdevries@suse.de> | |
6794 | ||
6795 | * plugin/plugin-nvptx.c (link_ptx): Print elog if cuLinkComplete call | |
6796 | fails. | |
6797 | ||
ecde1b0a GA |
6798 | 2020-09-16 Nathan Sidwell <nathan@acm.org> |
6799 | ||
6800 | * testsuite/libgomp.c++/udr-3.C: Add missing ctor. | |
6801 | ||
9f7ab8c5 GA |
6802 | 2020-09-15 Tobias Burnus <tobias@codesourcery.com> |
6803 | ||
6804 | PR fortran/96668 | |
6805 | * target.c (gomp_map_vars_internal): Initialize has_nullptr. | |
6806 | ||
6807 | 2020-09-15 Tobias Burnus <tobias@codesourcery.com> | |
6808 | ||
6809 | PR fortran/96668 | |
6810 | * libgomp.h (struct target_var_desc): Add has_null_ptr_assoc member. | |
6811 | * target.c (gomp_map_vars_existing): Add always_to_flag flag. | |
6812 | (gomp_map_vars_existing): Update call to it. | |
6813 | (gomp_map_fields_existing): Likewise | |
6814 | (gomp_map_vars_internal): Update PSET handling such that if a nullptr is | |
6815 | now allocated or if GOMP_MAP_POINTER is used PSET is updated and pointer | |
6816 | remapped. | |
6817 | (GOMP_target_enter_exit_data): Hanlde GOMP_MAP_ALWAYS_POINTER like | |
6818 | GOMP_MAP_POINTER. | |
6819 | * testsuite/libgomp.fortran/map-alloc-ptr-1.f90: New test. | |
6820 | * testsuite/libgomp.fortran/map-alloc-ptr-2.f90: New test. | |
6821 | ||
50a71cd0 GA |
6822 | 2020-09-14 Tom de Vries <tdevries@suse.de> |
6823 | ||
6824 | * config/nvptx/atomic.c: New file. Add | |
6825 | __sync_val_compare_and_swap_16. | |
6826 | * testsuite/libgomp.c-c++-common/reduction-16.c: Add -latomic for | |
6827 | target offload_target_nvptx. | |
6828 | ||
31a05046 GA |
6829 | 2020-09-08 Julian Brown <julian@codesourcery.com> |
6830 | ||
6831 | * testsuite/libgomp.oacc-c-c++-common/atomic_capture-2.c: Remove | |
6832 | iteration-ordering assumptions. | |
6833 | ||
6834 | 2020-09-08 Julian Brown <julian@codesourcery.com> | |
6835 | ||
6836 | * testsuite/libgomp.oacc-fortran/collapse-1.f90: Fix race condition. | |
6837 | * testsuite/libgomp.oacc-fortran/collapse-2.f90: Likewise. | |
6838 | ||
5b9a3d2a GA |
6839 | 2020-08-20 Chung-Lin Tang <cltang@codesourcery.com> |
6840 | ||
6841 | * plugin/plugin-nvptx.c (nvptx_free): | |
6842 | Change "GOMP_PLUGIN_acc_thread () == NULL" test into check of | |
6843 | CUDA_ERROR_NOT_PERMITTED status for cuMemGetAddressRange. Adjust | |
6844 | comments. | |
6845 | ||
6846 | 2020-08-20 Tobias Burnus <tobias@codesourcery.com> | |
6847 | ||
6848 | * testsuite/libgomp.fortran/lastprivate-conditional-10.f90: New test. | |
6849 | ||
b3cb5606 GA |
6850 | 2020-08-13 Kwok Cheung Yeung <kcy@codesourcery.com> |
6851 | ||
6852 | * testsuite/libgomp.c-c++-common/reduction-16.c: New. | |
6853 | ||
6854 | 2020-08-13 Jakub Jelinek <jakub@redhat.com> | |
6855 | ||
6856 | * testsuite/libgomp.c/loop-22.c (main): Add some further tests. | |
6857 | * testsuite/libgomp.c/loop-23.c (main): Likewise. | |
6858 | * testsuite/libgomp.c/loop-24.c: New test. | |
6859 | ||
bc0ca715 GA |
6860 | 2020-08-08 Jakub Jelinek <jakub@redhat.com> |
6861 | Tobias Burnus <tobias@codesourcery.com> | |
6862 | ||
6863 | PR fortran/93553 | |
6864 | * testsuite/libgomp.fortran/pr93553.f90: New test. | |
6865 | ||
aa5ea20c GA |
6866 | 2020-08-05 Jakub Jelinek <jakub@redhat.com> |
6867 | ||
6868 | * testsuite/libgomp.c/loop-22.c: New test. | |
6869 | * testsuite/libgomp.c/loop-23.c: New test. | |
6870 | ||
6871 | 2020-08-05 Jakub Jelinek <jakub@redhat.com> | |
6872 | ||
6873 | PR middle-end/96459 | |
6874 | * testsuite/libgomp.c/teams-3.c: New test. | |
6875 | * testsuite/libgomp.c-c++-common/for-2.h (OMPTEAMS): Define to nothing | |
6876 | if not defined yet. | |
6877 | (N(test)): Use it before all N(f*) calls. | |
6878 | * testsuite/libgomp.c-c++-common/for-14.c (DO_PRAGMA, OMPTEAMS): Define. | |
6879 | (main): Don't call all test_* functions from within | |
6880 | #pragma omp teams reduction(|:err), call them directly. | |
6881 | ||
abba2591 GA |
6882 | 2020-08-04 Tom de Vries <tdevries@suse.de> |
6883 | ||
6884 | PR target/96428 | |
6885 | * testsuite/libgomp.oacc-fortran/pr96628-part1.f90: New test. | |
6886 | * testsuite/libgomp.oacc-fortran/pr96628-part2.f90: New test. | |
6887 | ||
6a1ad710 GA |
6888 | 2020-08-03 Julian Brown <julian@codesourcery.com> |
6889 | Thomas Schwinge <thomas@codesourcery.com> | |
6890 | ||
6891 | * testsuite/libgomp.oacc-fortran/attach-descriptor-1.f90: Don't run for | |
6892 | shared-memory devices. Extend with further checking. | |
6893 | ||
6894 | 2020-08-03 Martin Jambor <mjambor@suse.cz> | |
6895 | ||
6896 | * plugin/Makefrag.am: Remove configuration of HSA plugin. | |
6897 | * aclocal.m4: Regenerated. | |
6898 | * Makefile.in: Regenerated. | |
6899 | * config.h.in: Regenerated. | |
6900 | * configure: Regenerated. | |
6901 | * plugin/configfrag.ac: Likewise. | |
6902 | * plugin/hsa_ext_finalize.h: Removed. | |
6903 | * plugin/plugin-hsa.c: Likewise. | |
6904 | * testsuite/Makefile.in: Regenerated. | |
6905 | * testsuite/lib/libgomp.exp | |
6906 | (offload_target_to_openacc_device_type): Remove hsa case. | |
6907 | (check_effective_target_hsa_offloading_selected_nocache): Removed | |
6908 | (check_effective_target_hsa_offloading_selected): Likewise. | |
6909 | (libgomp_init): Do not add -Wno-hsa to additional_flags. | |
6910 | * testsuite/libgomp.hsa.c/alloca-1.c: Removed test. | |
6911 | * testsuite/libgomp.hsa.c/bitfield-1.c: Likewise. | |
6912 | * testsuite/libgomp.hsa.c/bits-insns.c: Likewise. | |
6913 | * testsuite/libgomp.hsa.c/builtins-1.c: Likewise. | |
6914 | * testsuite/libgomp.hsa.c/c.exp: Likewise. | |
6915 | * testsuite/libgomp.hsa.c/complex-1.c: Likewise. | |
6916 | * testsuite/libgomp.hsa.c/complex-align-2.c: Likewise. | |
6917 | * testsuite/libgomp.hsa.c/formal-actual-args-1.c: Likewise. | |
6918 | * testsuite/libgomp.hsa.c/function-call-1.c: Likewise. | |
6919 | * testsuite/libgomp.hsa.c/get-level-1.c: Likewise. | |
6920 | * testsuite/libgomp.hsa.c/gridify-1.c: Likewise. | |
6921 | * testsuite/libgomp.hsa.c/gridify-2.c: Likewise. | |
6922 | * testsuite/libgomp.hsa.c/gridify-3.c: Likewise. | |
6923 | * testsuite/libgomp.hsa.c/gridify-4.c: Likewise. | |
6924 | * testsuite/libgomp.hsa.c/memory-operations-1.c: Likewise. | |
6925 | * testsuite/libgomp.hsa.c/pr69568.c: Likewise. | |
6926 | * testsuite/libgomp.hsa.c/pr82416.c: Likewise. | |
6927 | * testsuite/libgomp.hsa.c/rotate-1.c: Likewise. | |
6928 | * testsuite/libgomp.hsa.c/staticvar.c: Likewise. | |
6929 | * testsuite/libgomp.hsa.c/switch-1.c: Likewise. | |
6930 | * testsuite/libgomp.hsa.c/switch-branch-1.c: Likewise. | |
6931 | * testsuite/libgomp.hsa.c/switch-sbr-2.c: Likewise. | |
6932 | * testsuite/libgomp.hsa.c/tiling-1.c: Likewise. | |
6933 | * testsuite/libgomp.hsa.c/tiling-2.c: Likewise. | |
6934 | ||
e71dab87 GA |
6935 | 2020-07-27 Julian Brown <julian@codesourcery.com> |
6936 | Thomas Schwinge <thomas@codesourcery.com> | |
6937 | ||
6938 | * libgomp.h (struct target_var_desc): Rename do_detach field to | |
6939 | is_attach. | |
6940 | * oacc-mem.c (goacc_exit_datum_1): Add assert. Don't set finalize for | |
6941 | GOMP_MAP_FORCE_DETACH. Update checking to use is_attach field. | |
6942 | (goacc_enter_data_internal): Don't affect reference counts | |
6943 | for attach mappings. | |
6944 | (goacc_exit_data_internal): Don't affect reference counts for detach | |
6945 | mappings. | |
6946 | * target.c (gomp_map_vars_existing): Don't affect reference counts for | |
6947 | attach mappings. | |
6948 | (gomp_map_vars_internal): Set renamed is_attach flag unconditionally to | |
6949 | mark attach mappings. | |
6950 | (gomp_unmap_vars_internal): Use is_attach flag to prevent affecting | |
6951 | reference count for attach mappings. | |
6952 | * testsuite/libgomp.oacc-c-c++-common/mdc-refcount-1.c: New test. | |
6953 | * testsuite/libgomp.oacc-c-c++-common/mdc-refcount-2.c: New test. | |
6954 | * testsuite/libgomp.oacc-c-c++-common/mdc-refcount-2.c: New test. | |
6955 | * testsuite/libgomp.oacc-fortran/deep-copy-6-no_finalize.F90: Mark | |
6956 | test as shouldfail. | |
6957 | * testsuite/libgomp.oacc-fortran/deep-copy-6.f90: Adjust to fail | |
6958 | gracefully in no-finalize mode. | |
6959 | * testsuite/libgomp.oacc-c-c++-common/mdc-refcount-3.c: New file. | |
6960 | ||
53256ee3 GA |
6961 | 2020-07-24 Thomas Schwinge <thomas@codesourcery.com> |
6962 | ||
6963 | * testsuite/libgomp.oacc-c++/c++.exp: Unset 'offload_target' after | |
6964 | use. | |
6965 | * testsuite/libgomp.oacc-c/c.exp: Likewise. | |
6966 | * testsuite/libgomp.oacc-fortran/fortran.exp: Likewise. | |
6967 | ||
9bb403dc GA |
6968 | 2020-07-23 Julian Brown <julian@codesourcery.com> |
6969 | Thomas Schwinge <thomas@codesourcery.com> | |
6970 | ||
6971 | * target.c (gomp_unmap_vars_internal): Remove unnecessary forcing of | |
6972 | finalization for detach operation. | |
6973 | * testsuite/libgomp.oacc-c-c++-common/structured-detach-underflow.c: | |
6974 | New test. | |
6975 | ||
6976 | 2020-07-23 Tobias Burnus <tobias@codesourcery.com> | |
6977 | ||
6978 | * configure.ac: Add OMP_DEPEND_KIND and OMP_INT128_SIZE. | |
6979 | * libgomp_f.h.in (omp_check_defines): Check whether | |
6980 | sizeof of determined Fortran kind and C typedef match. | |
6981 | * omp_lib.f90.in: Add omp_depened_kind. | |
6982 | * omp_lib.h.in: Likewise; fix omp_alloctrait_key_kind. | |
6983 | * configure: Regenerate. | |
6984 | * Makefile.in: Regenerate. | |
6985 | * testsuite/Makefile.in: Regenerate. | |
6986 | ||
3ea9abca GA |
6987 | 2020-07-22 Tobias Burnus <tobias@codesourcery.com> |
6988 | ||
6989 | * testsuite/libgomp.c-c++-common/critical-hint-1.c: New; moved from | |
6990 | gcc/testsuite/c-c++-common/gomp/. | |
6991 | * testsuite/libgomp.c-c++-common/critical-hint-2.c: Likewise. | |
6992 | * testsuite/libgomp.fortran/critical-hint-1.f90: New; moved | |
6993 | from gcc/testsuite/gfortran.dg/gomp/. | |
6994 | * testsuite/libgomp.fortran/critical-hint-2.f90: Likewise. | |
6995 | ||
6996 | 2020-07-22 Tobias Burnus <tobias@codesourcery.com> | |
6997 | ||
6998 | * omp_lib.f90.in: Add omp_sync_hint_* and omp_sync_hint_kind. | |
6999 | * omp_lib.h.in: Likewise. | |
7000 | ||
aeb34e15 GA |
7001 | 2020-07-18 H.J. Lu <hjl.tools@gmail.com> |
7002 | ||
7003 | PR target/95620 | |
7004 | * testsuite/libgomp.c/pr95620.c: New test. | |
7005 | ||
96686b3f GA |
7006 | 2020-07-16 Julian Brown <julian@codesourcery.com> |
7007 | Thomas Schwinge <thomas@codesourcery.com> | |
7008 | ||
7009 | * testsuite/libgomp.oacc-fortran/attach-descriptor-1.f90: New test. | |
7010 | * testsuite/libgomp.oacc-fortran/attach-descriptor-2.f90: New test. | |
7011 | ||
fe8185b5 GA |
7012 | 2020-07-15 Tobias Burnus <tobias@codesourcery.com> |
7013 | ||
7014 | * testsuite/libgomp.fortran/alloc-1.F90: Use c_size_t to | |
7015 | avoid conversion on 32bit systems from 32bit to 64bit due | |
7016 | to -fdefault-integer-8. | |
7017 | ||
7018 | 2020-07-15 Tobias Burnus <tobias@codesourcery.com> | |
7019 | ||
7020 | * testsuite/libgomp.fortran/struct-elem-map-1.f90: Remove unused | |
7021 | variables; add character(kind=4) tests; update TODO comment. | |
7022 | ||
7023 | 2020-07-15 Tobias Burnus <tobias@codesourcery.com> | |
7024 | ||
7025 | * allocator.c: Add ialias for omp_init_allocator and | |
7026 | omp_destroy_allocator. | |
7027 | * configure.ac: Set INTPTR_T_KIND. | |
7028 | * configure: Regenerate. | |
7029 | * Makefile.in: Regenerate. | |
7030 | * testsuite/Makefile.in: Regenerate. | |
7031 | * fortran.c (omp_init_allocator_, omp_destroy_allocator_, | |
7032 | omp_set_default_allocator_, omp_get_default_allocator_): New | |
7033 | functions and ialias_redirect. | |
7034 | * icv.c: Add ialias for omp_set_default_allocator and | |
7035 | omp_get_default_allocator. | |
7036 | * libgomp.map (OMP_5.0.1): Add omp_init_allocator_, | |
7037 | omp_destroy_allocator_, omp_set_default_allocator_ and | |
7038 | omp_get_default_allocator_. | |
7039 | * omp_lib.f90.in: Add allocator traits parameters, declare | |
7040 | allocator routines and add related kind parameters. | |
7041 | * omp_lib.h.in: Likewise. | |
7042 | * testsuite/libgomp.c-c++-common/alloc-2.c: Fix sizeof. | |
7043 | * testsuite/libgomp.fortran/alloc-1.F90: New test. | |
7044 | * testsuite/libgomp.fortran/alloc-2.F90: New test. | |
7045 | * testsuite/libgomp.fortran/alloc-3.F: New test. | |
7046 | * testsuite/libgomp.fortran/alloc-4.f90: New test. | |
7047 | * testsuite/libgomp.fortran/alloc-5.f90: New test. | |
7048 | ||
8ca07a30 GA |
7049 | 2020-07-14 Tom de Vries <tom@codesourcery.com> |
7050 | Cesar Philippidis <cesar@codesourcery.com> | |
7051 | Thomas Schwinge <thomas@codesourcery.com> | |
7052 | Kwok Cheung Yeung <kcy@codesourcery.com> | |
7053 | ||
7054 | * oacc-init.c (acc_init_state_lock, acc_init_state, acc_init_thread): | |
7055 | New variable. | |
7056 | (acc_init_1): Set acc_init_thread to pthread_self (). Set | |
7057 | acc_init_state to initializing at the start, and to initialized at the | |
7058 | end. | |
7059 | (self_initializing_p): New function. | |
7060 | (acc_get_device_type): Return acc_device_none if called by thread that | |
7061 | is currently executing acc_init_1. | |
7062 | * libgomp.texi (acc_get_device_type): Update documentation. | |
7063 | (Implementation Status and Implementation-Defined Behavior): Likewise. | |
7064 | * testsuite/libgomp.oacc-c-c++-common/acc_prof-init-2.c: New. | |
7065 | ||
7066 | 2020-07-14 David Edelsohn <dje.gcc@gmail.com> | |
7067 | ||
7068 | * config/t-aix: Set BITS from compiler cpp macro. | |
7069 | ||
7070 | 2020-07-14 Tobias Burnus <tobias@codesourcery.com> | |
7071 | ||
7072 | * testsuite/libgomp.fortran/struct-elem-map-1.f90: New test. | |
7073 | ||
7074 | 2020-07-14 Tobias Burnus <tobias@codesourcery.com> | |
7075 | ||
7076 | PR fortran/67311 | |
7077 | * testsuite/libgomp.fortran/target-map-1.f90: New test. | |
7078 | ||
7079 | 2020-07-14 Jakub Jelinek <jakub@redhat.com> | |
7080 | ||
7081 | * testsuite/libgomp.c/loop-21.c: New test. | |
7082 | ||
ea69fcf9 GA |
7083 | 2020-07-13 Julian Brown <julian@codesourcery.com> |
7084 | Thomas Schwinge <thomas@codesourcery.com> | |
7085 | ||
7086 | * testsuite/libgomp.oacc-fortran/dynamic-pointer-1.f90: New test. | |
7087 | ||
86536295 GA |
7088 | 2020-07-10 Julian Brown <julian@codesourcery.com> |
7089 | Thomas Schwinge <thomas@codesourcery.com> | |
7090 | ||
7091 | * libgomp.h (struct splay_tree_key_s): Change virtual_refcount to | |
7092 | dynamic_refcount. | |
7093 | (struct gomp_device_descr): Remove GOMP_MAP_VARS_OPENACC_ENTER_DATA. | |
7094 | * oacc-mem.c (acc_map_data): Substitute virtual_refcount for | |
7095 | dynamic_refcount. | |
7096 | (acc_unmap_data): Update comment. | |
7097 | (goacc_map_var_existing, goacc_enter_datum): Adjust for | |
7098 | dynamic_refcount semantics. | |
7099 | (goacc_exit_datum_1, goacc_exit_datum): Re-add some error checking. | |
7100 | Adjust for dynamic_refcount semantics. | |
7101 | (goacc_enter_data_internal): Implement "present" case of dynamic | |
7102 | memory-map handling here. Update "non-present" case for | |
7103 | dynamic_refcount semantics. | |
7104 | (goacc_exit_data_internal): Use goacc_exit_datum_1. | |
7105 | * target.c (gomp_map_vars_internal): Remove | |
7106 | GOMP_MAP_VARS_OPENACC_ENTER_DATA handling. Update for dynamic_refcount | |
7107 | handling. | |
7108 | (gomp_unmap_vars_internal): Remove virtual_refcount handling. | |
7109 | (gomp_load_image_to_device): Substitute dynamic_refcount for | |
7110 | virtual_refcount. | |
7111 | * testsuite/libgomp.oacc-c-c++-common/pr92843-1.c: Remove XFAILs. | |
7112 | * testsuite/libgomp.oacc-c-c++-common/refcounting-1.c: New test. | |
7113 | * testsuite/libgomp.oacc-c-c++-common/refcounting-2.c: New test. | |
7114 | * testsuite/libgomp.oacc-c-c++-common/struct-3-1-1.c: New test. | |
7115 | * testsuite/libgomp.oacc-fortran/deep-copy-6.f90: Remove XFAILs and | |
7116 | trace output. | |
7117 | * testsuite/libgomp.oacc-fortran/deep-copy-6-no_finalize.F90: Remove | |
7118 | trace output. | |
7119 | * testsuite/libgomp.oacc-fortran/dynamic-incr-structural-1.f90: New | |
7120 | test. | |
7121 | * testsuite/libgomp.oacc-c-c++-common/structured-dynamic-lifetimes-4.c: | |
7122 | Remove stale comment. | |
7123 | * testsuite/libgomp.oacc-fortran/mdc-refcount-1-1-1.f90: Remove XFAILs. | |
7124 | * testsuite/libgomp.oacc-fortran/mdc-refcount-1-1-2.F90: Likewise. | |
7125 | * testsuite/libgomp.oacc-fortran/mdc-refcount-1-2-1.f90: Likewise. | |
7126 | * testsuite/libgomp.oacc-fortran/mdc-refcount-1-2-2.f90: Likewise. | |
7127 | * testsuite/libgomp.oacc-fortran/mdc-refcount-1-3-1.f90: Likewise. | |
7128 | * testsuite/libgomp.oacc-fortran/mdc-refcount-1-4-1.f90: Adjust XFAIL. | |
7129 | ||
7130 | 2020-07-10 Julian Brown <julian@codesourcery.com> | |
7131 | Thomas Schwinge <thomas@codesourcery.com> | |
7132 | ||
7133 | * oacc-mem.c (goacc_map_var_existing): New function. | |
7134 | (goacc_enter_datum): Use above function. | |
7135 | (goacc_exit_datum_1): New function. | |
7136 | (goacc_exit_datum): Use above function. | |
7137 | ||
3f8ca9cb GA |
7138 | 2020-07-09 Julian Brown <julian@codesourcery.com> |
7139 | Thomas Schwinge <thomas@codesourcery.com> | |
7140 | ||
7141 | PR middle-end/95270 | |
7142 | * testsuite/libgomp.oacc-c-c++-common/pr95270-1.c: New test. | |
7143 | * testsuite/libgomp.oacc-c-c++-common/pr95270-2.c: New test. | |
7144 | ||
7145 | 2020-07-09 Julian Brown <julian@codesourcery.com> | |
7146 | ||
7147 | * oacc-mem.c (find_group_last): Group data-movement clauses | |
7148 | (GOMP_MAP_TO_PSET, GOMP_MAP_TO, etc.) together with a subsequent | |
7149 | GOMP_MAP_ATTACH. Allow standalone GOMP_MAP_ATTACH also. | |
7150 | ||
7151 | 2020-07-09 Jakub Jelinek <jakub@redhat.com> | |
7152 | ||
7153 | * testsuite/libgomp.c/loop-19.c: New test. | |
7154 | * testsuite/libgomp.c/loop-20.c: New test. | |
7155 | ||
7156 | 2020-07-09 Jakub Jelinek <jakub@redhat.com> | |
7157 | ||
7158 | * omp.h.in (omp_alloctrait_value_t): Change omp_atv_default from | |
7159 | 2 to -1. Add omp_atv_serialized and define omp_atv_sequential using | |
7160 | it. Remove __omp_alloctrait_value_max__. | |
7161 | * allocator.c (omp_init_allocator): Handle omp_atv_default for | |
7162 | omp_atk_alignment and omp_atk_pool_size. | |
7163 | ||
b991c834 GA |
7164 | 2020-07-03 Thomas Schwinge <thomas@codesourcery.com> |
7165 | ||
7166 | * oacc-mem.c (goacc_exit_data_internal): Revert always-copyfrom | |
7167 | behavior for 'GOMP_MAP_FORCE_FROM'. | |
7168 | * testsuite/libgomp.oacc-c-c++-common/pr92843-1.c: Adjust XFAIL. | |
7169 | ||
7170 | 2020-07-03 Thomas Schwinge <thomas@codesourcery.com> | |
7171 | ||
7172 | * oacc-mem.c (goacc_exit_data_internal): Remove | |
7173 | 'GOMP_MAP_ALWAYS_FROM' handling. | |
7174 | ||
46fbb6c6 GA |
7175 | 2020-06-30 Thomas Schwinge <thomas@codesourcery.com> |
7176 | ||
7177 | * testsuite/libgomp.oacc-c-c++-common/pr85381-2.c: Replace fragile | |
7178 | 'scan-assembler' with 'scan-offload-rtl'. | |
7179 | * testsuite/libgomp.oacc-c-c++-common/pr85381-3.c: Likewise. | |
7180 | * testsuite/libgomp.oacc-c-c++-common/pr85381-4.c: Likewise. | |
7181 | * testsuite/libgomp.oacc-c-c++-common/pr85381-5.c: Likewise. | |
7182 | * testsuite/libgomp.oacc-c-c++-common/pr85381.c: Likewise. | |
7183 | ||
7184 | 2020-06-30 Thomas Schwinge <thomas@codesourcery.com> | |
7185 | ||
7186 | * target.c (gomp_map_vars_existing): Assert 'kind != | |
7187 | GOMP_MAP_ATTACH'. | |
7188 | (gomp_map_vars_internal): Clean up. | |
7189 | ||
9a33c41f GA |
7190 | 2020-06-27 Jakub Jelinek <jakub@redhat.com> |
7191 | ||
7192 | * testsuite/libgomp.c/loop-17.c: New test. | |
7193 | * testsuite/libgomp.c/loop-18.c: New test. | |
7194 | ||
c9c05f73 GA |
7195 | 2020-06-26 Marek Polacek <polacek@redhat.com> |
7196 | ||
7197 | * testsuite/libgomp.c++/atomic-3.C: Use -std=gnu++14. | |
7198 | ||
4543acc8 GA |
7199 | 2020-06-23 Alexandre Oliva <oliva@adacore.com> |
7200 | ||
7201 | * testsuite/lib/libgomp.exp: Load gcc lib scanoffload.exp. | |
7202 | * testsuite/lib/libgomp-dg.exp: Drop now-obsolete -save-temps. | |
7203 | ||
605a8f3b GA |
7204 | 2020-06-22 David Edelsohn <dje.gcc@gmail.com> |
7205 | ||
7206 | * Makefile.am: Use -include. | |
7207 | * Makefile.in: Regenerate. | |
7208 | ||
f86e11a2 GA |
7209 | 2020-06-21 David Edelsohn <dje.gcc@gmail.com> |
7210 | ||
7211 | * Makefile.am (tmake_file): Build and install AIX-style FAT libraries. | |
7212 | * Makefile.in: Regenerate | |
7213 | * configure.ac (tmake_file): Substitute. | |
7214 | * configure: Regenerate. | |
7215 | * configure.tgt (powerpc-ibm-aix*): Define tmake_file. | |
7216 | * config/t-aix: New file. | |
7217 | ||
aff95ee7 GA |
7218 | 2020-06-17 Thomas Schwinge <thomas@codesourcery.com> |
7219 | ||
7220 | PR lto/94848 | |
7221 | * testsuite/libgomp.fortran/use_device_ptr-optional-3.f90: Add | |
7222 | 'dg-do run'. | |
7223 | ||
7224 | 2020-06-17 Andrew Stubbs <ams@codesourcery.com> | |
7225 | ||
7226 | * plugin/plugin-gcn.c (init_environment_variables): Use ".so.1" | |
7227 | variant for HSA_RUNTIME_LIB name. | |
7228 | (find_executable_symbol_1): Delete. | |
7229 | (find_executable_symbol): Delete. | |
7230 | (init_kernel_properties): Add ".kd" suffix to symbol names. | |
7231 | (find_load_offset): Delete. | |
7232 | (create_and_finalize_hsa_program): Remove relocation handling. | |
7233 | ||
56638b9b GA |
7234 | 2020-06-16 Tobias Burnus <tobias@codesourcery.com> |
7235 | ||
7236 | * testsuite/libgomp.oacc-fortran/routine-10.f90: New test. | |
7237 | ||
2c455ae0 GA |
7238 | 2020-06-08 Tobias Burnus <tobias@codesourcery.com> |
7239 | ||
7240 | PR lto/94848 | |
7241 | PR middle-end/95551 | |
7242 | * testsuite/libgomp.fortran/target-var.f90: New test. | |
7243 | ||
1a59f3db GA |
7244 | 2020-06-05 Thomas Schwinge <thomas@codesourcery.com> |
7245 | Julian Brown <julian@codesourcery.com> | |
7246 | ||
7247 | * oacc-mem.c (goacc_exit_data_internal) <GOMP_MAP_STRUCT>: Explain | |
7248 | special handling. | |
7249 | ||
7250 | 2020-06-05 Thomas Schwinge <thomas@codesourcery.com> | |
7251 | Julian Brown <julian@codesourcery.com> | |
7252 | ||
7253 | * oacc-mem.c (goacc_exit_data_internal) <GOMP_MAP_STRUCT>: | |
7254 | Simplify. | |
7255 | ||
7256 | 2020-06-05 Julian Brown <julian@codesourcery.com> | |
7257 | ||
7258 | * testsuite/libgomp.oacc-c-c++-common/struct-copyout-1.c: New test. | |
7259 | * testsuite/libgomp.oacc-c-c++-common/struct-copyout-2.c: New test. | |
7260 | ||
3add3425 GA |
7261 | 2020-06-04 Thomas Schwinge <thomas@codesourcery.com> |
7262 | ||
7263 | * oacc-mem.c (goacc_exit_data_internal) <GOMP_MAP_STRUCT>: | |
7264 | Evaluate 'copyfrom' individually for each entry. | |
7265 | * testsuite/libgomp.oacc-c-c++-common/struct-1.c: Update. | |
7266 | ||
7267 | 2020-06-04 Thomas Schwinge <thomas@codesourcery.com> | |
7268 | ||
7269 | * oacc-mem.c (goacc_exit_data_internal) <GOMP_MAP_STRUCT>: | |
7270 | Evaluate 'finalize' individually for each entry. | |
7271 | * testsuite/libgomp.oacc-c-c++-common/struct-1.c: New file. | |
7272 | * testsuite/libgomp.oacc-c-c++-common/struct-refcount-1.c: Remove | |
7273 | file. | |
7274 | ||
7275 | 2020-06-04 Thomas Schwinge <thomas@codesourcery.com> | |
7276 | ||
7277 | * testsuite/libgomp.oacc-c-c++-common/deep-copy-7.c: Fix 'sizeof' | |
7278 | usage. | |
7279 | * testsuite/libgomp.oacc-c-c++-common/deep-copy-8.c: Likewise. | |
7280 | ||
7281 | 2020-06-04 Thomas Schwinge <thomas@codesourcery.com> | |
7282 | Julian Brown <julian@codesourcery.com> | |
7283 | ||
7284 | * oacc-mem.c (goacc_exit_datum): Repair 'is_tgt_unmapped' | |
7285 | checking. | |
7286 | (acc_unmap_data, goacc_exit_data_internal): Restore | |
7287 | 'is_tgt_unmapped' checking. | |
7288 | * testsuite/libgomp.oacc-c-c++-common/struct-refcount-1.c: New | |
7289 | file. | |
7290 | * testsuite/libgomp.oacc-fortran/deep-copy-6.f90: Adjust. | |
7291 | * testsuite/libgomp.oacc-fortran/mdc-refcount-1-1-1.f90: Likewise. | |
7292 | * testsuite/libgomp.oacc-fortran/mdc-refcount-1-2-1.f90: Likewise. | |
7293 | * testsuite/libgomp.oacc-fortran/mdc-refcount-1-2-2.f90: Likewise. | |
7294 | * testsuite/libgomp.oacc-fortran/mdc-refcount-1-3-1.f90: Likewise. | |
7295 | * testsuite/libgomp.oacc-fortran/mdc-refcount-1-4-1.f90: Likewise. | |
7296 | ||
7297 | 2020-06-04 Thomas Schwinge <thomas@codesourcery.com> | |
7298 | Julian Brown <julian@codesourcery.com> | |
7299 | ||
7300 | * oacc-mem.c (acc_unmap_data): Don't open-code 'gomp_remove_var'. | |
7301 | ||
7302 | 2020-06-04 Thomas Schwinge <thomas@codesourcery.com> | |
7303 | ||
7304 | PR libgomp/92854 | |
7305 | * oacc-mem.c (acc_unmap_data): Remove 'tgt' reference counting. | |
7306 | ||
7307 | 2020-06-04 Thomas Schwinge <thomas@codesourcery.com> | |
7308 | ||
7309 | PR libgomp/92854 | |
7310 | * testsuite/libgomp.oacc-c-c++-common/pr92854-1.c: Extend some | |
7311 | more. | |
7312 | ||
7313 | 2020-06-04 Thomas Schwinge <thomas@codesourcery.com> | |
7314 | Julian Brown <julian@codesourcery.com> | |
7315 | ||
7316 | * oacc-mem.c (goacc_enter_datum): Use 'tgt' returned from | |
7317 | 'gomp_map_vars'. | |
3d3b561f | 7318 | (acc_map_data): Clean up accordingly. |
3add3425 GA |
7319 | |
7320 | 2020-06-04 Thomas Schwinge <thomas@codesourcery.com> | |
7321 | ||
7322 | * testsuite/libgomp.oacc-fortran/deep-copy-6.f90: XFAIL behavior | |
7323 | of over-eager 'finalize' clause. | |
7324 | * testsuite/libgomp.oacc-fortran/deep-copy-6-no_finalize.F90: New | |
7325 | file. | |
7326 | * testsuite/libgomp.oacc-fortran/mdc-refcount-1-1-1.f90: Likewise. | |
7327 | * testsuite/libgomp.oacc-fortran/mdc-refcount-1-1-2.F90: Likewise. | |
7328 | * testsuite/libgomp.oacc-fortran/mdc-refcount-1-2-1.f90: Likewise. | |
7329 | * testsuite/libgomp.oacc-fortran/mdc-refcount-1-2-2.f90: Likewise. | |
7330 | * testsuite/libgomp.oacc-fortran/mdc-refcount-1-3-1.f90: Likewise. | |
7331 | * testsuite/libgomp.oacc-fortran/mdc-refcount-1-3-2.f90: Likewise. | |
7332 | * testsuite/libgomp.oacc-fortran/mdc-refcount-1-4-1.f90: Likewise. | |
7333 | * testsuite/libgomp.oacc-fortran/mdc-refcount-1-4-2.f90: Likewise. | |
7334 | ||
7335 | 2020-06-04 Thomas Schwinge <thomas@codesourcery.com> | |
7336 | ||
7337 | * oacc-mem.c (goacc_exit_data_internal): Unlock on error path. | |
7338 | ||
7339 | 2020-06-04 Julian Brown <julian@codesourcery.com> | |
7340 | ||
7341 | * oacc-mem.c (acc_attach_async): Add missing gomp_mutex_unlock on | |
7342 | error path. | |
7343 | (goacc_detach_internal): Likewise. | |
7344 | ||
7345 | 2020-06-04 Thomas Schwinge <thomas@codesourcery.com> | |
7346 | ||
7347 | * testsuite/libgomp.oacc-fortran/error_stop-1.f: Initialize before | |
7348 | the checkpoint. | |
7349 | * testsuite/libgomp.oacc-fortran/error_stop-2.f: Likewise. | |
7350 | * testsuite/libgomp.oacc-fortran/error_stop-3.f: Likewise. | |
7351 | * testsuite/libgomp.oacc-fortran/stop-1.f: Likewise. | |
7352 | * testsuite/libgomp.oacc-fortran/stop-2.f: Likewise. | |
7353 | * testsuite/libgomp.oacc-fortran/stop-3.f: Likewise. | |
7354 | ||
a9312a79 GA |
7355 | 2020-06-02 Jakub Jelinek <jakub@redhat.com> |
7356 | ||
7357 | * allocator.c (omp_free): Fix up build if HAVE_SYNC_BUILTINS is not | |
7358 | defined. | |
7359 | ||
945b53cc GA |
7360 | 2020-05-30 Jakub Jelinek <jakub@redhat.com> |
7361 | ||
7362 | * testsuite/libgomp.c-c++-common/alloc-4.c: New test. | |
7363 | ||
7364 | 2020-05-30 Jakub Jelinek <jakub@redhat.com> | |
7365 | ||
7366 | * allocator.c (omp_alloc): For size == 0, return NULL early. | |
7367 | ||
885ef72f GA |
7368 | 2020-05-29 H.J. Lu <hjl.tools@gmail.com> |
7369 | ||
7370 | PR bootstrap/95413 | |
7371 | * configure: Regenerated. | |
7372 | ||
8df7ee67 TK |
7373 | 2020-05-23 Thomas Koenig <tkoenig@gcc.gnu.org> |
7374 | ||
7375 | PR libfortran/95191 | |
7376 | * testsuite/libgomp.fortran/async_io_9.f90: New test. | |
7377 | ||
800bcc8c JJ |
7378 | 2020-05-19 Jakub Jelinek <jakub@redhat.com> |
7379 | ||
7380 | * omp.h.in (omp_uintptr_t): New typedef. | |
7381 | (__GOMP_UINTPTR_T_ENUM): Define. | |
7382 | (omp_memspace_handle_t, omp_allocator_handle_t, omp_alloctrait_key_t, | |
7383 | omp_alloctrait_value_t, omp_alloctrait_t): New typedefs. | |
7384 | (__GOMP_DEFAULT_NULL_ALLOCATOR): Define. | |
7385 | (omp_init_allocator, omp_destroy_allocator, omp_set_default_allocator, | |
7386 | omp_get_default_allocator, omp_alloc, omp_free): Declare. | |
7387 | * libgomp.h (struct gomp_team_state): Add def_allocator field. | |
7388 | (gomp_def_allocator): Declare. | |
7389 | * libgomp.map (OMP_5.0.1): Export omp_set_default_allocator, | |
7390 | omp_get_default_allocator, omp_init_allocator, omp_destroy_allocator, | |
7391 | omp_alloc and omp_free. | |
7392 | * team.c (gomp_team_start): Copy over ts.def_allocator. | |
7393 | * env.c (gomp_def_allocator): New variable. | |
7394 | (parse_wait_policy): Adjust function comment. | |
7395 | (parse_allocator): New function. | |
7396 | (handle_omp_display_env): Print OMP_ALLOCATOR. | |
7397 | (initialize_env): Call parse_allocator. | |
7398 | * Makefile.am (libgomp_la_SOURCES): Add allocator.c. | |
7399 | * allocator.c: New file. | |
7400 | * icv.c (omp_set_default_allocator, omp_get_default_allocator): New | |
7401 | functions. | |
7402 | * testsuite/libgomp.c-c++-common/alloc-1.c: New test. | |
7403 | * testsuite/libgomp.c-c++-common/alloc-2.c: New test. | |
7404 | * testsuite/libgomp.c-c++-common/alloc-3.c: New test. | |
7405 | * Makefile.in: Regenerated. | |
7406 | ||
4c1a5d8b L |
7407 | 2020-05-15 H.J. Lu <hongjiu.lu@intel.com> |
7408 | ||
7409 | PR bootstrap/95147 | |
7410 | * configure: Regenerated. | |
7411 | ||
cdc34b50 TK |
7412 | 2020-05-14 Thomas Koenig <tkoenig@gcc.gnu.org> |
7413 | ||
7414 | PR libfortran/95119 | |
7415 | * testsuite/libgomp.fortran/close_errors_1.f90: New test. | |
7416 | ||
7417 | 2020-05-14 H.J. Lu <hongjiu.lu@intel.com> | |
7418 | ||
7419 | * configure: Regenerated. | |
7420 | ||
7421 | 2020-05-14 Jakub Jelinek <jakub@redhat.com> | |
7422 | ||
7423 | * testsuite/libgomp.c-c++-common/target-40.c: New test. | |
7424 | ||
f884bef2 TB |
7425 | 2020-05-13 Tobias Burnus <tobias@codesourcery.com> |
7426 | ||
7427 | PR fortran/94690 | |
7428 | * testsuite/libgomp.fortran/pr66199-3.f90: New. | |
7429 | * testsuite/libgomp.fortran/pr66199-4.f90: New. | |
7430 | * testsuite/libgomp.fortran/pr66199-5.f90: New. | |
7431 | * testsuite/libgomp.fortran/pr66199-6.f90: New. | |
7432 | * testsuite/libgomp.fortran/pr66199-7.f90: New. | |
7433 | * testsuite/libgomp.fortran/pr66199-8.f90: New. | |
7434 | * testsuite/libgomp.fortran/pr66199-9.f90: New. | |
7435 | ||
dc703151 JJ |
7436 | 2020-05-12 Jakub Jelinek <jakub@redhat.com> |
7437 | ||
7438 | * testsuite/libgomp.c/target-39.c: New test. | |
7439 | ||
b9dc11b6 TS |
7440 | 2020-04-29 Thomas Schwinge <thomas@codesourcery.com> |
7441 | ||
a5d0bc12 TS |
7442 | * config/accel/openacc.f90 (acc_device_current): Set to '-1'. |
7443 | * openacc.f90 (acc_device_current): Likewise. | |
7444 | * openacc.h (acc_device_current): Likewise. | |
7445 | * openacc_lib.h (acc_device_current): Likewise. | |
7446 | ||
7f198924 TS |
7447 | PR target/94282 |
7448 | * testsuite/libgomp.c-c++-common/function-not-offloaded.c: Remove | |
7449 | 'dg-allow-blank-lines-in-output'. | |
7450 | ||
4912a04f TS |
7451 | * oacc-init.c (get_openacc_name): Handle 'gcn'. |
7452 | * testsuite/lib/libgomp.exp | |
7453 | (offload_target_to_openacc_device_type) [amdgcn*]: Return | |
7454 | 'radeon'. Adjust all users. | |
7455 | (check_effective_target_openacc_amdgcn_accel_present): Rename | |
7456 | to... | |
7457 | (check_effective_target_openacc_radeon_accel_present): ... this. | |
7458 | Adjust all users. | |
7459 | (check_effective_target_openacc_amdgcn_accel_selected): Rename to... | |
7460 | (check_effective_target_openacc_radeon_accel_selected): ... this. | |
7461 | Adjust all users. | |
7462 | ||
b9dc11b6 TS |
7463 | * testsuite/libgomp.fortran/use_device_ptr-optional-2.f90: Add |
7464 | 'dg-do run'. | |
7465 | ||
966de09b AS |
7466 | 2020-04-23 Andrew Stubbs <ams@codesourcery.com> |
7467 | ||
7468 | PR other/94629 | |
7469 | ||
7470 | * plugin/plugin-gcn.c (init_hsa_context): Check return value from | |
7471 | hsa_iterate_agents. | |
7472 | (GOMP_OFFLOAD_init_device): Check return values from both calls to | |
7473 | hsa_agent_iterate_regions. | |
7474 | ||
3f5d94c1 TS |
7475 | 2020-04-20 Thomas Schwinge <thomas@codesourcery.com> |
7476 | ||
7477 | PR middle-end/94635 | |
7478 | * testsuite/libgomp.fortran/target-enter-data-2.F90: Add 'dg-do | |
7479 | run'. | |
7480 | ||
85d8c05a TB |
7481 | 2020-04-20 Tobias Burnus <tobias@codesourcery.com> |
7482 | ||
7483 | PR middle-end/94120 | |
7484 | * testsuite/libgomp.oacc-c++/declare-pr94120.C: Fix 'declare copy(out)' | |
7485 | test case. | |
7486 | ||
af557050 TB |
7487 | 2020-04-17 Tobias Burnus <tobias@codesourcery.com> |
7488 | ||
7489 | PR middle-end/94635 | |
7490 | * testsuite/libgomp.fortran/target-enter-data-2.F90: New. | |
7491 | ||
af4c9257 TS |
7492 | 2020-04-13 Thomas Schwinge <thomas@codesourcery.com> |
7493 | ||
7494 | PR libgomp/92843 | |
7495 | * testsuite/libgomp.oacc-c-c++-common/static-dynamic-lifetimes-1-lib.c: | |
7496 | Rename to... | |
7497 | * testsuite/libgomp.oacc-c-c++-common/structured-dynamic-lifetimes-1-lib.c: | |
7498 | ... this. | |
7499 | * testsuite/libgomp.oacc-c-c++-common/static-dynamic-lifetimes-1.c: | |
7500 | Rename to... | |
7501 | * testsuite/libgomp.oacc-c-c++-common/structured-dynamic-lifetimes-1.c: | |
7502 | ... this. | |
7503 | * testsuite/libgomp.oacc-c-c++-common/static-dynamic-lifetimes-2-lib.c: | |
7504 | Rename to... | |
7505 | * testsuite/libgomp.oacc-c-c++-common/structured-dynamic-lifetimes-2-lib.c: | |
7506 | ... this. | |
7507 | * testsuite/libgomp.oacc-c-c++-common/static-dynamic-lifetimes-2.c: | |
7508 | Rename to... | |
7509 | * testsuite/libgomp.oacc-c-c++-common/structured-dynamic-lifetimes-2.c: | |
7510 | ... this. | |
7511 | * testsuite/libgomp.oacc-c-c++-common/static-dynamic-lifetimes-3-lib.c: | |
7512 | Rename to... | |
7513 | * testsuite/libgomp.oacc-c-c++-common/structured-dynamic-lifetimes-3-lib.c: | |
7514 | ... this. | |
7515 | * testsuite/libgomp.oacc-c-c++-common/static-dynamic-lifetimes-3.c: | |
7516 | Rename to... | |
7517 | * testsuite/libgomp.oacc-c-c++-common/structured-dynamic-lifetimes-3.c: | |
7518 | ... this. | |
7519 | * testsuite/libgomp.oacc-c-c++-common/static-dynamic-lifetimes-4-lib.c: | |
7520 | Rename to... | |
7521 | * testsuite/libgomp.oacc-c-c++-common/structured-dynamic-lifetimes-4-lib.c: | |
7522 | ... this. | |
7523 | * testsuite/libgomp.oacc-c-c++-common/static-dynamic-lifetimes-4.c: | |
7524 | Rename to... | |
7525 | * testsuite/libgomp.oacc-c-c++-common/structured-dynamic-lifetimes-4.c: | |
7526 | ... this. | |
7527 | * testsuite/libgomp.oacc-c-c++-common/static-dynamic-lifetimes-5-lib.c: | |
7528 | Rename to... | |
7529 | * testsuite/libgomp.oacc-c-c++-common/structured-dynamic-lifetimes-5-lib.c: | |
7530 | ... this. | |
7531 | * testsuite/libgomp.oacc-c-c++-common/static-dynamic-lifetimes-5.c: | |
7532 | Rename to... | |
7533 | * testsuite/libgomp.oacc-c-c++-common/structured-dynamic-lifetimes-5.c: | |
7534 | ... this. | |
7535 | * testsuite/libgomp.oacc-c-c++-common/static-dynamic-lifetimes-6-lib.c: | |
7536 | Rename to... | |
7537 | * testsuite/libgomp.oacc-c-c++-common/structured-dynamic-lifetimes-6-lib.c: | |
7538 | ... this. | |
7539 | * testsuite/libgomp.oacc-c-c++-common/static-dynamic-lifetimes-6.c: | |
7540 | Rename to... | |
7541 | * testsuite/libgomp.oacc-c-c++-common/structured-dynamic-lifetimes-6.c: | |
7542 | ... this. | |
7543 | * testsuite/libgomp.oacc-c-c++-common/static-dynamic-lifetimes-7-lib.c: | |
7544 | Rename to... | |
7545 | * testsuite/libgomp.oacc-c-c++-common/structured-dynamic-lifetimes-7-lib.c: | |
7546 | ... this. | |
7547 | * testsuite/libgomp.oacc-c-c++-common/static-dynamic-lifetimes-7.c: | |
7548 | Rename to... | |
7549 | * testsuite/libgomp.oacc-c-c++-common/structured-dynamic-lifetimes-7.c: | |
7550 | ... this. | |
7551 | * testsuite/libgomp.oacc-c-c++-common/static-dynamic-lifetimes-8-lib.c: | |
7552 | Rename to... | |
7553 | * testsuite/libgomp.oacc-c-c++-common/structured-dynamic-lifetimes-8-lib.c: | |
7554 | ... this. | |
7555 | * testsuite/libgomp.oacc-c-c++-common/static-dynamic-lifetimes-8.c:: | |
7556 | Rename to... | |
7557 | * testsuite/libgomp.oacc-c-c++-common/structured-dynamic-lifetimes-8.c: | |
7558 | ... this. | |
7559 | ||
be9862dd JB |
7560 | 2020-04-10 Julian Brown <julian@codesourcery.com> |
7561 | Thomas Schwinge <thomas@codesourcery.com> | |
7562 | ||
7563 | PR libgomp/92843 | |
7564 | * testsuite/libgomp.oacc-c-c++-common/static-dynamic-lifetimes-1-lib.c: | |
7565 | New file. | |
7566 | * testsuite/libgomp.oacc-c-c++-common/static-dynamic-lifetimes-1.c: | |
7567 | Likewise. | |
7568 | * testsuite/libgomp.oacc-c-c++-common/static-dynamic-lifetimes-2-lib.c: | |
7569 | Likewise. | |
7570 | * testsuite/libgomp.oacc-c-c++-common/static-dynamic-lifetimes-2.c: | |
7571 | Likewise. | |
7572 | * testsuite/libgomp.oacc-c-c++-common/static-dynamic-lifetimes-3-lib.c: | |
7573 | Likewise. | |
7574 | * testsuite/libgomp.oacc-c-c++-common/static-dynamic-lifetimes-3.c: | |
7575 | Likewise. | |
7576 | * testsuite/libgomp.oacc-c-c++-common/static-dynamic-lifetimes-4-lib.c: | |
7577 | Likewise. | |
7578 | * testsuite/libgomp.oacc-c-c++-common/static-dynamic-lifetimes-4.c: | |
7579 | Likewise. | |
7580 | * testsuite/libgomp.oacc-c-c++-common/static-dynamic-lifetimes-5-lib.c: | |
7581 | Likewise. | |
7582 | * testsuite/libgomp.oacc-c-c++-common/static-dynamic-lifetimes-5.c: | |
7583 | Likewise. | |
7584 | * testsuite/libgomp.oacc-c-c++-common/static-dynamic-lifetimes-6-lib.c: | |
7585 | Likewise. | |
7586 | * testsuite/libgomp.oacc-c-c++-common/static-dynamic-lifetimes-6.c: | |
7587 | Likewise. | |
7588 | * testsuite/libgomp.oacc-c-c++-common/static-dynamic-lifetimes-7-lib.c: | |
7589 | Likewise. | |
7590 | * testsuite/libgomp.oacc-c-c++-common/static-dynamic-lifetimes-7.c: | |
7591 | Likewise. | |
7592 | * testsuite/libgomp.oacc-c-c++-common/static-dynamic-lifetimes-8-lib.c: | |
7593 | Likewise. | |
7594 | * testsuite/libgomp.oacc-c-c++-common/static-dynamic-lifetimes-8.c: | |
7595 | Likewise. | |
7596 | ||
6b816a5f TS |
7597 | 2020-04-10 Thomas Schwinge <thomas@codesourcery.com> |
7598 | ||
7599 | * testsuite/libgomp.fortran/target-enter-data-1.f90: Add 'dg-do | |
7600 | run'. | |
7601 | ||
13e41d8b TB |
7602 | 2020-04-08 Tobias Burnus <tobias@codesourcery.com> |
7603 | ||
7604 | PR middle-end/94120 | |
7605 | * libgomp.oacc-c++/declare-pr94120.C: New. | |
7606 | ||
749bd22d MR |
7607 | 2020-04-06 Maciej W. Rozycki <macro@wdc.com> |
7608 | ||
7609 | * configure.ac: Add testsuite/libgomp-site-extra.exp to output | |
7610 | files. | |
7611 | * configure: Regenerate. | |
7612 | * testsuite/libgomp-site-extra.exp.in: New file. | |
7613 | * testsuite/libgomp-test-support.exp.in (GCC_UNDER_TEST): Remove | |
7614 | variable. | |
7615 | * testsuite/Makefile.am (EXTRA_DEJAGNU_SITE_CONFIG): New | |
7616 | variable. | |
7617 | * testsuite/Makefile.in: Regenerate. | |
7618 | ||
2b1e849b TS |
7619 | 2020-04-03 Thomas Schwinge <thomas@codesourcery.com> |
7620 | ||
7621 | PR tree-optimization/89713 | |
7622 | PR c/94392 | |
7623 | * testsuite/libgomp.oacc-c-c++-common/pr85381-2.c: Again expect | |
7624 | 'bar.sync'. | |
7625 | * testsuite/libgomp.oacc-c-c++-common/pr85381-4.c: Likewise. | |
7626 | ||
689418b9 TB |
7627 | 2020-03-31 Tobias Burnus <tobias@codesourcery.com> |
7628 | ||
7629 | * target.c (GOMP_target_enter_exit_data): Handle PSET/MAP_POINTER. | |
7630 | * testsuite/libgomp.fortran/target-enter-data-1.f90: New. | |
7631 | ||
c2211a60 TB |
7632 | 2020-03-24 Tobias Burnus <tobias@codesourcery.com> |
7633 | ||
7634 | PR libgomp/81689 | |
7635 | * testsuite/libgomp.c/target-link-1.c: Remove xfail. | |
7636 | ||
4897bb00 TB |
7637 | 2020-03-20 Tobias Burnus <tobias@codesourcery.com> |
7638 | ||
7639 | PR libgomp/94251 | |
7640 | * target.c (gomp_load_image_to_device): Fix link | |
7641 | variable handling. | |
7642 | ||
02f7334a JJ |
7643 | 2020-03-19 Jakub Jelinek <jakub@redhat.com> |
7644 | ||
7645 | PR c++/93931 | |
7646 | * testsuite/libgomp.c++/pr93931.C: New test. | |
7647 | ||
bb83e069 TB |
7648 | 2020-03-19 Tobias Burnus <tobias@codesourcery.com> |
7649 | ||
7650 | * testsuite/libgomp.c-c++-common/function-not-offloaded.c: Add | |
7651 | dg-allow-blank-lines-in-output. | |
7652 | ||
26cbcfe5 TB |
7653 | 2020-03-18 Julian Brown <julian@codesourcery.com> |
7654 | Tobias Burnus <tobias@codesourcery.com> | |
7655 | ||
7656 | * testsuite/libgomp.oacc-fortran/atomic_capture-1.f90: Really make | |
7657 | it work concurrently. | |
7658 | ||
4da92887 TB |
7659 | 2020-03-18 Tobias Burnus <tobias@codesourcery.com> |
7660 | ||
7661 | * testsuite/libgomp.oacc-c++/firstprivate-mappings-1.C: Add | |
7662 | #define DO_LONG_DOUBLE; set to 1, except for nvidia + gcn. | |
7663 | * libgomp.oacc-c-c++-common/firstprivate-mappings-1.c: Likewise. | |
7664 | ||
9c3cdb43 JJ |
7665 | 2020-03-14 Jakub Jelinek <jakub@redhat.com> |
7666 | ||
7667 | PR middle-end/93566 | |
7668 | * testsuite/libgomp.c/pr93566.c: New test. | |
7669 | ||
83d45e1d FH |
7670 | 2020-02-21 Frederik Harwath <frederik@codesourcery.com> |
7671 | ||
7672 | * testsuite/libgomp.oacc-fortran/acc_get_property.f90: Adapt to | |
7673 | changes from 2020-02-19, i.e. use integer(c_size_t) instead of | |
7674 | integer(acc_device_property) for the type of the return value of | |
7675 | acc_get_property. | |
7676 | ||
8d1a1cb1 TB |
7677 | 2020-02-19 Tobias Burnus <tobias@codesourcery.com> |
7678 | ||
7679 | * .gitattributes: New; whitespace handling for Fortran's openacc_lib.h. | |
7680 | * config/accel/openacc.f90 (openacc_kinds): Add acc_device_current. | |
7681 | (openacc_internal, acc_on_device_h): Fix argument name; minor cleanup. | |
7682 | * libgomp.texi (Enabling OpenACC): No longer mark as experimental. | |
7683 | (acc_set_device_num): Fix Fortran argument name, use same name for C. | |
7684 | (acc_get_property): Update Fortran interface to post-OpenACC 3.0 | |
7685 | corrections; add note about the previous interface and named constant. | |
7686 | (OpenACC library and environment variables): Fix two typos. | |
7687 | * openacc.f90: Use for all procedures the argument names from the spec | |
7688 | as for …_h they are user visible. | |
7689 | (openacc_kinds): Rename acc_device_property to | |
7690 | acc_device_property_kinds and change value to int32 ; and update users. | |
7691 | Re-add acc_device_property for for backward compatibility. | |
7692 | (acc_get_property_string_h): Clean up as acc_device_property_kind | |
7693 | changed. | |
7694 | (acc_get_property_h): Likewise and return c_size_t instead of | |
7695 | acc_device_property. | |
7696 | (openacc): Also export acc_device_property_kinds. | |
7697 | (acc_async_test_h, acc_async_test_all_h, acc_on_device_h, | |
7698 | acc_is_present_32_h, acc_is_present_64_h): Simplify logical-return-value | |
7699 | handling; check against /= 0 instead of == 1 to match C. | |
7700 | * openacc_lib.h: Use for all procedures the argument names from the spec | |
7701 | as for …_h they are user visible. Place !GCC$ into the first column to | |
7702 | be active also for fixed-form souce form. | |
7703 | (acc_device_current, acc_device_property_kind, acc_device_property, | |
7704 | acc_property_memory, acc_property_free_memory, acc_property_name, | |
7705 | acc_property_vendor, acc_property_driver): New named constants. | |
7706 | (acc_get_property, acc_get_property_string): New generic interface. | |
7707 | ||
2d9eb4e4 FH |
7708 | 2020-02-13 Frederik Harwath <frederik@codesourcery.com> |
7709 | ||
7710 | PR libgomp/93481 | |
7711 | * plugin/plugin-nvptx.c: Remove GOMP_OFFLOAD_async_run stub. | |
7712 | * target.c (gomp_load_plugin_for_device): Make "async_run" loading | |
7713 | optional. | |
7714 | (gomp_target_task_fn): Assert "devicep->async_run_func". | |
7715 | (clear_unsupported_flags): New function to remove unsupported flags | |
7716 | (right now only GOMP_TARGET_FLAG_NOWAIT) that can be be ignored. | |
7717 | (GOMP_target_ext): Apply clear_unsupported_flags to flags. | |
7718 | * testsuite/libgomp.c/target-33.c: | |
7719 | Remove xfail for offload_target_nvptx. | |
7720 | * testsuite/libgomp.c/target-34.c: Likewise. | |
fd789c81 FH |
7721 | |
7722 | 2020-02-10 Frederik Harwath <frederik@codesourcery.com> | |
7723 | ||
7724 | * testsuite/libgomp.c/target-33.c: Add xfail for execution on | |
7725 | offload_target_nvptx, cf. https://gcc.gnu.org/PR81688. | |
7726 | * testsuite/libgomp.c/target-34.c: Likewise. | |
7727 | * testsuite/libgomp.c/target-link-1.c: Add xfail for | |
7728 | offload_target_nvptx, cf. https://gcc.gnu.org/PR81689. | |
7729 | ||
9bc3b95d JJ |
7730 | 2020-02-09 Jakub Jelinek <jakub@redhat.com> |
7731 | ||
7732 | * testsuite/libgomp.c/target-38.c: New test. | |
7733 | ||
cb3f0648 JJ |
7734 | 2020-02-06 Jakub Jelinek <jakub@redhat.com> |
7735 | ||
7736 | PR libgomp/93515 | |
7737 | * testsuite/libgomp.c-c++-common/pr93515.c: New test. | |
7738 | ||
91bc3c98 TB |
7739 | 2020-02-05 Tobias Burnus <tobias@codesourcery.com> |
7740 | ||
7741 | * testsuite/lib/libgomp.exp | |
7742 | (check_effective_target_offload_target_nvptx): Pass flags as 'options' | |
7743 | and not as 'source' argument to libgomp_target_compile. | |
7744 | ||
591f869a AS |
7745 | 2020-02-03 Andrew Stubbs <ams@codesourcery.com> |
7746 | ||
7747 | * plugin/plugin-gcn.c (EF_AMDGPU_MACH_AMDGCN_GFX801): Remove. | |
7748 | (gcn_gfx801_s): Remove. | |
7749 | (isa_hsa_name): Remove gfx801. | |
7750 | (isa_gcc_name): Remove gfx801/carizzo. | |
7751 | (isa_code): Remove gfx801. | |
7752 | ||
e464fc90 TB |
7753 | 2020-02-03 Julian Brown <julian@codesourcery.com> |
7754 | Tobias Burnus <tobias@codesourcery.com> | |
7755 | ||
7756 | * libgomp.texi (OpenACC Runtime Library Routines): Document *_async | |
7757 | and *_finalize variants; document acc_attach and acc_detach; update | |
7758 | references from OpenACC 2.0 to 2.6. | |
7759 | * openacc.f90 (openacc_version): Update to 201711. | |
7760 | * openacc_lib.h (openacc_version): Update to 201711. | |
7761 | * testsuite/libgomp.oacc-fortran/openacc_version-1.f: Update expected | |
7762 | openacc_version to 201711. | |
7763 | * testsuite/libgomp.oacc-fortran/openacc_version-2.f90: Likewise. | |
7764 | ||
5a28e272 KCY |
7765 | 2020-01-31 Kwok Cheung Yeung <kcy@codesourcery.com> |
7766 | ||
7767 | * plugin/plugin-gcn.c (struct hsa_kernel_description): Add sgpr_count | |
7768 | and vgpr_count fields. | |
7769 | (struct kernel_info): Add a field for a hsa_kernel_description. | |
7770 | (run_kernel): Reduce the number of threads/workers if the requested | |
7771 | number would require too many VGPRs. | |
7772 | (init_basic_kernel_info): Initialize description field with | |
7773 | the hsa_kernel_description entry for the kernel. | |
7774 | ||
5ab5d81b TB |
7775 | 2020-01-29 Tobias Burnus <tobias@codesourcery.com> |
7776 | ||
7777 | PR bootstrap/93409 | |
7778 | * plugin/configfrag.ac (enable_offload_targets): Skip | |
7779 | HSA and GCN plugin besides -m32 also for -mx32. | |
7780 | * configure: Regenerate. | |
7781 | ||
989a5fb3 FH |
7782 | 2020-01-29 Frederik Harwath <frederik@codesourcery.com> |
7783 | ||
7784 | * oacc-init.c (name_of_acc_device_t): Handle acc_device_radeon. | |
2e5ea579 FH |
7785 | |
7786 | 2020-01-29 Frederik Harwath <frederik@codesourcery.com> | |
7787 | ||
7788 | * plugin-gcn.c (struct agent_info): Add fields "name" and | |
7789 | "vendor_name" ... | |
7790 | (GOMP_OFFLOAD_init_device): ... and init from here. | |
7791 | (struct hsa_context_info): Add field "driver_version_s" ... | |
7792 | (init_hsa_contest): ... and init from here. | |
7793 | (GOMP_OFFLOAD_openacc_get_property): Replace stub with a proper | |
7794 | implementation. | |
7795 | * testsuite/libgomp.oacc-c-c++-common/acc_get_property.c: | |
7796 | Enable test execution for amdgcn and host offloading targets. | |
7797 | * testsuite/libgomp.oacc-fortran/acc_get_property.f90: Likewise. | |
7798 | * testsuite/libgomp.oacc-c-c++-common/acc_get_property-aux.c | |
7799 | (expect_device_properties): Split function into ... | |
7800 | (expect_device_string_properties): ... this new function ... | |
7801 | (expect_device_memory): ... and this new function. | |
7802 | * testsuite/libgomp.oacc-c-c++-common/acc_get_property-gcn.c: | |
7803 | Add test. | |
7804 | ||
278c3214 JB |
7805 | 2020-01-28 Julian Brown <julian@codesourcery.com> |
7806 | ||
7807 | * testsuite/libgomp.oacc-fortran/deep-copy-2.f90: Remove test from here. | |
7808 | * testsuite/libgomp.oacc-fortran/deep-copy-3.f90: Don't use mixed | |
7809 | component/non-component variable refs in a single directive. | |
7810 | * testsuite/libgomp.oacc-fortran/classtypes-1.f95: Likewise. | |
7811 | ||
e8e66971 MR |
7812 | 2020-01-24 Maciej W. Rozycki <macro@wdc.com> |
7813 | ||
7814 | * configure.ac: Handle `--with-toolexeclibdir='. | |
7815 | * Makefile.in: Regenerate. | |
7816 | * aclocal.m4: Regenerate. | |
7817 | * configure: Regenerate. | |
7818 | * testsuite/Makefile.in: Regenerate. | |
7819 | ||
9e424d97 FH |
7820 | 2020-01-24 Frederik Harwath <frederik@codesourcery.com> |
7821 | ||
7822 | * testsuite/libgomp.oacc-c-c++-common/acc_get_property-aux.c | |
7823 | (expect_device_properties): Remove "expected_free_mem" argument, | |
7824 | change "expected_total_mem" argument type to size_t; | |
7825 | change types of acc_get_property results to size_t, | |
7826 | adapt format strings. | |
7827 | * testsuite/libgomp.oacc-c-c++-common/acc_get_property.c: | |
7828 | Use %zu instead of %zd to print size_t values. | |
7829 | * testsuite/libgomp.oacc-c-c++-common/acc_get_property-2.c: Adapt and | |
7830 | rename to ... | |
7831 | * testsuite/libgomp.oacc-c-c++-common/acc_get_property-nvptx.c: ... this. | |
7832 | * testsuite/libgomp.oacc-c-c++-common/acc_get_property-3.c: Adapt and | |
7833 | rename to ... | |
7834 | * testsuite/libgomp.oacc-c-c++-common/acc_get_property-host.c: ... this. | |
7835 | ||
14e5e746 AS |
7836 | 2020-01-23 Andrew Stubbs <ams@codesourcery.com> |
7837 | ||
7838 | * plugin/plugin-gcn.c (parse_target_attributes): Use correct mask for | |
7839 | the device id. | |
7840 | ||
09e0ad62 AS |
7841 | 2020-01-20 Andrew Stubbs <ams@codesourcery.com> |
7842 | ||
7843 | * testsuite/libgomp.oacc-c-c++-common/loop-auto-1.c: Skip test on gcn. | |
7844 | * testsuite/libgomp.oacc-c-c++-common/loop-dim-default.c (main): | |
7845 | Adjust test dimensions for amdgcn. | |
7846 | * testsuite/libgomp.oacc-c-c++-common/loop-gwv-1.c (main): Adjust | |
7847 | gang/worker/vector expectations dynamically. | |
7848 | * testsuite/libgomp.oacc-c-c++-common/loop-red-gwv-1.c | |
7849 | (main): Likewise. | |
7850 | * testsuite/libgomp.oacc-c-c++-common/loop-red-v-1.c (main): Likewise. | |
7851 | * testsuite/libgomp.oacc-c-c++-common/loop-red-v-2.c (main): Likewise. | |
7852 | * testsuite/libgomp.oacc-c-c++-common/loop-red-w-1.c (main): Likewise. | |
7853 | * testsuite/libgomp.oacc-c-c++-common/loop-red-w-2.c (main): Likewise. | |
7854 | * testsuite/libgomp.oacc-c-c++-common/loop-red-wv-1.c (main): Likewise. | |
7855 | * testsuite/libgomp.oacc-c-c++-common/loop-v-1.c (main): Likewise. | |
7856 | * testsuite/libgomp.oacc-c-c++-common/loop-w-1.c (main): Likewise. | |
7857 | * testsuite/libgomp.oacc-c-c++-common/loop-wv-1.c (main): Likewise. | |
7858 | * testsuite/libgomp.oacc-c-c++-common/parallel-dims.c | |
7859 | (acc_gang): Recognise acc_device_radeon. | |
7860 | (acc_worker): Likewise. | |
7861 | (acc_vector): Likewise. | |
7862 | (main): Set expectations for amdgcn. | |
7863 | * testsuite/libgomp.oacc-c-c++-common/routine-gwv-1.c | |
7864 | (main): Adjust gang/worker/vector expectations dynamically. | |
7865 | * testsuite/libgomp.oacc-c-c++-common/routine-v-1.c (main): Likewise. | |
7866 | * testsuite/libgomp.oacc-c-c++-common/routine-w-1.c (main): Likewise. | |
7867 | * testsuite/libgomp.oacc-c-c++-common/routine-wv-1.c (main): Likewise. | |
7868 | * testsuite/libgomp.oacc-c-c++-common/routine-wv-2.c: Set expectations | |
7869 | for amdgcn. | |
7870 | ||
6687d13a AS |
7871 | 2020-01-17 Andrew Stubbs <ams@codesourcery.com> |
7872 | ||
7873 | * config/accel/openacc.f90 (openacc_kinds): Rename acc_device_gcn to | |
7874 | acc_device_radeon. | |
7875 | (openacc): Likewise. | |
7876 | * openacc.f90 (openacc_kinds): Likewise. | |
7877 | (openacc): Likewise. | |
7878 | * openacc.h (acc_device_t): Likewise. | |
7879 | * openacc_lib.h: Likewise. | |
7880 | * testsuite/lib/libgomp.exp | |
7881 | (check_effective_target_openacc_amdgcn_accel_present): Likewise. | |
7882 | * testsuite/libgomp.oacc-c-c++-common/acc_prof-init-1.c | |
7883 | (cb_compute_construct_end): Likewise. | |
7884 | * testsuite/libgomp.oacc-c-c++-common/acc_prof-kernels-1.c | |
7885 | (cb_enqueue_launch_start): Likewise. | |
7886 | * testsuite/libgomp.oacc-c-c++-common/acc_prof-parallel-1.c | |
7887 | (cb_enter_data_end): Likewise. | |
7888 | (cb_exit_data_start): Likewise. | |
7889 | (cb_exit_data_end): Likewise. | |
7890 | (cb_compute_construct_end): Likewise. | |
7891 | (cb_enqueue_launch_start): Likewise. | |
7892 | (cb_enqueue_launch_end): Likewise. | |
7893 | * testsuite/libgomp.oacc-c-c++-common/asyncwait-nop-1.c | |
7894 | (main): Likewise. | |
7895 | ||
b3b75e66 TS |
7896 | 2020-01-10 Thomas Schwinge <thomas@codesourcery.com> |
7897 | ||
6fc0385c TS |
7898 | * libgomp-plugin.h (enum goacc_property): New. Adjust all users |
7899 | to use this instead of 'enum gomp_device_property'. | |
7900 | (GOMP_OFFLOAD_get_property): Rename to... | |
7901 | (GOMP_OFFLOAD_openacc_get_property): ... this. Adjust all users. | |
7902 | * libgomp.h (struct gomp_device_descr): Move | |
7903 | 'GOMP_OFFLOAD_openacc_get_property'... | |
7904 | (struct acc_dispatch_t): ... here. Adjust all users. | |
7905 | * plugin/plugin-hsa.c (GOMP_OFFLOAD_get_property): Remove. | |
7906 | ||
b3b75e66 TS |
7907 | * target.c (gomp_map_vars_internal) |
7908 | <GOMP_MAP_USE_DEVICE_PTR_IF_PRESENT>: Clean up/elaborate code | |
7909 | paths. | |
7910 | ||
91df4397 JJ |
7911 | 2020-01-10 Jakub Jelinek <jakub@redhat.com> |
7912 | ||
7913 | PR libgomp/93219 | |
7914 | * libgomp.h (gomp_print_string): Change return type from void to int. | |
7915 | * affinity-fmt.c (gomp_print_string): Likewise. Return true if | |
7916 | not all characters have been written. | |
7917 | ||
df2c0d36 TB |
7918 | 2020-01-08 Tobias Burnus <tobias@codesourcery.com> |
7919 | ||
7920 | * libgomp.texi: Fix typos, use https. | |
7921 | ||
f760c0c7 TB |
7922 | 2020-01-03 Tobias Burnus <tobias@codesourcery.com> |
7923 | ||
7924 | * testsuite/libgomp.fortran/optional-map.f90: Add test for | |
7925 | unallocated/disassociated actual arguments to nonallocatable/nonpointer | |
7926 | dummy arguments; those are/shall be regarded as absent arguments. | |
7927 | * testsuite/libgomp.fortran/use_device_ptr-optional-2.f90: Ditto. | |
7928 | * testsuite/libgomp.fortran/use_device_ptr-optional-3.f90: New. | |
7929 | ||
7e7065b9 JJ |
7930 | 2020-01-01 Jakub Jelinek <jakub@redhat.com> |
7931 | ||
8d9254fc JJ |
7932 | Update copyright years. |
7933 | ||
7e7065b9 JJ |
7934 | * libgomp.texi: Bump @copying's copyright year. |
7935 | ||
2c829799 AM |
7936 | 2019-12-31 Ayush Mittal <ayush.m@samsung.com> |
7937 | ||
7938 | PR libgomp/93065 | |
7939 | * oacc-init.c (goacc_runtime_deinitialize): New function. | |
7940 | ||
e9dcb75e JJ |
7941 | 2019-12-28 Jakub Jelinek <jakub@redhat.com> |
7942 | ||
7943 | PR bootstrap/93074 | |
7944 | * plugin/cuda/cuda.h (cuDeviceGetName, cuDriverGetVersion): Declare. | |
7945 | (cuDeviceTotalMem, cuMemGetInfo): Likewise. Define to *_v2. | |
7946 | ||
6c84c8bf MR |
7947 | 2019-12-22 Maciej W. Rozycki <macro@codesourcery.com> |
7948 | Frederik Harwath <frederik@codesourcery.com> | |
7949 | Thomas Schwinge <tschwinge@codesourcery.com> | |
7950 | ||
7951 | * libgomp.h (gomp_device_descr): Add `get_property_func' member. | |
7952 | * libgomp-plugin.h (gomp_device_property_value): New union. | |
7953 | (gomp_device_property_value): New prototype. | |
7954 | * openacc.h (acc_device_t): Add `acc_device_current' enumeration | |
7955 | constant. | |
7956 | (acc_device_property_t): New enum. | |
7957 | (acc_get_property, acc_get_property_string): New prototypes. | |
7958 | * oacc-init.c (acc_get_device_type): Also assert that result | |
7959 | is not `acc_device_current'. | |
7960 | (get_property_any, acc_get_property, acc_get_property_string): | |
7961 | New functions. | |
7962 | * openacc.f90 (openacc_kinds): Add `acc_device_current' and | |
7963 | `acc_property_memory', `acc_property_free_memory', | |
7964 | `acc_property_name', `acc_property_vendor' and | |
7965 | `acc_property_driver' constants. Add `acc_device_property' data | |
7966 | type. | |
7967 | (openacc_internal): Add `acc_get_property' and | |
7968 | `acc_get_property_string' interfaces. Add `acc_get_property_h', | |
7969 | `acc_get_property_string_h', `acc_get_property_l' and | |
7970 | `acc_get_property_string_l'. | |
7971 | * oacc-host.c (host_get_property): New function. | |
7972 | (host_dispatch): Wire it. | |
7973 | * target.c (gomp_load_plugin_for_device): Handle `get_property'. | |
7974 | * libgomp.map (OACC_2.6): Add `acc_get_property', `acc_get_property_h_', | |
7975 | `acc_get_property_string' and `acc_get_property_string_h_' symbols. | |
7976 | * libgomp.texi (OpenACC Runtime Library Routines): Add | |
7977 | `acc_get_property'. | |
7978 | (acc_get_property): New node. | |
7979 | * plugin/plugin-gcn.c (GOMP_OFFLOAD_get_property): New | |
7980 | function (stub). | |
7981 | * plugin/plugin-hsa.c (GOMP_OFFLOAD_get_property): New function. | |
7982 | * plugin/plugin-nvptx.c (CUDA_CALLS): Add `cuDeviceGetName', | |
7983 | `cuDeviceTotalMem', `cuDriverGetVersion' and `cuMemGetInfo' | |
7984 | calls. | |
7985 | (GOMP_OFFLOAD_get_property): New function. | |
7986 | (struct ptx_device): Add new field "name". | |
7987 | (cuda_driver_version_s): Add new static variable ... | |
7988 | (nvptx_init): ... and init from here. | |
7989 | ||
7990 | * testsuite/libgomp.oacc-c-c++-common/acc_get_property.c: New test. | |
7991 | * testsuite/libgomp.oacc-c-c++-common/acc_get_property-2.c: New test. | |
7992 | * testsuite/libgomp.oacc-c-c++-common/acc_get_property-3.c: New test. | |
7993 | * testsuite/libgomp.oacc-c-c++-common/acc_get_property-aux.c: New file | |
7994 | with test helper functions. | |
7995 | ||
7996 | * testsuite/libgomp.oacc-fortran/acc_get_property.f90: New test. | |
7997 | ||
c8e759b4 MR |
7998 | 2019-12-22 Maciej W. Rozycki <macro@wdc.com> |
7999 | ||
8000 | * testsuite/libgomp-test-support.exp.in (GCC_UNDER_TEST): New | |
8001 | variable. | |
8002 | ||
b092fb3b TS |
8003 | 2019-12-21 Thomas Schwinge <thomas@codesourcery.com> |
8004 | ||
8005 | * target.c (gomp_map_vars_internal): Restore 'omp declare target | |
8006 | link' handling. | |
8007 | ||
9be3ac5d JB |
8008 | 2019-12-19 Julian Brown <julian@codesourcery.com> |
8009 | ||
8010 | * testsuite/libgomp.oacc-fortran/class-ptr-param.f95: New test. | |
8011 | * testsuite/libgomp.oacc-fortran/classtypes-1.f95: New test. | |
8012 | * testsuite/libgomp.oacc-fortran/classtypes-2.f95: New test. | |
8013 | ||
02817027 JB |
8014 | 2019-12-19 Julian Brown <julian@codesourcery.com> |
8015 | Cesar Philippidis <cesar@codesourcery.com> | |
8016 | ||
8017 | * testsuite/libgomp.oacc-fortran/deep-copy-1.f90: New test. | |
8018 | * testsuite/libgomp.oacc-fortran/deep-copy-2.f90: New test. | |
8019 | * testsuite/libgomp.oacc-fortran/deep-copy-3.f90: New test. | |
8020 | * testsuite/libgomp.oacc-fortran/deep-copy-4.f90: New test. | |
8021 | * testsuite/libgomp.oacc-fortran/deep-copy-5.f90: New test. | |
8022 | * testsuite/libgomp.oacc-fortran/deep-copy-6.f90: New test. | |
8023 | * testsuite/libgomp.oacc-fortran/deep-copy-7.f90: New test. | |
8024 | * testsuite/libgomp.oacc-fortran/deep-copy-8.f90: New test. | |
8025 | * testsuite/libgomp.oacc-fortran/derived-type-1.f90: New test. | |
8026 | * testsuite/libgomp.oacc-fortran/derivedtype-1.f95: New test. | |
8027 | * testsuite/libgomp.oacc-fortran/derivedtype-2.f95: New test. | |
8028 | * testsuite/libgomp.oacc-fortran/multidim-slice.f95: New test. | |
8029 | * testsuite/libgomp.oacc-fortran/update-2.f90: New test. | |
8030 | ||
c2eb021f JB |
8031 | 2019-12-19 Julian Brown <julian@codesourcery.com> |
8032 | ||
8033 | * testsuite/libgomp.oacc-c-c++-common/deep-copy-1.c: New test. | |
8034 | * testsuite/libgomp.oacc-c-c++-common/deep-copy-2.c: New test. | |
8035 | * testsuite/libgomp.oacc-c-c++-common/deep-copy-4.c: New test. | |
8036 | * testsuite/libgomp.oacc-c-c++-common/deep-copy-6.c: New test. | |
8037 | * testsuite/libgomp.oacc-c-c++-common/deep-copy-7.c: New test. | |
8038 | * testsuite/libgomp.oacc-c-c++-common/deep-copy-8.c: New test. | |
8039 | * testsuite/libgomp.oacc-c-c++-common/deep-copy-9.c: New test. | |
8040 | * testsuite/libgomp.oacc-c-c++-common/deep-copy-10.c: New test. | |
8041 | * testsuite/libgomp.oacc-c-c++-common/deep-copy-11.c: New test. | |
8042 | * testsuite/libgomp.oacc-c-c++-common/deep-copy-14.c: New test. | |
8043 | * testsuite/libgomp.oacc-c++/deep-copy-12.C: New test. | |
8044 | * testsuite/libgomp.oacc-c++/deep-copy-13.C: New test. | |
8045 | ||
8e7e71ff JB |
8046 | 2019-12-19 Julian Brown <julian@codesourcery.com> |
8047 | ||
8048 | * libgomp.h (struct target_var_desc): Add do_detach flag. | |
8049 | * oacc-init.c (acc_shutdown_1): Free aux block if present. | |
8050 | * oacc-mem.c (find_group_last): Add SIZES parameter. Support | |
8051 | struct components. Tidy up and add some new checks. | |
8052 | (goacc_enter_data_internal): Update call to find_group_last. | |
8053 | (goacc_exit_data_internal): Support detach operations and | |
8054 | GOMP_MAP_STRUCT. | |
8055 | (GOACC_enter_exit_data): Handle initial GOMP_MAP_STRUCT or | |
8056 | GOMP_MAP_FORCE_PRESENT in finalization detection code. Handle | |
8057 | attach/detach in enter/exit data detection code. | |
8058 | * target.c (gomp_map_vars_existing): Initialise do_detach field of | |
8059 | tgt_var_desc. | |
8060 | (gomp_map_vars_internal): Support attach. | |
8061 | (gomp_unmap_vars_internal): Support detach. | |
8062 | ||
5d5be7bf JB |
8063 | 2019-12-19 Julian Brown <julian@codesourcery.com> |
8064 | Thomas Schwinge <thomas@codesourcery.com> | |
8065 | ||
8066 | * libgomp.h (struct splay_tree_aux): Add attach_count field. | |
8067 | (gomp_attach_pointer, gomp_detach_pointer): Add prototypes. | |
8068 | * libgomp.map (OACC_2.6): New section. Add acc_attach, | |
8069 | acc_attach_async, acc_detach, acc_detach_async, acc_detach_finalize, | |
8070 | acc_detach_finalize_async. | |
8071 | * oacc-mem.c (acc_attach_async, acc_attach, goacc_detach_internal, | |
8072 | acc_detach, acc_detach_async, acc_detach_finalize, | |
8073 | acc_detach_finalize_async): New functions. | |
8074 | * openacc.h (acc_attach, acc_attach_async, acc_detach, | |
8075 | (acc_detach_async, acc_detach_finalize, acc_detach_finalize_async): Add | |
8076 | prototypes. | |
8077 | * target.c (gomp_attach_pointer, gomp_detach_pointer): New functions. | |
8078 | (gomp_remove_var_internal): Free attachment counts if present. | |
8079 | * testsuite/libgomp.oacc-c-c++-common/deep-copy-3.c: New test. | |
8080 | * testsuite/libgomp.oacc-c-c++-common/deep-copy-5.c: New test. | |
8081 | ||
5bcd470b JB |
8082 | 2019-12-19 Julian Brown <julian@codesourcery.com> |
8083 | Cesar Philippidis <cesar@codesourcery.com> | |
8084 | ||
8085 | * libgomp.h (gomp_map_val): Add prototype. | |
8086 | * oacc-parallel.c (GOACC_parallel_keyed): Use gomp_map_val instead of | |
8087 | open-coding device-address calculation. | |
8088 | * target.c (gomp_map_val): Make global. Use OFFSET_POINTER in | |
8089 | non-present case. | |
8090 | ||
378da98f JB |
8091 | 2019-12-19 Julian Brown <julian@codesourcery.com> |
8092 | ||
8093 | * libgomp.h (struct splay_tree_key_s): Substitute dynamic_refcount | |
8094 | field for virtual_refcount. | |
8095 | (enum gomp_map_vars_kind): Add GOMP_MAP_VARS_OPENACC_ENTER_DATA. | |
8096 | (gomp_free_memmap): Remove prototype. | |
8097 | * oacc-init.c (acc_shutdown_1): Iteratively call gomp_remove_var | |
8098 | instead of calling gomp_free_memmap. | |
8099 | * oacc-mem.c (acc_map_data): Use virtual_refcount instead of | |
8100 | dynamic_refcount. | |
8101 | (acc_unmap_data): Open code instead of forcing target_mem_desc's | |
8102 | to_free field to NULL then calling gomp_unmap_vars. Handle | |
8103 | REFCOUNT_INFINITY on target blocks. | |
8104 | (goacc_enter_data): Rename to... | |
8105 | (goacc_enter_datum): ...this. Remove MAPNUM parameter and special | |
8106 | handling for mapping groups. Use virtual_refcount instead of | |
8107 | dynamic_refcount. Use GOMP_MAP_VARS_OPENACC_ENTER_DATA for | |
8108 | map_map_vars_async call. Re-do lookup for target pointer return value. | |
8109 | (acc_create, acc_create_async, acc_copyin, acc_copyin_async): Call | |
8110 | renamed goacc_enter_datum function. | |
8111 | (goacc_exit_data): Rename to... | |
8112 | (goacc_exit_datum): ...this. Update for virtual_refcount semantics. | |
8113 | (acc_delete, acc_delete_async, acc_delete_finalize, | |
8114 | acc_delete_finalize_async, acc_copyout, acc_copyout_async, | |
8115 | acc_copyout_finalize, acc_copyout_finalize_async): Call renamed | |
8116 | goacc_exit_datum function. | |
8117 | (gomp_acc_remove_pointer, find_pointer): Remove functions. | |
8118 | (find_group_last, goacc_enter_data_internal, goacc_exit_data_internal): | |
8119 | New functions. | |
8120 | (GOACC_enter_exit_data): Use goacc_enter_data_internal and | |
8121 | goacc_exit_data_internal helper functions. | |
8122 | * target.c (gomp_map_vars_internal): Handle | |
8123 | GOMP_MAP_VARS_OPENACC_ENTER_DATA. Update for virtual_refcount | |
8124 | semantics. | |
8125 | (gomp_unmap_vars_internal): Update for virtual_refcount semantics. | |
8126 | (gomp_load_image_to_device, omp_target_associate_ptr): Zero-initialise | |
8127 | virtual_refcount field instead of dynamic_refcount. | |
8128 | (gomp_free_memmap): Remove function. | |
8129 | * testsuite/libgomp.oacc-c-c++-common/unmap-infinity-1.c: New test. | |
8130 | * testsuite/libgomp.c-c++-common/unmap-infinity-2.c: New test. | |
8131 | * testsuite/libgomp.oacc-c-c++-common/pr92843-1.c: Add XFAIL. | |
8132 | ||
2a656a93 JB |
8133 | 2019-12-19 Julian Brown <julian@codesourcery.com> |
8134 | Thomas Schwinge <thomas@codesourcery.com> | |
8135 | ||
8136 | * libgomp.h (struct splay_tree_aux): New. | |
8137 | (struct splay_tree_key_s): Replace link_key field with aux pointer. | |
8138 | * target.c (gomp_map_vars_internal): Adjust for link_key being moved | |
8139 | to aux struct. | |
8140 | (gomp_remove_var_internal): Free aux block if present. | |
8141 | (gomp_load_image_to_device): Zero-initialise aux field instead of | |
8142 | link_key field. | |
8143 | (omp_target_associate_pointer): Zero-initialise aux field. | |
8144 | ||
601399c0 JJ |
8145 | 2019-12-18 Jakub Jelinek <jakub@redhat.com> |
8146 | ||
8147 | PR middle-end/86416 | |
8148 | * testsuite/libgomp.c/pr86416-1.c (main): Use L suffixes rather than | |
8149 | q or none. | |
8150 | * testsuite/libgomp.c/pr86416-2.c (main): Use Q suffixes rather than | |
8151 | L or none. | |
8152 | ||
a6163563 JB |
8153 | 2019-12-19 Julian Brown <julian@codesourcery.com> |
8154 | Maciej W. Rozycki <macro@codesourcery.com> | |
8155 | Tobias Burnus <tobias@codesourcery.com> | |
8156 | Thomas Schwinge <thomas@codesourcery.com> | |
8157 | ||
8158 | * target.c (gomp_map_vars_async): Support GOMP_MAP_NO_ALLOC. | |
8159 | * testsuite/libgomp.oacc-c-c++-common/no_create-1.c: New test. | |
8160 | * testsuite/libgomp.oacc-c-c++-common/no_create-2.c: New test. | |
8161 | * testsuite/libgomp.oacc-c-c++-common/no_create-3.c: New test. | |
8162 | * testsuite/libgomp.oacc-c-c++-common/no_create-4.c: New test. | |
8163 | * testsuite/libgomp.oacc-c-c++-common/no_create-5.c: New test. | |
8164 | * testsuite/libgomp.oacc-fortran/no_create-1.f90: New test. | |
8165 | * testsuite/libgomp.oacc-fortran/no_create-2.f90: New test. | |
8166 | * testsuite/libgomp.oacc-fortran/no_create-3.F90: New test. | |
8167 | ||
6278b549 TS |
8168 | 2019-12-18 Thomas Schwinge <thomas@codesourcery.com> |
8169 | ||
77ce5555 TS |
8170 | * oacc-mem.c (goacc_enter_data): Refactor, so that it can be |
8171 | called... | |
8172 | (goacc_insert_pointer): ... from here, "present" case. | |
8173 | (goacc_insert_pointer): Inline function into... | |
8174 | (GOACC_enter_exit_data): ... here, and simplify. | |
8175 | ||
9444a299 TS |
8176 | * oacc-mem.c (goacc_enter_data): Refactor, so that it can be |
8177 | called... | |
8178 | (goacc_insert_pointer): ... from here, "not present" case. | |
8179 | ||
5031b619 TS |
8180 | * oacc-mem.c (goacc_remove_pointer): Refactor interface. Adjust |
8181 | all users. | |
8182 | ||
1a79b578 TS |
8183 | * oacc-mem.c (GOACC_enter_exit_data): Refactor code to call |
8184 | 'goacc_enter_data', 'goacc_exit_data'. | |
8185 | ||
34cfe31e TS |
8186 | * oacc-mem.c (delete_copyout): Refactor into... |
8187 | (goacc_exit_data): ... this. Adjust all users. | |
8188 | ||
aaf0e9d7 TS |
8189 | * oacc-mem.c (present_create_copy): Refactor into... |
8190 | (goacc_enter_data): ... this. Adjust all users. | |
8191 | ||
83d1d065 TS |
8192 | * target.c (gomp_unmap_vars_internal): Add a safeguard to |
8193 | 'gomp_remove_var'. | |
8194 | ||
cc3f11f5 TS |
8195 | * target.c (gomp_to_device_kind_p): Handle 'GOMP_MAP_FORCE_FROM' |
8196 | like 'GOMP_MAP_FROM'. | |
8197 | ||
ddb25eb9 TS |
8198 | PR libgomp/92726 |
8199 | PR libgomp/92970 | |
8200 | PR libgomp/92984 | |
8201 | * oacc-mem.c (delete_copyout): No-op behavior if 'lookup_host' | |
8202 | fails. | |
8203 | (GOACC_enter_exit_data): Simplify accordingly. | |
8204 | * testsuite/libgomp.oacc-c-c++-common/pr92970-1.c: New file, | |
8205 | subsuming... | |
8206 | * testsuite/libgomp.oacc-c-c++-common/lib-17.c: ... this file... | |
8207 | * testsuite/libgomp.oacc-c-c++-common/lib-18.c: ..., and this | |
8208 | file. | |
8209 | * testsuite/libgomp.oacc-c-c++-common/pr92984-1.c: New file, | |
8210 | subsuming... | |
8211 | * testsuite/libgomp.oacc-c-c++-common/lib-21.c: ... this file... | |
8212 | * testsuite/libgomp.oacc-c-c++-common/lib-29.c: ..., and this | |
8213 | file. | |
8214 | * testsuite/libgomp.oacc-c-c++-common/pr92726-1.c: New file, | |
8215 | subsuming... | |
8216 | * testsuite/libgomp.oacc-c-c++-common/lib-28.c: ... this file. | |
8217 | ||
32128577 TS |
8218 | * oacc-mem.c (GOACC_enter_exit_data): Simplify 'exit data' |
8219 | 'finalize' handling. | |
8220 | ||
ba40277f TS |
8221 | PR libgomp/92848 |
8222 | * oacc-mem.c (acc_map_data, present_create_copy) | |
8223 | (goacc_insert_pointer): Use 'GOMP_MAP_VARS_ENTER_DATA'. | |
8224 | (acc_unmap_data, delete_copyout, goacc_remove_pointer): Adjust. | |
8225 | * testsuite/libgomp.oacc-c-c++-common/lib-50.c: Remove. | |
8226 | * testsuite/libgomp.oacc-c-c++-common/pr92848-1-d-a.c: New file | |
8227 | * testsuite/libgomp.oacc-c-c++-common/pr92848-1-d-p.c: Likewise. | |
8228 | * testsuite/libgomp.oacc-c-c++-common/pr92848-1-r-a.c: Likewise. | |
8229 | * testsuite/libgomp.oacc-c-c++-common/pr92848-1-r-p.c: Likewise. | |
8230 | * testsuite/libgomp.oacc-c-c++-common/subset-subarray-mappings-1-r-p.c: | |
8231 | Remove "XFAIL"s. | |
8232 | ||
6278b549 TS |
8233 | * target.c (gomp_unmap_tgt): Make it 'static'. |
8234 | * libgomp.h (gomp_unmap_tgt): Remove. | |
8235 | ||
c80c9e26 TB |
8236 | 2019-12-18 Tobias Burnus <tobias@codesourcery.com> |
8237 | ||
8238 | PR middle-end/86416 | |
8239 | * testsuite/libgomp.c/pr86416-1.c: New. | |
8240 | * testsuite/libgomp.c/pr86416-2.c: New. | |
8241 | ||
0b8499a4 TB |
8242 | 2019-12-17 Tobias Burnus <tobias@codesourcery.com> |
8243 | ||
8244 | * config/accel/openacc.f90 (module openacc_kinds): Use 'PUBLIC' to mark | |
8245 | all symbols as public except for the 'use …, only' imported symbol, | |
8246 | which is private. | |
8247 | (module openacc): Default to 'PRIVATE' to exclude openacc_internal; mark | |
8248 | all symbols from module openacc_kinds as PUBLIC | |
8249 | * openacc.f90: Add comment with crossref to that file and openmp_lib.h; | |
8250 | fix comment typo. | |
8251 | * openacc_lib.h (acc_device_gcn): Add this PARAMETER. | |
8252 | ||
1cbd94e8 JB |
8253 | 2019-12-13 Julian Brown <julian@codesourcery.com> |
8254 | ||
8255 | PR libgomp/92881 | |
8256 | ||
8257 | * libgomp.h (gomp_remove_var_async): Add prototype. | |
8258 | * oacc-mem.c (delete_copyout): Call gomp_remove_var_async instead of | |
8259 | gomp_remove_var. | |
8260 | * target.c (gomp_unref_tgt): Change return type to bool, indicating | |
8261 | whether target_mem_desc was unmapped. | |
8262 | (gomp_unref_tgt_void): New. | |
8263 | (gomp_remove_var): Reimplement in terms of... | |
8264 | (gomp_remove_var_internal): ...this new helper function. | |
8265 | (gomp_remove_var_async): New, implemented using above helper function. | |
8266 | (gomp_unmap_vars_internal): Use gomp_unref_tgt_void instead of | |
8267 | gomp_unref_tgt. | |
8268 | ||
26b74ed0 AS |
8269 | 2019-12-13 Andrew Stubbs <ams@codesourcery.com> |
8270 | ||
8271 | * testsuite/libgomp.oacc-c-c++-common/acc_prof-init-1.c: Handle gcn. | |
8272 | * testsuite/libgomp.oacc-c-c++-common/acc_prof-kernels-1.c: Likewise. | |
8273 | * testsuite/libgomp.oacc-c-c++-common/acc_prof-parallel-1.c: Likewise. | |
8274 | * testsuite/libgomp.oacc-c-c++-common/asyncwait-nop-1.c: Likewise. | |
8275 | * testsuite/libgomp.oacc-c-c++-common/function-not-offloaded.c: | |
8276 | Likewise. | |
8277 | * testsuite/libgomp.oacc-c-c++-common/async_queue-1.c: Disable on GCN. | |
8278 | * testsuite/libgomp.oacc-c-c++-common/tile-1.c: Likewise. | |
8279 | ||
7858bb96 TB |
8280 | 2019-12-13 Tobias Burnus <tobias@codesourcery.com> |
8281 | ||
8282 | * openacc.f90 (module openacc_kinds): Use 'PUBLIC' to mark all symbols | |
8283 | as public except for the 'use …, only' imported symbol, which is | |
8284 | private. | |
8285 | (module openacc): Default to 'PRIVATE' to exclude openacc_internal; mark | |
8286 | all symbols from module openacc_kinds as PUBLIC; add missing PUBLIC | |
8287 | attributes for acc_copyout_finalize and acc_delete_finalize. | |
8288 | ||
f8ac7d8f JJ |
8289 | 2019-12-11 Jakub Jelinek <jakub@redhat.com> |
8290 | ||
8291 | PR fortran/92899 | |
8292 | * testsuite/libgomp.fortran/atomic1.f90: New test. | |
8293 | ||
3d1b5e71 TS |
8294 | 2019-12-11 Thomas Schwinge <thomas@codesourcery.com> |
8295 | ||
d6e8c01c TS |
8296 | PR libgomp/92843 |
8297 | * oacc-mem.c (present_create_copy, delete_copyout): Fix dynamic | |
8298 | reference counting for structured 'REFCOUNT_INFINITY'. Add some | |
8299 | assertions. | |
8300 | (goacc_insert_pointer, goacc_remove_pointer): Adjust accordingly. | |
8301 | * testsuite/libgomp.oacc-c-c++-common/pr92843-1.c: New file. | |
8302 | * testsuite/libgomp.oacc-c-c++-common/clauses-1.c: Fix OpenACC. | |
8303 | * testsuite/libgomp.oacc-c-c++-common/lib-82.c: Likewise. | |
8304 | * testsuite/libgomp.oacc-c-c++-common/nested-1.c: Likewise. | |
8305 | ||
57963e39 TS |
8306 | * oacc-parallel.c (find_pointer, GOACC_enter_exit_data): Move... |
8307 | * oacc-mem.c: ... here. | |
8308 | (gomp_acc_insert_pointer, gomp_acc_remove_pointer): Rename to | |
8309 | 'goacc_insert_pointer', 'goacc_remove_pointer', and make 'static'. | |
8310 | * libgomp.h (gomp_acc_insert_pointer, gomp_acc_remove_pointer): | |
8311 | Remove. | |
8312 | * libgomp_g.h: Update. | |
8313 | ||
c5578b56 TS |
8314 | * oacc-parallel.c (GOACC_wait, goacc_wait): Move... |
8315 | * oacc-async.c: ... here. | |
8316 | * oacc-int.h (goacc_wait): Declare. | |
8317 | * libgomp_g.h: Update | |
8318 | ||
3d1b5e71 TS |
8319 | PR libgomp/92854 |
8320 | * testsuite/libgomp.oacc-c-c++-common/acc_map_data-device_already-1.c: | |
8321 | New file. | |
8322 | * testsuite/libgomp.oacc-c-c++-common/acc_map_data-device_already-2.c: | |
8323 | Likewise. | |
8324 | * testsuite/libgomp.oacc-c-c++-common/acc_map_data-device_already-3.c: | |
8325 | Likewise. | |
8326 | * testsuite/libgomp.oacc-c-c++-common/acc_map_data-host_already-1.c: | |
8327 | Likewise. | |
8328 | * testsuite/libgomp.oacc-c-c++-common/acc_map_data-host_already-2.c: | |
8329 | Likewise. | |
8330 | * testsuite/libgomp.oacc-c-c++-common/acc_map_data-host_already-3.c: | |
8331 | Likewise. | |
8332 | ||
5e939438 TS |
8333 | 2019-12-11 Thomas Schwinge <thomas@codesourcery.com> |
8334 | Julian Brown <julian@codesourcery.com> | |
8335 | ||
8336 | * target.c (gomp_load_image_to_device, omp_target_associate_ptr): | |
8337 | Initialize 'dynamic_refcount' whenever we initialize 'refcount'. | |
8338 | ||
93d90219 TB |
8339 | 2019-12-11 Tobias Burnus <tobias@codesourcery.com> |
8340 | ||
8341 | * omp_lib.h.in: Fix spelling of function declaration | |
8342 | omp_get_cancell(l)ation. | |
8343 | * libgomp.texi (acc_is_present, acc_async_test, acc_async_test_all): | |
8344 | Fix typos. | |
8345 | * env.c: Fix comment typos. | |
8346 | * oacc-host.c: Likewise. | |
8347 | * ordered.c: Likewise. | |
8348 | * task.c: Likewise. | |
8349 | * team.c: Likewise. | |
8350 | * config/gcn/task.c: Likewise. | |
8351 | * config/gcn/team.c: Likewise. | |
8352 | * config/nvptx/task.c: Likewise. | |
8353 | * config/nvptx/team.c: Likewise. | |
8354 | * plugin/plugin-gcn.c: Likewise. | |
8355 | * testsuite/libgomp.fortran/jacobi.f: Likewise. | |
8356 | * testsuite/libgomp.hsa.c/tiling-2.c: Likewise. | |
8357 | * testsuite/libgomp.oacc-c-c++-common/enter_exit-lib.c: Likewise. | |
8358 | ||
a0221aee TB |
8359 | 2019-12-11 Tobias Burnus <tobias@codesourcery.com> |
8360 | ||
8361 | * testsuite/libgomp.oacc-fortran/optional-cache.f95: Add 'dg-do run'. | |
8362 | * testsuite/libgomp.oacc-fortran/optional-reduction.f90: Remove | |
8363 | unnecessary 'dg-additional-options "-w"'. | |
8364 | ||
47afc7b4 TS |
8365 | 2019-12-09 Thomas Schwinge <thomas@codesourcery.com> |
8366 | Julian Brown <julian@codesourcery.com> | |
8367 | ||
8368 | PR libgomp/92116 | |
8369 | PR libgomp/92877 | |
8370 | ||
8371 | * oacc-mem.c (lookup_dev): Reimplement. Adjust all users. | |
8372 | * libgomp.h (struct acc_dispatch_t): Remove 'data_environ' member. | |
8373 | Adjust all users. | |
8374 | * testsuite/libgomp.oacc-c-c++-common/acc_free-pr92503-4-2.c: | |
8375 | Remove XFAIL. | |
8376 | * testsuite/libgomp.oacc-c-c++-common/acc_free-pr92503-4.c: | |
8377 | Likewise. | |
8378 | * testsuite/libgomp.oacc-c-c++-common/pr92877-1.c: New file. | |
8379 | ||
b5859e40 TS |
8380 | 2019-12-09 Thomas Schwinge <thomas@codesourcery.com> |
8381 | ||
cec41816 TS |
8382 | PR libgomp/92503 |
8383 | * oacc-mem.c (acc_free): Error out instead of 'acc_unmap_data'. | |
8384 | * testsuite/libgomp.oacc-c-c++-common/acc_free-pr92503-1.c: New | |
8385 | file. | |
8386 | * testsuite/libgomp.oacc-c-c++-common/acc_free-pr92503-2.c: | |
8387 | Likewise. | |
8388 | * testsuite/libgomp.oacc-c-c++-common/acc_free-pr92503-3-2.c: | |
8389 | Likewise. | |
8390 | * testsuite/libgomp.oacc-c-c++-common/acc_free-pr92503-3.c: | |
8391 | Likewise. | |
8392 | * testsuite/libgomp.oacc-c-c++-common/acc_free-pr92503-4-2.c: | |
8393 | Likewise. | |
8394 | * testsuite/libgomp.oacc-c-c++-common/acc_free-pr92503-4.c: | |
8395 | Likewise. | |
8396 | * testsuite/libgomp.oacc-c-c++-common/clauses-1.c: Adjust. | |
8397 | * testsuite/libgomp.oacc-c-c++-common/context-1.c: Likewise. | |
8398 | * testsuite/libgomp.oacc-c-c++-common/context-2.c: Likewise. | |
8399 | * testsuite/libgomp.oacc-c-c++-common/context-3.c: Likewise. | |
8400 | * testsuite/libgomp.oacc-c-c++-common/context-4.c: Likewise. | |
8401 | * testsuite/libgomp.oacc-c-c++-common/lib-13.c: Likewise. | |
8402 | * testsuite/libgomp.oacc-c-c++-common/lib-14.c: Likewise. | |
8403 | * testsuite/libgomp.oacc-c-c++-common/lib-18.c: Likewise. | |
8404 | * testsuite/libgomp.oacc-c-c++-common/lib-91.c: Likewise. | |
8405 | * testsuite/libgomp.oacc-c-c++-common/nested-1.c: Likewise. | |
8406 | ||
e103542b TS |
8407 | PR libgomp/92840 |
8408 | * oacc-mem.c (acc_map_data): Clarify reference counting behavior. | |
8409 | (acc_unmap_data): Add error case for 'REFCOUNT_INFINITY'. | |
8410 | * testsuite/libgomp.oacc-c-c++-common/acc_unmap_data-pr92840-1.c: | |
8411 | New file. | |
8412 | * testsuite/libgomp.oacc-c-c++-common/acc_unmap_data-pr92840-2.c: | |
8413 | Likewise. | |
8414 | * testsuite/libgomp.oacc-c-c++-common/acc_unmap_data-pr92840-3.c: | |
8415 | Likewise. | |
8416 | * testsuite/libgomp.oacc-c-c++-common/clauses-1.c: Adjust. | |
8417 | * testsuite/libgomp.oacc-c-c++-common/nested-1.c: Adjust. | |
8418 | ||
41f36f22 TS |
8419 | PR libgomp/92511 |
8420 | * testsuite/libgomp.oacc-c-c++-common/copyin-devptr-1.c: Remove | |
8421 | this file... | |
8422 | * testsuite/libgomp.oacc-c-c++-common/copyin-devptr-2.c: ..., and | |
8423 | this file... | |
8424 | * testsuite/libgomp.oacc-c-c++-common/lib-22.c: ..., and this | |
8425 | file... | |
8426 | * testsuite/libgomp.oacc-c-c++-common/lib-30.c: ..., and this | |
8427 | file... | |
8428 | * testsuite/libgomp.oacc-c-c++-common/subset-subarray-mappings-1-r-p.c: | |
8429 | ... with their content moved into, and extended in this new file. | |
8430 | * testsuite/libgomp.oacc-c-c++-common/subset-subarray-mappings-1-d-a.c: | |
8431 | New file. | |
8432 | * testsuite/libgomp.oacc-c-c++-common/subset-subarray-mappings-1-d-p.c: | |
8433 | Likewise. | |
8434 | * testsuite/libgomp.oacc-c-c++-common/subset-subarray-mappings-1-r-a.c: | |
8435 | Likewise. | |
8436 | * testsuite/libgomp.oacc-c-c++-common/subset-subarray-mappings-2.c: | |
8437 | Likewise. | |
8438 | ||
6effebe1 TS |
8439 | * testsuite/libgomp.oacc-c-c++-common/map-data-1.c: New file. |
8440 | ||
7d020473 TS |
8441 | PR libgomp/92854 |
8442 | * testsuite/libgomp.oacc-c-c++-common/pr92854-1.c: New file. | |
8443 | ||
1e1fb715 TS |
8444 | * testsuite/libgomp.oacc-c-c++-common/host_data-6.c: New file. |
8445 | ||
b5859e40 TS |
8446 | * target.c (gomp_exit_data): Use 'gomp_remove_var'. |
8447 | ||
11586ed9 TB |
8448 | 2019-12-09 Tobias Burnus <tobias@codesourcery.com> |
8449 | ||
8450 | * testsuite/libgomp.fortran/use_device_addr-3.f90: Make 'stop' codes | |
8451 | unique. | |
8452 | * testsuite/libgomp.fortran/use_device_addr-4.f90: Ditto. | |
8453 | * testsuite/libgomp.fortran/use_device_ptr-optional-2.f90: Ditto. | |
8454 | * testsuite/libgomp.oacc-fortran/declare-5.f90: Ditto. | |
8455 | * testsuite/libgomp.oacc-fortran/optional-data-copyin-by-value.f90: | |
8456 | Ditto. | |
8457 | * testsuite/libgomp.oacc-fortran/optional-firstprivate.f90: Ditto. | |
8458 | * testsuite/libgomp.oacc-fortran/optional-update-host.f90: Ditto. | |
8459 | ||
3ad4a03a KCY |
8460 | 2019-12-06 Kwok Cheung Yeung <kcy@codesourcery.com> |
8461 | ||
8462 | * config/accel/proc.c (omp_get_num_procs): Apply ialias macro. | |
8463 | ||
6e4d01d6 TB |
8464 | 2019-12-06 Tobias Burnus <tobias@codesourcery.com> |
8465 | Kwok Cheung Yeung <kcy@codesourcery.com> | |
8466 | ||
8467 | * oacc-mem.c (update_dev_host, gomp_acc_insert_pointer): Just return | |
8468 | if input it a NULL pointer. | |
8469 | * testsuite/libgomp.oacc-c-c++-common/lib-43.c: Remove; dependent on | |
8470 | diagnostic of NULL pointer. | |
8471 | * testsuite/libgomp.oacc-c-c++-common/lib-47.c: Ditto. | |
8472 | * testsuite/libgomp.fortran/optional-map.f90: New. | |
8473 | * testsuite/libgomp.fortran/use_device_addr-1.f90 | |
8474 | (test_dummy_opt_callee_1_absent): New. | |
8475 | (test_dummy_opt_call_1): Call it. | |
8476 | * testsuite/libgomp.fortran/use_device_addr-2.f90: Likewise. | |
8477 | * testsuite/libgomp.fortran/use_device_addr-3.f90: Likewise. | |
8478 | * testsuite/libgomp.fortran/use_device_addr-4.f90: Likewise. | |
8479 | * testsuite/libgomp.oacc-fortran/optional-cache.f95: New. | |
8480 | * testsuite/libgomp.oacc-fortran/optional-data-copyin-by-value.f90: New. | |
8481 | * testsuite/libgomp.oacc-fortran/optional-data-copyin.f90: New. | |
8482 | * testsuite/libgomp.oacc-fortran/optional-data-copyout.f90: New. | |
8483 | * testsuite/libgomp.oacc-fortran/optional-data-enter-exit.f90: New. | |
8484 | * testsuite/libgomp.oacc-fortran/optional-declare.f90: New. | |
8485 | * testsuite/libgomp.oacc-fortran/optional-firstprivate.f90: New. | |
8486 | * testsuite/libgomp.oacc-fortran/optional-host_data.f90: New. | |
8487 | * testsuite/libgomp.oacc-fortran/optional-nested-calls.f90: New. | |
8488 | * testsuite/libgomp.oacc-fortran/optional-private.f90: New. | |
8489 | * testsuite/libgomp.oacc-fortran/optional-reduction.f90: New. | |
8490 | * testsuite/libgomp.oacc-fortran/optional-update-device.f90: New. | |
8491 | * testsuite/libgomp.oacc-fortran/optional-update-host.f90: New. | |
8492 | ||
ad80ec46 TB |
8493 | 2019-12-05 Tobias Burnus <tobias@codesourcery.com> |
8494 | ||
8495 | * testsuite/libgomp.oacc-fortran/error_stop-1.f: Also don't | |
8496 | expect dg-output of 'Error termination.' for GCN. | |
8497 | * testsuite/libgomp.oacc-fortran/error_stop-2.f: Likewise. | |
8498 | * testsuite/libgomp.oacc-fortran/error_stop-3.f: Likewise. | |
8499 | ||
a8a5f4cc JJ |
8500 | 2019-12-04 Jakub Jelinek <jakub@redhat.com> |
8501 | ||
8502 | PR fortran/92756 | |
8503 | * testsuite/libgomp.fortran/teams1.f90: New test. | |
8504 | * testsuite/libgomp.fortran/teams2.f90: New test. | |
8505 | ||
d8f0024b FH |
8506 | 2019-12-03 Frederik Harwath <frederik@codesourcery.com> |
8507 | ||
8508 | * oacc-init.c (acc_known_device_type): Add function. | |
8509 | (unknown_device_type_error): Add function. | |
8510 | (name_of_acc_device_t): Change to call unknown_device_type_error | |
8511 | on unknown type. | |
8512 | (resolve_device): Use acc_known_device_type. | |
8513 | (acc_init): Fail if acc_device_t argument is not valid. | |
8514 | (acc_shutdown): Likewise. | |
8515 | (acc_get_num_devices): Likewise. | |
8516 | (acc_set_device_type): Likewise. | |
8517 | (acc_get_device_num): Likewise. | |
8518 | (acc_set_device_num): Likewise. | |
8519 | (acc_on_device): Add comment that argument validity is not checked. | |
8520 | ||
83caa34e AS |
8521 | 2019-12-03 Andrew Stubbs <ams@codesourcery.com> |
8522 | ||
8523 | * testsuite/lib/libgomp.exp (offload_target_to_openacc_device_type): | |
8524 | Recognize amdgcn. | |
8525 | (check_effective_target_openacc_amdgcn_accel_present): New proc. | |
8526 | (check_effective_target_openacc_amdgcn_accel_selected): New proc. | |
8527 | * testsuite/libgomp.oacc-c++/c++.exp: Add support for amdgcn. | |
8528 | * testsuite/libgomp.oacc-c/c.exp: Likewise. | |
8529 | * testsuite/libgomp.oacc-fortran/fortran.exp: Likewise. | |
8530 | ||
00484365 SN |
8531 | 2019-12-03 Szabolcs Nagy <szabolcs.nagy@arm.com> |
8532 | ||
8533 | PR libgomp/91938 | |
8534 | * configure.tgt: Avoid IE tls on *-*-musl*. | |
8535 | ||
9909a059 TB |
8536 | 2019-11-29 Tobias Burnus <tobias@codesourcery.com> |
8537 | ||
8538 | * testsuite/libgomp.oacc-fortran/declare-5.f90: Extend by | |
8539 | adding a common-block test case. | |
8540 | ||
b3f44388 JJ |
8541 | 2019-11-29 Jakub Jelinek <jakub@redhat.com> |
8542 | ||
8543 | PR c++/60228 | |
8544 | * testsuite/libgomp.c++/udr-20.C: New test. | |
8545 | * testsuite/libgomp.c++/udr-21.C: New test. | |
8546 | ||
b1a73b48 TS |
8547 | 2019-11-27 Thomas Schwinge <thomas@codesourcery.com> |
8548 | ||
8549 | * testsuite/lib/libgomp.exp | |
8550 | (check_effective_target_offload_target_nvptx): New proc. | |
8551 | * testsuite/libgomp.fortran/target-print-1.f90: Use it with | |
8552 | 'dg-skip-if'. | |
8553 | * testsuite/libgomp.oacc-fortran/print-1.f90: Likewise. | |
8554 | * testsuite/libgomp.fortran/target-print-1-nvptx.f90: New file. | |
8555 | * testsuite/libgomp.oacc-fortran/print-1-nvptx.f90: Likewise. | |
8556 | ||
b8e72446 RO |
8557 | 2019-11-21 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
8558 | ||
8559 | * testsuite/libgomp.c/pr39591-1.c: Rename err to e. | |
8560 | * testsuite/libgomp.c/pr39591-2.c: Likewise. | |
8561 | * testsuite/libgomp.c/pr39591-3.c: Likewise. | |
8562 | * testsuite/libgomp.c/private-1.c: Likewise. | |
8563 | * testsuite/libgomp.c/task-1.c: Likewise. | |
8564 | * testsuite/libgomp.c/task-5.c: Renamed err to serr. | |
8565 | ||
d88b27da JB |
8566 | 2019-11-20 Julian Brown <julian@codesourcery.com> |
8567 | ||
8568 | * plugin/plugin-gcn.c (wait_for_queue_nonfull): Don't lock/unlock | |
8569 | aq->mutex here. | |
8570 | (queue_push_launch): Lock aq->mutex before calling | |
8571 | wait_for_queue_nonfull. | |
8572 | (queue_push_callback): Likewise. | |
8573 | (queue_push_asyncwait): Likewise. | |
8574 | (queue_push_placeholder): Likewise. | |
8575 | ||
8d2f4ddf JB |
8576 | 2019-11-20 Julian Brown <julian@codesourcery.com> |
8577 | ||
8578 | * plugin/plugin-gcn.c (hsa_memory_copy_wrapper): New. | |
8579 | (copy_data, GOMP_OFFLOAD_host2dev): Use above function. | |
8580 | (GOMP_OFFLOAD_dev2host, GOMP_OFFLOAD_dev2dev): Check hsa_memory_copy | |
8581 | return code. | |
8582 | ||
e307b05f JB |
8583 | 2019-11-20 Julian Brown <julian@codesourcery.com> |
8584 | ||
8585 | PR libgomp/92511 | |
8586 | ||
8587 | * oacc-mem.c (present_create_copy): Fix device pointer return value in | |
8588 | case of "present" subarray. Use tgt->tgt_start instead of tgt->to_free | |
8589 | in non-present/create case. | |
8590 | (delete_copyout): Change error condition to fail only on copies outside | |
8591 | of mapped block. Adjust error message accordingly. | |
8592 | * testsuite/libgomp.oacc-c-c++-common/copyin-devptr-1.c: New test. | |
8593 | * testsuite/libgomp.oacc-c-c++-common/copyin-devptr-2.c: New test. | |
8594 | * testsuite/libgomp.oacc-c-c++-common/lib-20.c: Adjust expected error | |
8595 | message. | |
8596 | * testsuite/libgomp.oacc-c-c++-common/lib-23.c: Likewise. | |
8597 | * testsuite/libgomp.oacc-c-c++-common/lib-22.c: Allow test to pass now. | |
8598 | * testsuite/libgomp.oacc-c-c++-common/lib-30.c: Likewise. | |
8599 | ||
83115e9e MR |
8600 | 2019-11-20 Maciej W. Rozycki <macro@wdc.com> |
8601 | ||
8602 | * testsuite/lib/libgomp.exp (libgomp_init): Add flags to find | |
8603 | libatomic in build-tree testing. | |
8604 | ||
a1289887 MR |
8605 | 2019-11-18 Maciej W. Rozycki <macro@wdc.com> |
8606 | ||
8607 | * testsuite/Makefile.in: Regenerate. | |
8608 | ||
8916ba87 AS |
8609 | 2019-11-15 Andrew Stubbs <ams@codesourcery.com> |
8610 | ||
8611 | * testsuite/libgomp.c/target-print-1.c: New file. | |
8612 | * testsuite/libgomp.fortran/target-print-1.f90: New file. | |
8613 | * testsuite/libgomp.oacc-c/print-1.c: New file. | |
8614 | * testsuite/libgomp.oacc-fortran/print-1.f90: New file. | |
8615 | ||
237957cc AS |
8616 | 2019-11-13 Andrew Stubbs <ams@codesourcery.com> |
8617 | Kwok Cheung Yeung <kcy@codesourcery.com> | |
8618 | Julian Brown <julian@codesourcery.com> | |
8619 | Tom de Vries <tom@codesourcery.com> | |
8620 | ||
8621 | * plugin/Makefrag.am: Add amdgcn plugin support. | |
8622 | * plugin/configfrag.ac: Likewise. | |
8623 | * plugin/plugin-gcn.c: New file. | |
8624 | * configure: Regenerate. | |
8625 | * Makefile.in: Regenerate. | |
8626 | * testsuite/Makefile.in: Regenerate. | |
8627 | ||
cee16451 AS |
8628 | 2019-11-13 Andrew Stubbs <ams@codesourcery.com> |
8629 | ||
8630 | * config/gcn/team.c (gomp_gcn_enter_kernel): Set up the team arena | |
8631 | and use team_malloc variants. | |
8632 | (gomp_gcn_exit_kernel): Use team_free. | |
8633 | * libgomp.h (TEAM_ARENA_SIZE): Define. | |
8634 | (TEAM_ARENA_START): Define. | |
8635 | (TEAM_ARENA_FREE): Define. | |
8636 | (TEAM_ARENA_END): Define. | |
8637 | (team_malloc): New function. | |
8638 | (team_malloc_cleared): New function. | |
8639 | (team_free): New function. | |
8640 | * team.c (gomp_new_team): Initialize and use team_malloc. | |
8641 | (free_team): Use team_free. | |
8642 | (gomp_free_thread): Use team_free. | |
8643 | (gomp_pause_host): Use team_free. | |
8644 | * work.c (gomp_init_work_share): Use team_malloc. | |
8645 | (gomp_fini_work_share): Use team_free. | |
8646 | ||
fa499995 AS |
8647 | 2019-11-13 Andrew Stubbs <ams@codesourcery.com> |
8648 | Kwok Cheung Yeung <kcy@codesourcery.com> | |
8649 | Julian Brown <julian@codesourcery.com> | |
8650 | Tom de Vries <tom@codesourcery.com> | |
8651 | ||
8652 | * Makefile.am (libgomp_la_SOURCES): Add oacc-target.c. | |
8653 | * Makefile.in: Regenerate. | |
8654 | * config.h.in (PLUGIN_GCN): Add new undef. | |
8655 | * config/accel/openacc.f90 (acc_device_gcn): New parameter. | |
8656 | * config/gcn/affinity-fmt.c: New file. | |
8657 | * config/gcn/bar.c: New file. | |
8658 | * config/gcn/bar.h: New file. | |
8659 | * config/gcn/doacross.h: New file. | |
8660 | * config/gcn/icv-device.c: New file. | |
8661 | * config/gcn/oacc-target.c: New file. | |
8662 | * config/gcn/simple-bar.h: New file. | |
8663 | * config/gcn/target.c: New file. | |
8664 | * config/gcn/task.c: New file. | |
8665 | * config/gcn/team.c: New file. | |
8666 | * config/gcn/time.c: New file. | |
8667 | * configure.ac: Add amdgcn*-*-*. | |
8668 | * configure: Regenerate. | |
8669 | * configure.tgt: Add amdgcn*-*-*. | |
8670 | * libgomp-plugin.h (offload_target_type): Add OFFLOAD_TARGET_TYPE_GCN. | |
8671 | * libgomp.h (gcn_thrs): Add amdgcn variant. | |
8672 | (set_gcn_thrs): Likewise. | |
8673 | (gomp_thread): Likewise. | |
8674 | * oacc-int.h (goacc_thread): Likewise. | |
8675 | * oacc-target.c: New file. | |
8676 | * openacc.f90 (acc_device_gcn): New parameter. | |
8677 | * openacc.h (acc_device_t): Add acc_device_gcn. | |
8678 | * team.c (gomp_free_pool_helper): Add amdgcn support. | |
8679 | ||
d2903ce0 AS |
8680 | 2019-11-13 Andrew Stubbs <ams@codesourcery.com> |
8681 | Julian Brown <julian@codesourcery.com> | |
8682 | ||
8683 | * libgomp-plugin.h (GOMP_OFFLOAD_openacc_async_construct): Add int | |
8684 | parameter. | |
8685 | * oacc-async.c (lookup_goacc_asyncqueue): Pass device number to the | |
8686 | queue constructor. | |
8687 | * oacc-host.c (host_openacc_async_construct): Add device parameter. | |
8688 | * plugin/plugin-nvptx.c (GOMP_OFFLOAD_openacc_async_construct): Add | |
8689 | device parameter. | |
8690 | ||
b3d14b3a AS |
8691 | 2019-11-13 Andrew Stubbs <ams@codesourcery.com> |
8692 | ||
8693 | * configure.tgt (nvptx*-*-*): Add "accel" directory. | |
8694 | * config/nvptx/libgomp-plugin.c: Move ... | |
8695 | * config/accel/libgomp-plugin.c: ... to here. | |
8696 | * config/nvptx/lock.c: Move ... | |
8697 | * config/accel/lock.c: ... to here. | |
8698 | * config/nvptx/mutex.c: Move ... | |
8699 | * config/accel/mutex.c: ... to here. | |
8700 | * config/nvptx/mutex.h: Move ... | |
8701 | * config/accel/mutex.h: ... to here. | |
8702 | * config/nvptx/oacc-async.c: Move ... | |
8703 | * config/accel/oacc-async.c: ... to here. | |
8704 | * config/nvptx/oacc-cuda.c: Move ... | |
8705 | * config/accel/oacc-cuda.c: ... to here. | |
8706 | * config/nvptx/oacc-host.c: Move ... | |
8707 | * config/accel/oacc-host.c: ... to here. | |
8708 | * config/nvptx/oacc-init.c: Move ... | |
8709 | * config/accel/oacc-init.c: ... to here. | |
8710 | * config/nvptx/oacc-mem.c: Move ... | |
8711 | * config/accel/oacc-mem.c: ... to here. | |
8712 | * config/nvptx/oacc-plugin.c: Move ... | |
8713 | * config/accel/oacc-plugin.c: ... to here. | |
8714 | * config/nvptx/omp-lock.h: Move ... | |
8715 | * config/accel/omp-lock.h: ... to here. | |
8716 | * config/nvptx/openacc.f90: Move ... | |
8717 | * config/accel/openacc.f90: ... to here. | |
8718 | * config/nvptx/pool.h: Move ... | |
8719 | * config/accel/pool.h: ... to here. | |
8720 | * config/nvptx/proc.c: Move ... | |
8721 | * config/accel/proc.c: ... to here. | |
8722 | * config/nvptx/ptrlock.c: Move ... | |
8723 | * config/accel/ptrlock.c: ... to here. | |
8724 | * config/nvptx/ptrlock.h: Move ... | |
8725 | * config/accel/ptrlock.h: ... to here. | |
8726 | * config/nvptx/sem.c: Move ... | |
8727 | * config/accel/sem.c: ... to here. | |
8728 | * config/nvptx/sem.h: Move ... | |
8729 | * config/accel/sem.h: ... to here. | |
8730 | * config/nvptx/thread-stacksize.h: Move ... | |
8731 | * config/accel/thread-stacksize.h: ... to here. | |
8732 | ||
62aee289 MR |
8733 | 2019-11-12 Maciej W. Rozycki <macro@codesourcery.com> |
8734 | Tobias Burnus <tobias@codesourcery.com> | |
8735 | Frederik Harwath <frederik@codesourcery.com> | |
8736 | Thomas Schwinge <thomas@codesourcery.com> | |
8737 | ||
8738 | libgomp/ | |
8739 | * testsuite/libgomp.oacc-c-c++-common/parallel-dims.c: New test. | |
8740 | * testsuite/libgomp.oacc-fortran/parallel-dims-aux.c: New test. | |
8741 | * testsuite/libgomp.oacc-fortran/parallel-dims.f89: New test. | |
8742 | ||
a2c26c50 TB |
8743 | 2019-11-11 Tobias Burnus <tobias@codesourcery.com> |
8744 | Kwok Cheung Yeung <kcy@codesourcery.com> | |
8745 | ||
8746 | * testsuite/libgomp.fortran/use_device_ptr-optional-1.f90: Extend. | |
8747 | * testsuite/libgomp.fortran/use_device_ptr-optional-2.f90: New. | |
8748 | ||
6d4868f3 TS |
8749 | 2019-11-11 Thomas Schwinge <thomas@codesourcery.com> |
8750 | ||
bfa1837b TS |
8751 | * testsuite/libgomp.fortran/target9.f90: Specify 'dg-do run'. |
8752 | ||
6d4868f3 TS |
8753 | * testsuite/libgomp.fortran/use_device_addr-3.f90: Specify 'dg-do |
8754 | run'. | |
8755 | * testsuite/libgomp.fortran/use_device_addr-4.f90: Likewise. | |
8756 | * testsuite/libgomp.fortran/use_device_ptr-1.f90: Likewise. | |
8757 | ||
5d183d17 FH |
8758 | 2019-11-06 Thomas Schwinge <thomas@codesourcery.com> |
8759 | ||
8760 | * testsuite/libgomp.oacc-c-c++-common/par-loop-comb-reduction-1.c: | |
8761 | Add expected warnings about missing reduction clauses. | |
8762 | * testsuite/libgomp.oacc-c-c++-common/par-loop-comb-reduction-2.c: | |
8763 | Likewise. | |
8764 | * testsuite/libgomp.oacc-c-c++-common/par-loop-comb-reduction-3.c: | |
8765 | Likewise. | |
8766 | * testsuite/libgomp.oacc-c-c++-common/par-loop-comb-reduction-4.c: | |
8767 | Likewise. | |
8768 | ||
d8f03b03 TB |
8769 | 2019-11-04 Tobias Burnus <tobias@codesourcery.com> |
8770 | ||
8771 | * testsuite/libgomp.fortran/pr66199-1.f90: Remove | |
8772 | 'dg-do run' (implies torture test) as 'dg-options "O2"' is used. | |
8773 | * testsuite/libgomp.fortran/pr66199-2.f90: Ditto. | |
8774 | * testsuite/libgomp.fortran/taskloop2.f90: Ditto. | |
8775 | * testsuite/libgomp.fortran/taskloop3.f90: Ditto. | |
8776 | * testsuite/libgomp.fortran/taskloop4.f90: Ditto. | |
8777 | ||
12fd2ec5 TB |
8778 | 2019-11-04 Tobias Burnus <tobias@codesourcery.com> |
8779 | ||
8780 | PR fortran/92305 | |
8781 | * testsuite/libgomp.fortran/allocatable2.f90: Use | |
8782 | unique numbers with 'stop'. | |
8783 | * testsuite/libgomp.fortran/use_device_addr-1.f90: Ditto. | |
8784 | * testsuite/libgomp.fortran/use_device_addr-2.f90: Ditto. | |
8785 | * testsuite/libgomp.fortran/use_device_ptr-1.f90: Ditto. | |
8786 | * testsuite/libgomp.oacc-fortran/lib-15.f90: Ditto. | |
8787 | * testsuite/libgomp.oacc-fortran/pset-1.f90: Ditto. | |
8788 | ||
92e63bd2 TB |
8789 | 2019-11-01 Tobias Burnus <tobias@codesourcery.com> |
8790 | ||
8791 | * testsuite/libgomp.fortran/use_device_addr-1.f90 (test_nullptr_1, | |
8792 | test_dummy_opt_nullptr_callee_1): Add present but unallocated test. | |
8793 | * testsuite/libgomp.fortran/use_device_addr-2.f90: Likewise. | |
8794 | * testsuite/libgomp.fortran/use_device_addr-3.f90: New. | |
8795 | * testsuite/libgomp.fortran/use_device_addr-4.f90: New. | |
8796 | * testsuite/testsuite/libgomp.fortran/use_device_ptr-1.f90: New. | |
8797 | ||
91ae0a46 TB |
8798 | 2019-10-30 Tobias Burnus <tobias@codesourcery.com> |
8799 | ||
8800 | * testsuite/libgomp.fortran/target9.f90: New. | |
8801 | ||
c425e66b TB |
8802 | 2019-10-30 Tobias Burnus <tobias@codesourcery.com> |
8803 | ||
8804 | * testsuite/libgomp.fortran/aligned1.f03: Replace 'STOP' by 'stop'. | |
8805 | * testsuite/libgomp.fortran/alloc-comp-1.f90: Ditto. | |
8806 | * testsuite/libgomp.fortran/alloc-comp-2.f90: Ditto. | |
8807 | * testsuite/libgomp.fortran/alloc-comp-3.f90: Ditto. | |
8808 | * testsuite/libgomp.fortran/allocatable1.f90: Ditto. | |
8809 | * testsuite/libgomp.fortran/allocatable10.f90: Ditto. | |
8810 | * testsuite/libgomp.fortran/allocatable11.f90: Ditto. | |
8811 | * testsuite/libgomp.fortran/allocatable12.f90: Ditto. | |
8812 | * testsuite/libgomp.fortran/allocatable2.f90: Ditto. | |
8813 | * testsuite/libgomp.fortran/allocatable3.f90: Ditto. | |
8814 | * testsuite/libgomp.fortran/allocatable4.f90: Ditto. | |
8815 | * testsuite/libgomp.fortran/allocatable5.f90: Ditto. | |
8816 | * testsuite/libgomp.fortran/allocatable6.f90: Ditto. | |
8817 | * testsuite/libgomp.fortran/allocatable7.f90: Ditto. | |
8818 | * testsuite/libgomp.fortran/allocatable8.f90: Ditto. | |
8819 | * testsuite/libgomp.fortran/allocatable9.f90: Ditto. | |
8820 | * testsuite/libgomp.fortran/associate1.f90: Ditto. | |
8821 | * testsuite/libgomp.fortran/associate2.f90: Ditto. | |
8822 | * testsuite/libgomp.fortran/associate3.f90: Ditto. | |
8823 | * testsuite/libgomp.fortran/async_io_4.f90: Ditto. | |
8824 | * testsuite/libgomp.fortran/async_io_5.f90: Ditto. | |
8825 | * testsuite/libgomp.fortran/async_io_6.f90: Ditto. | |
8826 | * testsuite/libgomp.fortran/async_io_7.f90: Ditto. | |
8827 | * testsuite/libgomp.fortran/cancel-do-1.f90: Ditto. | |
8828 | * testsuite/libgomp.fortran/cancel-do-2.f90: Ditto. | |
8829 | * testsuite/libgomp.fortran/cancel-parallel-1.f90: Ditto. | |
8830 | * testsuite/libgomp.fortran/cancel-sections-1.f90: Ditto. | |
8831 | * testsuite/libgomp.fortran/cancel-taskgroup-2.f90: Ditto. | |
8832 | * testsuite/libgomp.fortran/character1.f90: Ditto. | |
8833 | * testsuite/libgomp.fortran/character2.f90: Ditto. | |
8834 | * testsuite/libgomp.fortran/collapse1.f90: Ditto. | |
8835 | * testsuite/libgomp.fortran/collapse2.f90: Ditto. | |
8836 | * testsuite/libgomp.fortran/collapse3.f90: Ditto. | |
8837 | * testsuite/libgomp.fortran/collapse4.f90: Ditto. | |
8838 | * testsuite/libgomp.fortran/crayptr1.f90: Ditto. | |
8839 | * testsuite/libgomp.fortran/crayptr2.f90: Ditto. | |
8840 | * testsuite/libgomp.fortran/crayptr3.f90: Ditto. | |
8841 | * testsuite/libgomp.fortran/declare-simd-1.f90: Ditto. | |
8842 | * testsuite/libgomp.fortran/declare-simd-3.f90: Ditto. | |
8843 | * testsuite/libgomp.fortran/declare-target-2.f90: Ditto. | |
8844 | * testsuite/libgomp.fortran/depend-1.f90: Ditto. | |
8845 | * testsuite/libgomp.fortran/depend-2.f90: Ditto. | |
8846 | * testsuite/libgomp.fortran/depend-3.f90: Ditto. | |
8847 | * testsuite/libgomp.fortran/do1.f90: Ditto. | |
8848 | * testsuite/libgomp.fortran/do2.f90: Ditto. | |
8849 | * testsuite/libgomp.fortran/do_concurrent_5.f90: Ditto. | |
8850 | * testsuite/libgomp.fortran/doacross1.f90: Ditto. | |
8851 | * testsuite/libgomp.fortran/doacross2.f90: Ditto. | |
8852 | * testsuite/libgomp.fortran/doacross3.f90: Ditto. | |
8853 | * testsuite/libgomp.fortran/examples-4/array_sections-3.f90: Ditto. | |
8854 | * testsuite/libgomp.fortran/examples-4/array_sections-4.f90: Ditto. | |
8855 | * testsuite/libgomp.fortran/examples-4/async_target-1.f90: Ditto. | |
8856 | * testsuite/libgomp.fortran/examples-4/async_target-2.f90: Ditto. | |
8857 | * testsuite/libgomp.fortran/examples-4/declare_target-1.f90: Ditto. | |
8858 | * testsuite/libgomp.fortran/examples-4/declare_target-2.f90: Ditto. | |
8859 | * testsuite/libgomp.fortran/examples-4/declare_target-3.f90: Ditto. | |
8860 | * testsuite/libgomp.fortran/examples-4/declare_target-4.f90: Ditto. | |
8861 | * testsuite/libgomp.fortran/examples-4/declare_target-5.f90: Ditto. | |
8862 | * testsuite/libgomp.fortran/examples-4/device-1.f90: Ditto. | |
8863 | * testsuite/libgomp.fortran/examples-4/device-2.f90: Ditto. | |
8864 | * testsuite/libgomp.fortran/examples-4/device-3.f90: Ditto. | |
8865 | * testsuite/libgomp.fortran/examples-4/simd-1.f90: Ditto. | |
8866 | * testsuite/libgomp.fortran/examples-4/simd-2.f90: Ditto. | |
8867 | * testsuite/libgomp.fortran/examples-4/simd-3.f90: Ditto. | |
8868 | * testsuite/libgomp.fortran/examples-4/simd-4.f90: Ditto. | |
8869 | * testsuite/libgomp.fortran/examples-4/simd-5.f90: Ditto. | |
8870 | * testsuite/libgomp.fortran/examples-4/simd-6.f90: Ditto. | |
8871 | * testsuite/libgomp.fortran/examples-4/simd-7.f90: Ditto. | |
8872 | * testsuite/libgomp.fortran/examples-4/simd-8.f90: Ditto. | |
8873 | * testsuite/libgomp.fortran/examples-4/target-1.f90: Ditto. | |
8874 | * testsuite/libgomp.fortran/examples-4/target-2.f90: Ditto. | |
8875 | * testsuite/libgomp.fortran/examples-4/target-3.f90: Ditto. | |
8876 | * testsuite/libgomp.fortran/examples-4/target-4.f90: Ditto. | |
8877 | * testsuite/libgomp.fortran/examples-4/target-5.f90: Ditto. | |
8878 | * testsuite/libgomp.fortran/examples-4/target_data-1.f90: Ditto. | |
8879 | * testsuite/libgomp.fortran/examples-4/target_data-2.f90: Ditto. | |
8880 | * testsuite/libgomp.fortran/examples-4/target_data-3.f90: Ditto. | |
8881 | * testsuite/libgomp.fortran/examples-4/target_data-4.f90: Ditto. | |
8882 | * testsuite/libgomp.fortran/examples-4/target_data-5.f90: Ditto. | |
8883 | * testsuite/libgomp.fortran/examples-4/target_data-6.f90: Ditto. | |
8884 | * testsuite/libgomp.fortran/examples-4/target_data-7.f90: Ditto. | |
8885 | * testsuite/libgomp.fortran/examples-4/target_update-1.f90: Ditto. | |
8886 | * testsuite/libgomp.fortran/examples-4/target_update-2.f90: Ditto. | |
8887 | * testsuite/libgomp.fortran/examples-4/task_dep-1.f90: Ditto. | |
8888 | * testsuite/libgomp.fortran/examples-4/task_dep-2.f90: Ditto. | |
8889 | * testsuite/libgomp.fortran/examples-4/task_dep-3.f90: Ditto. | |
8890 | * testsuite/libgomp.fortran/examples-4/task_dep-4.f90: Ditto. | |
8891 | * testsuite/libgomp.fortran/examples-4/task_dep-5.f90: Ditto. | |
8892 | * testsuite/libgomp.fortran/examples-4/teams-2.f90: Ditto. | |
8893 | * testsuite/libgomp.fortran/examples-4/teams-3.f90: Ditto. | |
8894 | * testsuite/libgomp.fortran/examples-4/teams-4.f90: Ditto. | |
8895 | * testsuite/libgomp.fortran/examples-4/teams-5.f90: Ditto. | |
8896 | * testsuite/libgomp.fortran/examples-4/teams-6.f90: Ditto. | |
8897 | * testsuite/libgomp.fortran/lastprivate1.f90: Ditto. | |
8898 | * testsuite/libgomp.fortran/lastprivate2.f90: Ditto. | |
8899 | * testsuite/libgomp.fortran/lib1.f90: Ditto. | |
8900 | * testsuite/libgomp.fortran/lib4.f90: Ditto. | |
8901 | * testsuite/libgomp.fortran/lock-1.f90: Ditto. | |
8902 | * testsuite/libgomp.fortran/lock-2.f90: Ditto. | |
8903 | * testsuite/libgomp.fortran/nested1.f90: Ditto. | |
8904 | * testsuite/libgomp.fortran/nestedfn1.f90: Ditto. | |
8905 | * testsuite/libgomp.fortran/nestedfn2.f90: Ditto. | |
8906 | * testsuite/libgomp.fortran/nestedfn3.f90: Ditto. | |
8907 | * testsuite/libgomp.fortran/nestedfn4.f90: Ditto. | |
8908 | * testsuite/libgomp.fortran/nestedfn5.f90: Ditto. | |
8909 | * testsuite/libgomp.fortran/omp_atomic1.f90: Ditto. | |
8910 | * testsuite/libgomp.fortran/omp_atomic2.f90: Ditto. | |
8911 | * testsuite/libgomp.fortran/omp_atomic3.f90: Ditto. | |
8912 | * testsuite/libgomp.fortran/omp_atomic4.f90: Ditto. | |
8913 | * testsuite/libgomp.fortran/omp_atomic5.f90: Ditto. | |
8914 | * testsuite/libgomp.fortran/omp_cond1.f: Ditto. | |
8915 | * testsuite/libgomp.fortran/omp_cond2.f: Ditto. | |
8916 | * testsuite/libgomp.fortran/omp_cond3.F90: Ditto. | |
8917 | * testsuite/libgomp.fortran/omp_cond4.F90: Ditto. | |
8918 | * testsuite/libgomp.fortran/omp_parse1.f90: Ditto. | |
8919 | * testsuite/libgomp.fortran/omp_parse2.f90: Ditto. | |
8920 | * testsuite/libgomp.fortran/omp_parse3.f90: Ditto. | |
8921 | * testsuite/libgomp.fortran/omp_parse4.f90: Ditto. | |
8922 | * testsuite/libgomp.fortran/openmp_version-1.f: Ditto. | |
8923 | * testsuite/libgomp.fortran/openmp_version-2.f90: Ditto. | |
8924 | * testsuite/libgomp.fortran/parloops-exit-first-loop-alt-2.f95: Ditto. | |
8925 | * testsuite/libgomp.fortran/parloops-exit-first-loop-alt.f95: Ditto. | |
8926 | * testsuite/libgomp.fortran/pointer1.f90: Ditto. | |
8927 | * testsuite/libgomp.fortran/pointer2.f90: Ditto. | |
8928 | * testsuite/libgomp.fortran/pr25219.f90: Ditto. | |
8929 | * testsuite/libgomp.fortran/pr27395-1.f90: Ditto. | |
8930 | * testsuite/libgomp.fortran/pr27395-2.f90: Ditto. | |
8931 | * testsuite/libgomp.fortran/pr27416-1.f90: Ditto. | |
8932 | * testsuite/libgomp.fortran/pr27916-1.f90: Ditto. | |
8933 | * testsuite/libgomp.fortran/pr27916-2.f90: Ditto. | |
8934 | * testsuite/libgomp.fortran/pr28390.f: Ditto. | |
8935 | * testsuite/libgomp.fortran/pr29629.f90: Ditto. | |
8936 | * testsuite/libgomp.fortran/pr32550.f90: Ditto. | |
8937 | * testsuite/libgomp.fortran/pr33880.f90: Ditto. | |
8938 | * testsuite/libgomp.fortran/pr34020.f90: Ditto. | |
8939 | * testsuite/libgomp.fortran/pr35130.f90: Ditto. | |
8940 | * testsuite/libgomp.fortran/pr42162.f90: Ditto. | |
8941 | * testsuite/libgomp.fortran/pr46753.f90: Ditto. | |
8942 | * testsuite/libgomp.fortran/pr48894.f90: Ditto. | |
8943 | * testsuite/libgomp.fortran/pr49792-1.f90: Ditto. | |
8944 | * testsuite/libgomp.fortran/pr49792-2.f90: Ditto. | |
8945 | * testsuite/libgomp.fortran/pr63938-1.f90: Ditto. | |
8946 | * testsuite/libgomp.fortran/pr63938-2.f90: Ditto. | |
8947 | * testsuite/libgomp.fortran/pr65597.f90: Ditto. | |
8948 | * testsuite/libgomp.fortran/pr66199-1.f90: Ditto. | |
8949 | * testsuite/libgomp.fortran/pr71014.f90: Ditto. | |
8950 | * testsuite/libgomp.fortran/pr81304.f90: Ditto. | |
8951 | * testsuite/libgomp.fortran/pr81841.f90: Ditto. | |
8952 | * testsuite/libgomp.fortran/pr84418-1.f90: Ditto. | |
8953 | * testsuite/libgomp.fortran/pr84418-2.f90: Ditto. | |
8954 | * testsuite/libgomp.fortran/procptr1.f90: Ditto. | |
8955 | * testsuite/libgomp.fortran/recursion1.f90: Ditto. | |
8956 | * testsuite/libgomp.fortran/reduction1.f90: Ditto. | |
8957 | * testsuite/libgomp.fortran/reduction2.f90: Ditto. | |
8958 | * testsuite/libgomp.fortran/reduction3.f90: Ditto. | |
8959 | * testsuite/libgomp.fortran/reduction4.f90: Ditto. | |
8960 | * testsuite/libgomp.fortran/reduction5.f90: Ditto. | |
8961 | * testsuite/libgomp.fortran/reduction6.f90: Ditto. | |
8962 | * testsuite/libgomp.fortran/reference1.f90: Ditto. | |
8963 | * testsuite/libgomp.fortran/reference2.f90: Ditto. | |
8964 | * testsuite/libgomp.fortran/retval1.f90: Ditto. | |
8965 | * testsuite/libgomp.fortran/retval2.f90: Ditto. | |
8966 | * testsuite/libgomp.fortran/sharing1.f90: Ditto. | |
8967 | * testsuite/libgomp.fortran/sharing2.f90: Ditto. | |
8968 | * testsuite/libgomp.fortran/simd1.f90: Ditto. | |
8969 | * testsuite/libgomp.fortran/simd2.f90: Ditto. | |
8970 | * testsuite/libgomp.fortran/simd3.f90: Ditto. | |
8971 | * testsuite/libgomp.fortran/simd4.f90: Ditto. | |
8972 | * testsuite/libgomp.fortran/simd5.f90: Ditto. | |
8973 | * testsuite/libgomp.fortran/simd6.f90: Ditto. | |
8974 | * testsuite/libgomp.fortran/simd7.f90: Ditto. | |
8975 | * testsuite/libgomp.fortran/stack.f90: Ditto. | |
8976 | * testsuite/libgomp.fortran/strassen.f90: Ditto. | |
8977 | * testsuite/libgomp.fortran/tabs1.f90: Ditto. | |
8978 | * testsuite/libgomp.fortran/tabs2.f: Ditto. | |
8979 | * testsuite/libgomp.fortran/target1.f90: Ditto. | |
8980 | * testsuite/libgomp.fortran/target2.f90: Ditto. | |
8981 | * testsuite/libgomp.fortran/target3.f90: Ditto. | |
8982 | * testsuite/libgomp.fortran/target4.f90: Ditto. | |
8983 | * testsuite/libgomp.fortran/target5.f90: Ditto. | |
8984 | * testsuite/libgomp.fortran/target6.f90: Ditto. | |
8985 | * testsuite/libgomp.fortran/target7.f90: Ditto. | |
8986 | * testsuite/libgomp.fortran/target8.f90: Ditto. | |
8987 | * testsuite/libgomp.fortran/task1.f90: Ditto. | |
8988 | * testsuite/libgomp.fortran/task2.f90: Ditto. | |
8989 | * testsuite/libgomp.fortran/task3.f90: Ditto. | |
8990 | * testsuite/libgomp.fortran/task4.f90: Ditto. | |
8991 | * testsuite/libgomp.fortran/taskgroup1.f90: Ditto. | |
8992 | * testsuite/libgomp.fortran/taskloop1.f90: Ditto. | |
8993 | * testsuite/libgomp.fortran/taskloop2.f90: Ditto. | |
8994 | * testsuite/libgomp.fortran/taskloop3.f90: Ditto. | |
8995 | * testsuite/libgomp.fortran/taskloop4.f90: Ditto. | |
8996 | * testsuite/libgomp.fortran/threadprivate1.f90: Ditto. | |
8997 | * testsuite/libgomp.fortran/threadprivate2.f90: Ditto. | |
8998 | * testsuite/libgomp.fortran/threadprivate3.f90: Ditto. | |
8999 | * testsuite/libgomp.fortran/threadprivate4.f90: Ditto. | |
9000 | * testsuite/libgomp.fortran/udr1.f90: Ditto. | |
9001 | * testsuite/libgomp.fortran/udr10.f90: Ditto. | |
9002 | * testsuite/libgomp.fortran/udr11.f90: Ditto. | |
9003 | * testsuite/libgomp.fortran/udr12.f90: Ditto. | |
9004 | * testsuite/libgomp.fortran/udr13.f90: Ditto. | |
9005 | * testsuite/libgomp.fortran/udr14.f90: Ditto. | |
9006 | * testsuite/libgomp.fortran/udr15.f90: Ditto. | |
9007 | * testsuite/libgomp.fortran/udr2.f90: Ditto. | |
9008 | * testsuite/libgomp.fortran/udr3.f90: Ditto. | |
9009 | * testsuite/libgomp.fortran/udr4.f90: Ditto. | |
9010 | * testsuite/libgomp.fortran/udr5.f90: Ditto. | |
9011 | * testsuite/libgomp.fortran/udr6.f90: Ditto. | |
9012 | * testsuite/libgomp.fortran/udr7.f90: Ditto. | |
9013 | * testsuite/libgomp.fortran/udr8.f90: Ditto. | |
9014 | * testsuite/libgomp.fortran/udr9.f90: Ditto. | |
9015 | * testsuite/libgomp.fortran/vla1.f90: Ditto. | |
9016 | * testsuite/libgomp.fortran/vla2.f90: Ditto. | |
9017 | * testsuite/libgomp.fortran/vla3.f90: Ditto. | |
9018 | * testsuite/libgomp.fortran/vla4.f90: Ditto. | |
9019 | * testsuite/libgomp.fortran/vla5.f90: Ditto. | |
9020 | * testsuite/libgomp.fortran/vla6.f90: Ditto. | |
9021 | * testsuite/libgomp.fortran/vla7.f90: Ditto. | |
9022 | * testsuite/libgomp.fortran/vla8.f90: Ditto. | |
9023 | * testsuite/libgomp.fortran/workshare1.f90: Ditto. | |
9024 | * testsuite/libgomp.fortran/workshare2.f90: Ditto. | |
9025 | ||
01509e2f TB |
9026 | 2019-10-30 Tobias Burnus <tobias@codesourcery.com> |
9027 | ||
9028 | * testsuite/libgomp.fortran/target-simd.f90: Use stop not abort. | |
9029 | * testsuite/libgomp.fortran/use_device_ptr-optional-1.f90: | |
9030 | Ditto; add 'dg-do run' for torture testing. | |
9031 | * testsuite/libgomp.fortran/lastprivate1.f90: Add 'dg-do run'. | |
9032 | * testsuite/libgomp.fortran/lastprivate2.f90: Ditto. | |
9033 | * testsuite/libgomp.fortran/nestedfn4.f90: Ditto. | |
9034 | * testsuite/libgomp.fortran/pr25219.f90: Ditto. | |
9035 | * testsuite/libgomp.fortran/pr28390.f: Ditto. | |
9036 | * testsuite/libgomp.fortran/pr35130.f90: Ditto. | |
9037 | * testsuite/libgomp.fortran/pr90779.f90: Ditto. | |
9038 | * testsuite/libgomp.fortran/task2.f90: Ditto. | |
9039 | * testsuite/libgomp.fortran/taskgroup1.f90: Ditto. | |
9040 | * testsuite/libgomp.fortran/taskloop1.f90: Ditto. | |
9041 | * testsuite/libgomp.fortran/use_device_addr-1.f90: Ditto. | |
9042 | * testsuite/libgomp.fortran/use_device_addr-2.f90: Ditto. | |
9043 | * testsuite/libgomp.fortran/workshare1.f90: Ditto. | |
9044 | * testsuite/libgomp.fortran/workshare2.f90: Ditto. | |
9045 | ||
ffbdd78a TB |
9046 | 2019-10-28 Tobias Burnus <tobias@codesourcery.com> |
9047 | ||
9048 | * testsuite/libgomp.oacc-fortran/abort-1.f90: Add 'dg-do run'. | |
9049 | * testsuite/libgomp.oacc-fortran/abort-2.f90: Ditto. | |
9050 | * testsuite/libgomp.oacc-fortran/acc_on_device-1-1.f90: Ditto. | |
9051 | * testsuite/libgomp.oacc-fortran/acc_on_device-1-2.f90: Ditto. | |
9052 | * testsuite/libgomp.oacc-fortran/acc_on_device-1-3.f90: Ditto. | |
9053 | * testsuite/libgomp.oacc-fortran/lib-1.f90: Ditto. | |
9054 | * testsuite/libgomp.oacc-fortran/common-block-1.f90: | |
9055 | Use 'stop' not abort(). | |
9056 | * testsuite/libgomp.oacc-fortran/common-block-2.f90: Ditto. | |
9057 | * testsuite/libgomp.oacc-fortran/common-block-3.f90: Ditto. | |
9058 | * testsuite/libgomp.oacc-fortran/data-1.f90: Ditto. | |
9059 | * testsuite/libgomp.oacc-fortran/data-2.f90: Ditto. | |
9060 | * testsuite/libgomp.oacc-fortran/data-5.f90: Ditto. | |
9061 | * testsuite/libgomp.oacc-fortran/dummy-array.f90: Ditto. | |
9062 | * testsuite/libgomp.oacc-fortran/gemm-2.f90: Ditto. | |
9063 | * testsuite/libgomp.oacc-fortran/gemm.f90: Ditto. | |
9064 | * testsuite/libgomp.oacc-fortran/host_data-2.f90: Ditto. | |
9065 | * testsuite/libgomp.oacc-fortran/host_data-3.f90: Ditto. | |
9066 | * testsuite/libgomp.oacc-fortran/host_data-4.f90: Ditto. | |
9067 | * testsuite/libgomp.oacc-fortran/kernels-collapse-3.f90: Ditto. | |
9068 | * testsuite/libgomp.oacc-fortran/kernels-collapse-4.f90: Ditto. | |
9069 | * testsuite/libgomp.oacc-fortran/kernels-independent.f90: Ditto. | |
9070 | * testsuite/libgomp.oacc-fortran/kernels-loop-1.f90: Ditto. | |
9071 | * testsuite/libgomp.oacc-fortran/kernels-map-1.f90: Ditto. | |
9072 | * testsuite/libgomp.oacc-fortran/kernels-parallel-loop-data-enter-exit.f95: | |
9073 | Ditto. | |
9074 | * testsuite/libgomp.oacc-fortran/kernels-private-vars-loop-gang-1.f90: | |
9075 | Ditto. | |
9076 | * testsuite/libgomp.oacc-fortran/kernels-private-vars-loop-gang-2.f90: | |
9077 | Ditto. | |
9078 | * testsuite/libgomp.oacc-fortran/kernels-private-vars-loop-gang-3.f90: | |
9079 | Ditto. | |
9080 | * testsuite/libgomp.oacc-fortran/kernels-private-vars-loop-gang-6.f90: | |
9081 | Ditto. | |
9082 | * testsuite/libgomp.oacc-fortran/kernels-private-vars-vector-1.f90: | |
9083 | Ditto. | |
9084 | * testsuite/libgomp.oacc-fortran/kernels-private-vars-vector-2.f90: | |
9085 | Ditto. | |
9086 | * testsuite/libgomp.oacc-fortran/kernels-private-vars-worker-1.f90: | |
9087 | Ditto. | |
9088 | * testsuite/libgomp.oacc-fortran/kernels-private-vars-worker-2.f90: | |
9089 | Ditto. | |
9090 | * testsuite/libgomp.oacc-fortran/kernels-private-vars-worker-3.f90: | |
9091 | Ditto. | |
9092 | * testsuite/libgomp.oacc-fortran/kernels-private-vars-worker-4.f90: | |
9093 | Ditto. | |
9094 | * testsuite/libgomp.oacc-fortran/kernels-private-vars-worker-5.f90: | |
9095 | Ditto. | |
9096 | * testsuite/libgomp.oacc-fortran/kernels-private-vars-worker-6.f90: | |
9097 | Ditto. | |
9098 | * testsuite/libgomp.oacc-fortran/kernels-private-vars-worker-7.f90: | |
9099 | Ditto. | |
9100 | * testsuite/libgomp.oacc-fortran/kernels-reduction-1.f90: Ditto. | |
9101 | * testsuite/libgomp.oacc-fortran/lib-12.f90: Ditto. | |
9102 | * testsuite/libgomp.oacc-fortran/lib-13.f90: Ditto. | |
9103 | * testsuite/libgomp.oacc-fortran/lib-14.f90: Ditto. | |
9104 | * testsuite/libgomp.oacc-fortran/kernels-acc-loop-reduction-2.f90: | |
9105 | Likewise and also add 'dg-do run'. | |
9106 | * testsuite/libgomp.oacc-fortran/kernels-acc-loop-reduction.f90: | |
9107 | Ditto. | |
9108 | ||
ec084613 CP |
9109 | 2019-10-25 Cesar Philippidis <cesar@codesourcery.com> |
9110 | Tobias Burnus <tobias@codesourcery.com> | |
9111 | ||
9112 | * testsuite/libgomp.oacc-fortran/common-block-1.f90: New test. | |
9113 | * testsuite/libgomp.oacc-fortran/common-block-2.f90: New test. | |
9114 | * testsuite/libgomp.oacc-fortran/common-block-3.f90: New test. | |
9115 | ||
77ef3394 JJ |
9116 | 2019-10-14 Jakub Jelinek <jakub@redhat.com> |
9117 | ||
9118 | PR libgomp/92081 | |
9119 | * testsuite/libgomp.fortran/target-simd.f90: Iterate from 1 rather | |
9120 | than 0. | |
9121 | ||
08c14aaa TB |
9122 | 2019-10-11 Tobias Burnus <tobias@codesourcery.com> |
9123 | ||
9124 | * testsuite/libgomp.fortran/use_device_addr-1.f90: New. | |
9125 | * testsuite/libgomp.fortran/use_device_addr-2.f90: New. | |
9126 | ||
6bbead0c TS |
9127 | 2019-10-09 Thomas Schwinge <thomas@codesourcery.com> |
9128 | ||
9129 | PR middle-end/92036 | |
9130 | * testsuite/libgomp.oacc-c-c++-common/data-firstprivate-1.c: New | |
9131 | file. | |
9132 | ||
eba3dee8 TB |
9133 | 2019-10-09 Tobias Burnus <tobias@codesourcery.com> |
9134 | ||
9135 | PR testsuite/91884 | |
9136 | * testsuite/libgomp.fortran/fortran.exp: Conditionally | |
9137 | add -lquadmath. | |
9138 | * testsuite/libgomp.oacc-fortran/fortran.exp: Ditto. | |
9139 | ||
7d48e14f JJ |
9140 | 2019-10-09 Jakub Jelinek <jakub@redhat.com> |
9141 | ||
9142 | PR libgomp/92028 | |
9143 | * target.c (gomp_map_vars_internal): Readd the previous | |
9144 | GOMP_MAP_USE_DEVICE_PTR handling code in the first loop, | |
9145 | though do that just in the !not_found_cnt case. | |
9146 | ||
65b67cf3 TB |
9147 | 2019-10-08 Tobias Burnus <tobias@codesourcery.com> |
9148 | ||
9149 | * gfortran.dg/gomp/target-simd.f90: New. | |
9150 | ||
6c7e076b JB |
9151 | 2019-10-02 Julian Brown <julian@codesourcery.com> |
9152 | Cesar Philippidis <cesar@codesourcery.com> | |
9153 | ||
9154 | * libgomp.h (OFFSET_INLINED, OFFSET_POINTER, OFFSET_STRUCT): Define. | |
9155 | * target.c (FIELD_TGT_EMPTY): Define. | |
9156 | (gomp_map_val): Use OFFSET_* macros instead of magic constants. Write | |
9157 | as switch instead of list of ifs. | |
9158 | (gomp_map_vars_internal): Use OFFSET_* and FIELD_TGT_EMPTY macros. | |
9159 | ||
d61bff85 AT |
9160 | 2019-10-02 Andreas Tobler <andreast@gcc.gnu.org> |
9161 | ||
9162 | * testsuite/libgomp.oacc-c-c++-common/loop-default.h: Remove alloca.h | |
9163 | include. Replace alloca () with __builtin_alloca (). | |
9164 | * testsuite/libgomp.oacc-c-c++-common/loop-dim-default.c: Likewise. | |
9165 | ||
810f316d JJ |
9166 | 2019-10-01 Jakub Jelinek <jakub@redhat.com> |
9167 | ||
9168 | * configure.ac: Remove GCC_HEADER_STDINT(gstdint.h). | |
9169 | * libgomp.h: Include <stdint.h> instead of "gstdint.h". | |
9170 | * oacc-parallel.c: Don't include "libgomp_g.h". | |
9171 | * plugin/plugin-hsa.c: Include <stdint.h> instead of "gstdint.h". | |
9172 | * plugin/plugin-nvptx.c: Don't include "gstdint.h". | |
9173 | * aclocal.m4: Regenerated. | |
9174 | * config.h.in: Regenerated. | |
9175 | * configure: Regenerated. | |
9176 | * Makefile.in: Regenerated. | |
9177 | ||
d7f9ee98 KCY |
9178 | 2019-09-30 Kwok Cheung Yeung <kcy@codesourcery.com> |
9179 | ||
9180 | * libgomp_g.h: Include stdint.h instead of gstdint.h. | |
9181 | ||
e9085da5 MR |
9182 | 2019-09-27 Maciej W. Rozycki <macro@wdc.com> |
9183 | ||
9184 | * configure: Regenerate. | |
9185 | ||
c28712be TB |
9186 | 2019-09-13 Tobias Burnus <tobias@codesourcery.com> |
9187 | ||
9188 | * plugin/plugin-hsa.c (hsa_warn, hsa_fatal, hsa_error): Ensure | |
9189 | string is initialized. | |
9190 | ||
3c086f8d FW |
9191 | 2019-09-06 Florian Weimer <fweimer@redhat.com> |
9192 | ||
9193 | * configure: Regenerate. | |
9194 | ||
c6c2d1bc CLT |
9195 | 2019-09-03 Chung-Lin Tang <cltang@codesourcery.com> |
9196 | ||
9197 | PR other/79543 | |
9198 | * acinclude.m4 (LIBGOMP_CHECK_LINKER_FEATURES): Fix GNU ld --version | |
9199 | scanning to conform to the GNU Coding Standards. | |
9200 | * configure: Regenerate. | |
9201 | ||
5cb72d83 JJ |
9202 | 2019-08-28 Jakub Jelinek <jakub@redhat.com> |
9203 | ||
9204 | PR libgomp/91530 | |
9205 | * testsuite/libgomp.c/scan-21.c: New test. | |
9206 | * testsuite/libgomp.c/scan-22.c: New test. | |
9207 | ||
0ad7981c JJ |
9208 | 2019-08-27 Jakub Jelinek <jakub@redhat.com> |
9209 | ||
9210 | PR libgomp/91530 | |
9211 | * testsuite/libgomp.c/scan-11.c: Add -msse2 option for sse2_runtime | |
9212 | targets. | |
9213 | * testsuite/libgomp.c/scan-12.c: Likewise. | |
9214 | * testsuite/libgomp.c/scan-13.c: Likewise. | |
9215 | * testsuite/libgomp.c/scan-14.c: Likewise. | |
9216 | * testsuite/libgomp.c/scan-15.c: Likewise. | |
9217 | * testsuite/libgomp.c/scan-16.c: Likewise. | |
9218 | * testsuite/libgomp.c/scan-17.c: Likewise. | |
9219 | * testsuite/libgomp.c/scan-18.c: Likewise. | |
9220 | * testsuite/libgomp.c/scan-19.c: Likewise. | |
9221 | * testsuite/libgomp.c/scan-20.c: Likewise. | |
9222 | * testsuite/libgomp.c++/scan-9.C: Likewise. | |
9223 | * testsuite/libgomp.c++/scan-10.C: Likewise. | |
9224 | * testsuite/libgomp.c++/scan-11.C: Likewise. | |
9225 | * testsuite/libgomp.c++/scan-12.C: Likewise. | |
9226 | * testsuite/libgomp.c++/scan-14.C: Likewise. | |
9227 | * testsuite/libgomp.c++/scan-15.C: Likewise. | |
9228 | * testsuite/libgomp.c++/scan-13.C: Likewise. Use sse2_runtime | |
9229 | instead of i?86-*-* x86_64-*-* as target for scan-tree-dump-times. | |
9230 | * testsuite/libgomp.c++/scan-16.C: Likewise. | |
9231 | ||
1e67491a TK |
9232 | 2019-08-17 Thomas Koenig <tkoenig@gcc.gnu.org> |
9233 | ||
9234 | PR fortran/91473 | |
9235 | * testsuite/libgomp.fortran/appendix-a/a.28.5.f90: Add | |
9236 | -std=legacy so invalid code in the test case is accepted. | |
9237 | ||
393fdeb1 TK |
9238 | 2019-08-12 Thomas Koenig <tkoenig@gcc.gnu.org> |
9239 | ||
9240 | PR fortran/91422 | |
9241 | * testsuite/libgomp.oacc-fortran/routine-7.f90: Correct array | |
9242 | dimension. | |
9243 | ||
8860d270 JJ |
9244 | 2019-08-08 Jakub Jelinek <jakub@redhat.com> |
9245 | ||
9246 | * target.c (gomp_map_vars_internal): For GOMP_MAP_USE_DEVICE_PTR | |
9247 | perform the lookup in the first loop only if !not_found_cnt, otherwise | |
9248 | perform lookups for it in the second loop guarded with | |
9249 | if (not_found_cnt || has_firstprivate). | |
9250 | * testsuite/libgomp.c/target-37.c: New test. | |
9251 | * testsuite/libgomp.c++/target-22.C: New test. | |
9252 | ||
398e3feb JJ |
9253 | 2019-08-07 Jakub Jelinek <jakub@redhat.com> |
9254 | ||
9255 | * testsuite/libgomp.c/target-18.c (struct S): New type. | |
9256 | (foo): Use use_device_addr clause instead of use_device_ptr clause | |
9257 | where required by OpenMP 5.0, add further tests for both use_device_ptr | |
9258 | and use_device_addr clauses. | |
9259 | * testsuite/libgomp.c++/target-9.C (struct S): New type. | |
9260 | (foo): Use use_device_addr clause instead of use_device_ptr clause | |
9261 | where required by OpenMP 5.0, add further tests for both use_device_ptr | |
9262 | and use_device_addr clauses. Add t and u arguments. | |
9263 | (main): Adjust caller. | |
9264 | ||
d81ab49d JJ |
9265 | 2019-08-06 Jakub Jelinek <jakub@redhat.com> |
9266 | ||
9267 | * testsuite/libgomp.c++/loop-13.C: New test. | |
9268 | * testsuite/libgomp.c++/loop-14.C: New test. | |
9269 | * testsuite/libgomp.c++/loop-15.C: New test. | |
9270 | ||
c3ac76aa JJ |
9271 | 2019-07-31 Jakub Jelinek <jakub@redhat.com> |
9272 | ||
9273 | PR middle-end/91301 | |
9274 | * testsuite/libgomp.c++/for-27.C: New test. | |
9275 | ||
8dc63166 SK |
9276 | 2019-07-23 Steven G. Kargl <kargl@gcc.gnu.org> |
9277 | ||
393fdeb1 | 9278 | * testsuite/libgomp.fortran/reduction4.f90: Update BOZ usage. |
8dc63166 | 9279 | * testsuite/libgomp.fortran/reduction5.f90: Ditto. |
393fdeb1 | 9280 | |
554a530f JJ |
9281 | 2019-07-20 Jakub Jelinek <jakub@redhat.com> |
9282 | ||
9283 | * testsuite/libgomp.c-c++-common/loop-1.c: New test. | |
9284 | ||
6cda84b5 JJ |
9285 | 2019-07-08 Jakub Jelinek <jakub@redhat.com> |
9286 | ||
9287 | * testsuite/libgomp.c++/scan-13.C: Replace xfail with target x86. | |
9288 | * testsuite/libgomp.c++/scan-16.C: Likewise. | |
9289 | ||
1f52d1a8 JJ |
9290 | 2019-07-06 Jakub Jelinek <jakub@redhat.com> |
9291 | ||
6f67abcd JJ |
9292 | * testsuite/libgomp.c/scan-19.c: New test. |
9293 | * testsuite/libgomp.c/scan-20.c: New test. | |
9294 | ||
1f52d1a8 JJ |
9295 | * testsuite/libgomp.c/scan-11.c: New test. |
9296 | * testsuite/libgomp.c/scan-12.c: New test. | |
9297 | * testsuite/libgomp.c/scan-13.c: New test. | |
9298 | * testsuite/libgomp.c/scan-14.c: New test. | |
9299 | * testsuite/libgomp.c/scan-15.c: New test. | |
9300 | * testsuite/libgomp.c/scan-16.c: New test. | |
9301 | * testsuite/libgomp.c/scan-17.c: New test. | |
9302 | * testsuite/libgomp.c/scan-18.c: New test. | |
9303 | * testsuite/libgomp.c++/scan-9.C: New test. | |
9304 | * testsuite/libgomp.c++/scan-10.C: New test. | |
9305 | * testsuite/libgomp.c++/scan-11.C: New test. | |
9306 | * testsuite/libgomp.c++/scan-12.C: New test. | |
9307 | * testsuite/libgomp.c++/scan-13.C: New test. | |
9308 | * testsuite/libgomp.c++/scan-14.C: New test. | |
9309 | * testsuite/libgomp.c++/scan-15.C: New test. | |
9310 | * testsuite/libgomp.c++/scan-16.C: New test. | |
9311 | ||
2f03073f JJ |
9312 | 2019-07-04 Jakub Jelinek <jakub@redhat.com> |
9313 | ||
9314 | * testsuite/libgomp.c/scan-9.c: New test. | |
9315 | * testsuite/libgomp.c/scan-10.c: New test. | |
9316 | ||
2f6bb511 JJ |
9317 | 2019-07-03 Jakub Jelinek <jakub@redhat.com> |
9318 | ||
9319 | * testsuite/libgomp.c++/scan-1.C: New test. | |
9320 | * testsuite/libgomp.c++/scan-2.C: New test. | |
9321 | * testsuite/libgomp.c++/scan-3.C: New test. | |
9322 | * testsuite/libgomp.c++/scan-4.C: New test. | |
9323 | * testsuite/libgomp.c++/scan-5.C: New test. | |
9324 | * testsuite/libgomp.c++/scan-6.C: New test. | |
9325 | * testsuite/libgomp.c++/scan-7.C: New test. | |
9326 | * testsuite/libgomp.c++/scan-8.C: New test. | |
9327 | * testsuite/libgomp.c/scan-1.c: New test. | |
9328 | * testsuite/libgomp.c/scan-2.c: New test. | |
9329 | * testsuite/libgomp.c/scan-3.c: New test. | |
9330 | * testsuite/libgomp.c/scan-4.c: New test. | |
9331 | * testsuite/libgomp.c/scan-5.c: New test. | |
9332 | * testsuite/libgomp.c/scan-6.c: New test. | |
9333 | * testsuite/libgomp.c/scan-7.c: New test. | |
9334 | * testsuite/libgomp.c/scan-8.c: New test. | |
9335 | ||
bd194a51 TS |
9336 | 2019-06-18 Thomas Schwinge <thomas@codesourcery.com> |
9337 | ||
85fca03a TS |
9338 | * testsuite/libgomp.oacc-c++/firstprivate-mappings-1.C: New file. |
9339 | * testsuite/libgomp.oacc-c-c++-common/firstprivate-mappings-1.c: | |
9340 | Likewise. | |
9341 | ||
bd194a51 TS |
9342 | * testsuite/libgomp.fortran/allocatable3.f90: Add missing results |
9343 | check. | |
9344 | ||
6652161e CP |
9345 | 2019-06-18 Cesar Philippidis <cesar@codesourcery.com> |
9346 | ||
9347 | * testsuite/libgomp.oacc-fortran/allocatable-array-1.f90: New | |
9348 | file. | |
9349 | ||
3a37d6f6 TS |
9350 | 2019-06-18 Thomas Schwinge <thomas@codesourcery.com> |
9351 | ||
4017da8d TS |
9352 | PR fortran/90743 |
9353 | * oacc-parallel.c (GOACC_parallel_keyed): Handle NULL mapping | |
9354 | case. | |
9355 | * testsuite/libgomp.fortran/target-allocatable-1-1.f90: New file. | |
9356 | * testsuite/libgomp.fortran/target-allocatable-1-2.f90: Likewise. | |
9357 | * testsuite/libgomp.oacc-fortran/allocatable-1-1.f90: Likewise. | |
9358 | * testsuite/libgomp.oacc-fortran/allocatable-1-2.f90: Likewise. | |
9359 | ||
6f7c1f65 TS |
9360 | PR testsuite/90861 |
9361 | * testsuite/libgomp.oacc-c-c++-common/declare-vla.c: Update. | |
9362 | ||
3a37d6f6 TS |
9363 | PR middle-end/90862 |
9364 | * testsuite/libgomp.oacc-c-c++-common/declare-1.c: Update. | |
9365 | ||
f45ce17d TV |
9366 | 2019-06-16 Tom de Vries <tdevries@suse.de> |
9367 | ||
9368 | PR tree-optimization/89376 | |
9369 | * testsuite/libgomp.oacc-c-c++-common/pr89376.c: New test. | |
9370 | ||
00908992 TV |
9371 | 2019-06-15 Tom de Vries <tdevries@suse.de> |
9372 | ||
9373 | PR tree-optimization/89713 | |
9374 | * testsuite/libgomp.oacc-c-c++-common/pr85381-2.c: Expect no bar.sync. | |
9375 | * testsuite/libgomp.oacc-c-c++-common/pr85381-4.c: Same. | |
9376 | ||
211b7533 JJ |
9377 | 2019-06-15 Jakub Jelinek <jakub@redhat.com> |
9378 | ||
9379 | PR middle-end/90779 | |
9380 | * testsuite/libgomp.c/pr90779.c: New test. | |
9381 | * testsuite/libgomp.fortran/pr90779.f90: New test. | |
9382 | ||
120a01d1 TV |
9383 | 2019-06-15 Tom de Vries <tdevries@suse.de> |
9384 | ||
9385 | PR tree-optimization/90009 | |
9386 | * testsuite/libgomp.oacc-c-c++-common/pr90009.c: New test. | |
9387 | ||
c29c92c7 FX |
9388 | 2019-06-13 Feng Xue <fxue@os.amperecomputing.com> |
9389 | ||
9390 | PR tree-optimization/89713 | |
9391 | * testsuite/libgomp.oacc-c-c++-common/pr84955-1.c: New test. | |
9392 | ||
ce9c4ec3 JJ |
9393 | 2019-06-11 Jakub Jelinek <jakub@redhat.com> |
9394 | ||
9395 | PR target/90811 | |
9396 | * testsuite/libgomp.c/pr90811.c: New test. | |
9397 | ||
28b3a77c JJ |
9398 | 2019-06-05 Jakub Jelinek <jakub@redhat.com> |
9399 | ||
9400 | * testsuite/libgomp.c++/lastprivate-conditional-1.C: New test. | |
9401 | * testsuite/libgomp.c++/lastprivate-conditional-2.C: New test. | |
9402 | ||
7855700e JJ |
9403 | 2019-06-04 Jakub Jelinek <jakub@redhat.com> |
9404 | ||
9405 | * testsuite/libgomp.c-c++-common/lastprivate-conditional-7.c: New test. | |
9406 | * testsuite/libgomp.c-c++-common/lastprivate-conditional-8.c: New test. | |
9407 | * testsuite/libgomp.c-c++-common/lastprivate-conditional-9.c: New test. | |
9408 | * testsuite/libgomp.c-c++-common/lastprivate-conditional-10.c: New test. | |
9409 | ||
a7155c2e RO |
9410 | 2019-05-30 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
9411 | ||
9412 | * configure.ac: Call AX_COUNT_CPUS. | |
9413 | Substitute CPU_COUNT. | |
9414 | * testsuite/Makefile.am (check-am): Use CPU_COUNT as processor | |
9415 | count fallback. | |
9416 | * aclocal.m4: Regenerate. | |
9417 | * configure: Regenerate. | |
9418 | * Makefile.in, testsuite/Makefile.in: Regenerate. | |
9419 | ||
7e47198b JJ |
9420 | 2019-05-29 Jakub Jelinek <jakub@redhat.com> |
9421 | ||
9422 | * testsuite/libgomp.c-c++-common/lastprivate_conditional_4.c: Rename | |
9423 | to ... | |
9424 | * testsuite/libgomp.c-c++-common/lastprivate-conditional-4.c: ... this. | |
9425 | * testsuite/libgomp.c-c++-common/lastprivate-conditional-5.c: New test. | |
9426 | * testsuite/libgomp.c-c++-common/lastprivate-conditional-6.c: New test. | |
9427 | ||
fcfb8032 JJ |
9428 | 2019-05-27 Jakub Jelinek <jakub@redhat.com> |
9429 | ||
8e7757ba JJ |
9430 | * testsuite/libgomp.c-c++-common/lastprivate_conditional_4.c: New test. |
9431 | ||
36c7a3ff JJ |
9432 | * testsuite/libgomp.c-c++-common/lastprivate-conditional-3.c: New test. |
9433 | ||
fcfb8032 JJ |
9434 | PR libgomp/90641 |
9435 | * work.c (gomp_init_work_share): Instead of aligning final ordered | |
9436 | value to multiples of long long alignment, align to that the | |
9437 | first part (ordered team ids) and if inline_ordered_team_ids | |
9438 | is not on a long long alignment boundary within the structure, | |
9439 | use __alignof__ (long long) - 1 pad size always. | |
9440 | * loop.c (GOMP_loop_start): Fix *mem computation if | |
9441 | inline_ordered_team_ids is not aligned on long long alignment boundary | |
9442 | within the structure. | |
9443 | * loop-ull.c (GOMP_loop_ull_start): Likewise. | |
9444 | * sections.c (GOMP_sections2_start): Likewise. | |
9445 | ||
b5c26449 JJ |
9446 | 2019-05-24 Jakub Jelinek <jakub@redhat.com> |
9447 | ||
6c7ae8c5 JJ |
9448 | * testsuite/libgomp.c-c++-common/lastprivate-conditional-1.c: New test. |
9449 | * testsuite/libgomp.c-c++-common/lastprivate-conditional-2.c: New test. | |
9450 | ||
b5c26449 JJ |
9451 | PR libgomp/90585 |
9452 | * plugin/plugin-hsa.c: Include gstdint.h. Include inttypes.h only if | |
9453 | HAVE_INTTYPES_H is defined. | |
9454 | (print_uint64_t): New typedef. | |
9455 | (PRIu64): Define if HAVE_INTTYPES_H is not defined. | |
9456 | (print_kernel_dispatch, run_kernel): Use PRIu64 macro instead of | |
9457 | "lu", cast uint64_t HSA_DEBUG and fprintf arguments to print_uint64_t. | |
9458 | (release_kernel_dispatch): Likewise. Cast shadow->debug to uintptr_t | |
9459 | before casting to void *. | |
9460 | * plugin/plugin-nvptx.c: Include gstdint.h instead of stdint.h. | |
9461 | * oacc-mem.c: Don't include config.h nor stdint.h. | |
9462 | * target.c: Don't include config.h. | |
9463 | * oacc-cuda.c: Likewise. | |
9464 | * oacc-host.c: Don't include stdint.h. | |
9465 | ||
3e03ed66 JJ |
9466 | 2019-05-20 Jakub Jelinek <jakub@redhat.com> |
9467 | ||
9468 | PR libgomp/90527 | |
9469 | * alloc.c (_GNU_SOURCE): Define. | |
9470 | ||
5fae049d TS |
9471 | 2019-05-17 Thomas Schwinge <thomas@codesourcery.com> |
9472 | ||
9473 | * acc_prof.h: New file. | |
9474 | * oacc-profiling.c: Likewise. | |
9475 | * Makefile.am (nodist_libsubinclude_HEADERS, libgomp_la_SOURCES): | |
9476 | Add these, respectively. | |
9477 | * Makefile.in: Regenerate. | |
9478 | * env.c (initialize_env): Call goacc_profiling_initialize. | |
9479 | * oacc-plugin.c (GOMP_PLUGIN_goacc_thread) | |
9480 | (GOMP_PLUGIN_goacc_profiling_dispatch): New functions. | |
9481 | * oacc-plugin.h (GOMP_PLUGIN_goacc_thread) | |
9482 | (GOMP_PLUGIN_goacc_profiling_dispatch): Declare. | |
9483 | * libgomp.map (OACC_2.5.1): Add acc_prof_lookup, | |
9484 | acc_prof_register, acc_prof_unregister, and acc_register_library. | |
9485 | (GOMP_PLUGIN_1.3): Add GOMP_PLUGIN_goacc_profiling_dispatch, and | |
9486 | GOMP_PLUGIN_goacc_thread. | |
9487 | * oacc-int.h (struct goacc_thread): Add prof_info, api_info, | |
9488 | prof_callbacks_enabled members. | |
9489 | (goacc_prof_enabled, goacc_profiling_initialize) | |
9490 | (_goacc_profiling_dispatch_p, _goacc_profiling_setup_p) | |
9491 | (goacc_profiling_dispatch): Declare. | |
9492 | (GOACC_PROF_ENABLED, GOACC_PROFILING_DISPATCH_P) | |
9493 | (GOACC_PROFILING_SETUP_P): Define. | |
9494 | * oacc-async.c (acc_async_test, acc_async_test_all, acc_wait) | |
9495 | (acc_wait_async, acc_wait_all, acc_wait_all_async): Update for | |
9496 | OpenACC Profiling Interface. | |
9497 | * oacc-cuda.c (acc_get_current_cuda_device) | |
9498 | (acc_get_current_cuda_context, acc_get_cuda_stream) | |
9499 | (acc_set_cuda_stream): Likewise. | |
9500 | * oacc-init.c (acc_init_1, goacc_attach_host_thread_to_device) | |
9501 | (acc_init, acc_set_device_type, acc_get_device_type) | |
9502 | (acc_get_device_num, goacc_lazy_initialize): Likewise. | |
9503 | * oacc-mem.c (acc_malloc, acc_free, memcpy_tofrom_device) | |
9504 | (acc_deviceptr, acc_hostptr, acc_is_present, acc_map_data) | |
9505 | (acc_unmap_data, present_create_copy, delete_copyout) | |
9506 | (update_dev_host): Likewise. | |
9507 | * oacc-parallel.c (GOACC_parallel_keyed, GOACC_data_start) | |
9508 | (GOACC_data_end, GOACC_enter_exit_data, GOACC_update, GOACC_wait): | |
9509 | Likewise. | |
9510 | * plugin/plugin-nvptx.c (nvptx_exec, nvptx_alloc, nvptx_free) | |
9511 | (GOMP_OFFLOAD_openacc_exec, GOMP_OFFLOAD_openacc_async_exec): | |
9512 | Likewise. | |
9513 | * libgomp.texi: Update. | |
9514 | * testsuite/libgomp.oacc-c-c++-common/acc_prof-dispatch-1.c: New | |
9515 | file. | |
9516 | * testsuite/libgomp.oacc-c-c++-common/acc_prof-init-1.c: Likewise. | |
9517 | * testsuite/libgomp.oacc-c-c++-common/acc_prof-kernels-1.c: | |
9518 | Likewise. | |
9519 | * testsuite/libgomp.oacc-c-c++-common/acc_prof-parallel-1.c: | |
9520 | Likewise. | |
9521 | * testsuite/libgomp.oacc-c-c++-common/acc_prof-valid_bytes-1.c: | |
9522 | Likewise. | |
9523 | * testsuite/libgomp.oacc-c-c++-common/acc_prof-version-1.c: | |
9524 | Likewise. | |
9525 | ||
1f4c5b9b CLT |
9526 | 2019-05-13 Chung-Lin Tang <cltang@codesourcery.com> |
9527 | ||
9528 | * libgomp-plugin.h (struct goacc_asyncqueue): Declare. | |
9529 | (struct goacc_asyncqueue_list): Likewise. | |
9530 | (goacc_aq): Likewise. | |
9531 | (goacc_aq_list): Likewise. | |
9532 | (GOMP_OFFLOAD_openacc_register_async_cleanup): Remove. | |
9533 | (GOMP_OFFLOAD_openacc_async_test): Remove. | |
9534 | (GOMP_OFFLOAD_openacc_async_test_all): Remove. | |
9535 | (GOMP_OFFLOAD_openacc_async_wait): Remove. | |
9536 | (GOMP_OFFLOAD_openacc_async_wait_async): Remove. | |
9537 | (GOMP_OFFLOAD_openacc_async_wait_all): Remove. | |
9538 | (GOMP_OFFLOAD_openacc_async_wait_all_async): Remove. | |
9539 | (GOMP_OFFLOAD_openacc_async_set_async): Remove. | |
9540 | (GOMP_OFFLOAD_openacc_exec): Adjust declaration. | |
9541 | (GOMP_OFFLOAD_openacc_cuda_get_stream): Likewise. | |
9542 | (GOMP_OFFLOAD_openacc_cuda_set_stream): Likewise. | |
9543 | (GOMP_OFFLOAD_openacc_async_exec): Declare. | |
9544 | (GOMP_OFFLOAD_openacc_async_construct): Declare. | |
9545 | (GOMP_OFFLOAD_openacc_async_destruct): Declare. | |
9546 | (GOMP_OFFLOAD_openacc_async_test): Declare. | |
9547 | (GOMP_OFFLOAD_openacc_async_synchronize): Declare. | |
9548 | (GOMP_OFFLOAD_openacc_async_serialize): Declare. | |
9549 | (GOMP_OFFLOAD_openacc_async_queue_callback): Declare. | |
9550 | (GOMP_OFFLOAD_openacc_async_host2dev): Declare. | |
9551 | (GOMP_OFFLOAD_openacc_async_dev2host): Declare. | |
9552 | ||
9553 | * libgomp.h (struct acc_dispatch_t): Define 'async' sub-struct. | |
9554 | (gomp_acc_insert_pointer): Adjust declaration. | |
9555 | (gomp_copy_host2dev): New declaration. | |
9556 | (gomp_copy_dev2host): Likewise. | |
9557 | (gomp_map_vars_async): Likewise. | |
9558 | (gomp_unmap_tgt): Likewise. | |
9559 | (gomp_unmap_vars_async): Likewise. | |
9560 | (gomp_fini_device): Likewise. | |
9561 | ||
9562 | * oacc-async.c (get_goacc_thread): New function. | |
9563 | (get_goacc_thread_device): New function. | |
9564 | (lookup_goacc_asyncqueue): New function. | |
9565 | (get_goacc_asyncqueue): New function. | |
9566 | (acc_async_test): Adjust code to use new async design. | |
9567 | (acc_async_test_all): Likewise. | |
9568 | (acc_wait): Likewise. | |
9569 | (acc_wait_async): Likewise. | |
9570 | (acc_wait_all): Likewise. | |
9571 | (acc_wait_all_async): Likewise. | |
9572 | (goacc_async_free): New function. | |
9573 | (goacc_init_asyncqueues): Likewise. | |
9574 | (goacc_fini_asyncqueues): Likewise. | |
9575 | * oacc-cuda.c (acc_get_cuda_stream): Adjust code to use new async | |
9576 | design. | |
9577 | (acc_set_cuda_stream): Likewise. | |
9578 | * oacc-host.c (host_openacc_exec): Adjust parameters, remove 'async'. | |
9579 | (host_openacc_register_async_cleanup): Remove. | |
9580 | (host_openacc_async_exec): New function. | |
9581 | (host_openacc_async_test): Adjust parameters. | |
9582 | (host_openacc_async_test_all): Remove. | |
9583 | (host_openacc_async_wait): Remove. | |
9584 | (host_openacc_async_wait_async): Remove. | |
9585 | (host_openacc_async_wait_all): Remove. | |
9586 | (host_openacc_async_wait_all_async): Remove. | |
9587 | (host_openacc_async_set_async): Remove. | |
9588 | (host_openacc_async_synchronize): New function. | |
9589 | (host_openacc_async_serialize): New function. | |
9590 | (host_openacc_async_host2dev): New function. | |
9591 | (host_openacc_async_dev2host): New function. | |
9592 | (host_openacc_async_queue_callback): New function. | |
9593 | (host_openacc_async_construct): New function. | |
9594 | (host_openacc_async_destruct): New function. | |
9595 | (struct gomp_device_descr host_dispatch): Remove initialization of old | |
93d90219 | 9596 | interface, add initialization of new async sub-struct. |
1f4c5b9b CLT |
9597 | * oacc-init.c (acc_shutdown_1): Adjust to use gomp_fini_device. |
9598 | (goacc_attach_host_thread_to_device): Remove old async code usage. | |
9599 | * oacc-int.h (goacc_init_asyncqueues): New declaration. | |
9600 | (goacc_fini_asyncqueues): Likewise. | |
9601 | (goacc_async_copyout_unmap_vars): Likewise. | |
9602 | (goacc_async_free): Likewise. | |
9603 | (get_goacc_asyncqueue): Likewise. | |
9604 | (lookup_goacc_asyncqueue): Likewise. | |
9605 | * oacc-mem.c (memcpy_tofrom_device): Adjust code to use new async | |
9606 | design. | |
9607 | (present_create_copy): Adjust code to use new async design. | |
9608 | (delete_copyout): Likewise. | |
9609 | (update_dev_host): Likewise. | |
9610 | (gomp_acc_insert_pointer): Add async parameter, adjust code to use new | |
9611 | async design. | |
9612 | (gomp_acc_remove_pointer): Adjust code to use new async design. | |
9613 | * oacc-parallel.c (GOACC_parallel_keyed): Adjust code to use new async | |
9614 | design. | |
9615 | (GOACC_enter_exit_data): Likewise. | |
9616 | (goacc_wait): Likewise. | |
9617 | (GOACC_update): Likewise. | |
9618 | * oacc-plugin.c (GOMP_PLUGIN_async_unmap_vars): Change to assert fail | |
9619 | when called, warn as obsolete in comment. | |
9620 | * target.c (goacc_device_copy_async): New function. | |
9621 | (gomp_copy_host2dev): Remove 'static', add goacc_asyncqueue parameter, | |
9622 | add goacc_device_copy_async case. | |
9623 | (gomp_copy_dev2host): Likewise. | |
9624 | (gomp_map_vars_existing): Add goacc_asyncqueue parameter, adjust code. | |
9625 | (gomp_map_pointer): Likewise. | |
9626 | (gomp_map_fields_existing): Likewise. | |
9627 | (gomp_map_vars_internal): New always_inline function, renamed from | |
9628 | gomp_map_vars. | |
9629 | (gomp_map_vars): Implement by calling gomp_map_vars_internal. | |
9630 | (gomp_map_vars_async): Implement by calling gomp_map_vars_internal, | |
9631 | passing goacc_asyncqueue argument. | |
9632 | (gomp_unmap_tgt): Remove static, add attribute_hidden. | |
9633 | (gomp_unref_tgt): New function. | |
9634 | (gomp_unmap_vars_internal): New always_inline function, renamed from | |
9635 | gomp_unmap_vars. | |
9636 | (gomp_unmap_vars): Implement by calling gomp_unmap_vars_internal. | |
9637 | (gomp_unmap_vars_async): Implement by calling | |
9638 | gomp_unmap_vars_internal, passing goacc_asyncqueue argument. | |
9639 | (gomp_fini_device): New function. | |
9640 | (gomp_exit_data): Adjust gomp_copy_dev2host call. | |
9641 | (gomp_load_plugin_for_device): Remove old interface, adjust to load | |
9642 | new async interface. | |
9643 | (gomp_target_fini): Adjust code to call gomp_fini_device. | |
9644 | ||
9645 | * plugin/plugin-nvptx.c (struct cuda_map): Remove. | |
9646 | (struct ptx_stream): Remove. | |
9647 | (struct nvptx_thread): Remove current_stream field. | |
9648 | (cuda_map_create): Remove. | |
9649 | (cuda_map_destroy): Remove. | |
9650 | (map_init): Remove. | |
9651 | (map_fini): Remove. | |
9652 | (map_pop): Remove. | |
9653 | (map_push): Remove. | |
9654 | (struct goacc_asyncqueue): Define. | |
9655 | (struct nvptx_callback): Define. | |
9656 | (struct ptx_free_block): Define. | |
9657 | (struct ptx_device): Remove null_stream, active_streams, async_streams, | |
9658 | stream_lock, and next fields. | |
9659 | (enum ptx_event_type): Remove. | |
9660 | (struct ptx_event): Remove. | |
9661 | (ptx_event_lock): Remove. | |
9662 | (ptx_events): Remove. | |
9663 | (init_streams_for_device): Remove. | |
9664 | (fini_streams_for_device): Remove. | |
9665 | (select_stream_for_async): Remove. | |
9666 | (nvptx_init): Remove ptx_events and ptx_event_lock references. | |
9667 | (nvptx_attach_host_thread_to_device): Remove CUDA_ERROR_NOT_PERMITTED | |
9668 | case. | |
9669 | (nvptx_open_device): Add free_blocks initialization, remove | |
9670 | init_streams_for_device call. | |
9671 | (nvptx_close_device): Remove fini_streams_for_device call, add | |
9672 | free_blocks destruct code. | |
9673 | (event_gc): Remove. | |
9674 | (event_add): Remove. | |
9675 | (nvptx_exec): Adjust parameters and code. | |
9676 | (nvptx_free): Likewise. | |
9677 | (nvptx_host2dev): Remove. | |
9678 | (nvptx_dev2host): Remove. | |
9679 | (nvptx_set_async): Remove. | |
9680 | (nvptx_async_test): Remove. | |
9681 | (nvptx_async_test_all): Remove. | |
9682 | (nvptx_wait): Remove. | |
9683 | (nvptx_wait_async): Remove. | |
9684 | (nvptx_wait_all): Remove. | |
9685 | (nvptx_wait_all_async): Remove. | |
9686 | (nvptx_get_cuda_stream): Remove. | |
9687 | (nvptx_set_cuda_stream): Remove. | |
9688 | (GOMP_OFFLOAD_alloc): Adjust code. | |
9689 | (GOMP_OFFLOAD_free): Likewise. | |
9690 | (GOMP_OFFLOAD_openacc_register_async_cleanup): Remove. | |
9691 | (GOMP_OFFLOAD_openacc_exec): Adjust parameters and code. | |
9692 | (GOMP_OFFLOAD_openacc_async_test_all): Remove. | |
9693 | (GOMP_OFFLOAD_openacc_async_wait): Remove. | |
9694 | (GOMP_OFFLOAD_openacc_async_wait_async): Remove. | |
9695 | (GOMP_OFFLOAD_openacc_async_wait_all): Remove. | |
9696 | (GOMP_OFFLOAD_openacc_async_wait_all_async): Remove. | |
9697 | (GOMP_OFFLOAD_openacc_async_set_async): Remove. | |
9698 | (cuda_free_argmem): New function. | |
9699 | (GOMP_OFFLOAD_openacc_async_exec): New plugin hook function. | |
9700 | (GOMP_OFFLOAD_openacc_create_thread_data): Adjust code. | |
9701 | (GOMP_OFFLOAD_openacc_cuda_get_stream): Adjust code. | |
9702 | (GOMP_OFFLOAD_openacc_cuda_set_stream): Adjust code. | |
9703 | (GOMP_OFFLOAD_openacc_async_construct): New plugin hook function. | |
9704 | (GOMP_OFFLOAD_openacc_async_destruct): New plugin hook function. | |
9705 | (GOMP_OFFLOAD_openacc_async_test): Remove and re-implement. | |
9706 | (GOMP_OFFLOAD_openacc_async_synchronize): New plugin hook function. | |
9707 | (GOMP_OFFLOAD_openacc_async_serialize): New plugin hook function. | |
9708 | (GOMP_OFFLOAD_openacc_async_queue_callback): New plugin hook function. | |
9709 | (cuda_callback_wrapper): New function. | |
9710 | (cuda_memcpy_sanity_check): New function. | |
9711 | (GOMP_OFFLOAD_host2dev): Remove and re-implement. | |
9712 | (GOMP_OFFLOAD_dev2host): Remove and re-implement. | |
9713 | (GOMP_OFFLOAD_openacc_async_host2dev): New plugin hook function. | |
9714 | (GOMP_OFFLOAD_openacc_async_dev2host): New plugin hook function. | |
9715 | ||
da2d30c1 TS |
9716 | 2019-05-07 Thomas Schwinge <thomas@codesourcery.com> |
9717 | ||
9718 | PR target/87835 | |
9719 | * testsuite/libgomp.oacc-c-c++-common/pr87835.c: Update. | |
9720 | ||
2bbbfa4e TS |
9721 | 2019-05-06 Thomas Schwinge <thomas@codesourcery.com> |
9722 | ||
9723 | * oacc-parallel.c: Add comments to legacy entry points (GCC 5). | |
9724 | ||
bbf1efe1 KB |
9725 | 2019-03-27 Kevin Buettner <kevinb@redhat.com> |
9726 | ||
9727 | * team.c (gomp_team_start): Initialize pool->threads[0]. | |
9728 | ||
1241136c TS |
9729 | 2019-02-22 Thomas Schwinge <thomas@codesourcery.com> |
9730 | ||
b03d721a TS |
9731 | * testsuite/libgomp.oacc-c++/c++.exp: Specify |
9732 | "-foffload=$offload_target". | |
9733 | * testsuite/libgomp.oacc-c/c.exp: Likewise. | |
9734 | * testsuite/libgomp.oacc-fortran/fortran.exp: Likewise. | |
9735 | * testsuite/lib/libgomp.exp | |
9736 | (check_effective_target_openacc_nvidia_accel_configured): Remove, | |
9737 | as (conceptually) merged into | |
9738 | check_effective_target_openacc_nvidia_accel_selected. Adjust all | |
9739 | users. | |
9740 | ||
0a0384b4 TS |
9741 | * plugin/configfrag.ac: Populate and AC_SUBST offload_targets. |
9742 | * testsuite/libgomp-test-support.exp.in: Adjust. | |
9743 | * testsuite/lib/libgomp.exp: Likewise. Don't populate | |
9744 | openacc_device_types_s. | |
9745 | (offload_target_to_openacc_device_type): New proc. | |
9746 | * testsuite/libgomp.oacc-c++/c++.exp: Adjust. | |
9747 | * testsuite/libgomp.oacc-c/c.exp: Likewise. | |
9748 | * testsuite/libgomp.oacc-fortran/fortran.exp: Likewise. | |
9749 | * Makefile.in: Regenerate. | |
9750 | * configure: Likewise. | |
9751 | * testsuite/Makefile.in: Likewise. | |
9752 | ||
ee332b4a TS |
9753 | * plugin/configfrag.ac: Populate and AC_SUBST offload_plugins |
9754 | instead of offload_targets, and AC_DEFINE_UNQUOTED OFFLOAD_PLUGINS | |
9755 | instead of OFFLOAD_TARGETS. | |
9756 | * target.c (gomp_target_init): Adjust. | |
9757 | * testsuite/libgomp-test-support.exp.in: Likewise. | |
9758 | * testsuite/lib/libgomp.exp: Likewise. Populate | |
9759 | openacc_device_types_s instead of offload_targets_s_openacc. | |
9760 | (check_effective_target_openacc_nvidia_accel_selected) | |
9761 | (check_effective_target_openacc_host_selected): Adjust. | |
9762 | * testsuite/libgomp.oacc-c++/c++.exp: Likewise. | |
9763 | * testsuite/libgomp.oacc-c/c.exp: Likewise. | |
9764 | * testsuite/libgomp.oacc-fortran/fortran.exp: Likewise. | |
9765 | * Makefile.in: Regenerate. | |
9766 | * config.h.in: Likewise. | |
9767 | * configure: Likewise. | |
9768 | * testsuite/Makefile.in: Likewise. | |
9769 | ||
1241136c TS |
9770 | * testsuite/lib/libgomp.exp: Error out for unknown offload target. |
9771 | * testsuite/libgomp.oacc-c++/c++.exp: Likewise. Report if | |
9772 | "offloading: supported, but hardware not accessible". | |
9773 | * testsuite/libgomp.oacc-c/c.exp: Likewise. | |
9774 | * testsuite/libgomp.oacc-fortran/fortran.exp: Likewise. | |
9775 | ||
19695f4d CLT |
9776 | 2019-02-19 Chung-Lin Tang <cltang@codesourcery.com> |
9777 | ||
9778 | PR c/87924 | |
9779 | * oacc-parallel.c (GOACC_parallel_keyed): Remove condition on call to | |
9780 | goacc_wait(). | |
9781 | (goacc_wait): Handle ACC_ASYNC_NOVAL case, remove goacc_thread() call | |
9782 | and related adjustment. | |
9783 | ||
8b44f8ec JJ |
9784 | 2019-01-30 Jakub Jelinek <jakub@redhat.com> |
9785 | ||
9786 | PR c++/88988 | |
9787 | * testsuite/libgomp.c++/pr88988.C: New test. | |
9788 | ||
be3a87e7 JJ |
9789 | 2019-01-28 Jakub Jelinek <jakub@redhat.com> |
9790 | ||
9791 | PR middle-end/89002 | |
9792 | * testsuite/libgomp.c/pr89002.c: New test. | |
9793 | ||
497ef4d7 RB |
9794 | 2019-01-28 Richard Biener <rguenther@suse.de> |
9795 | ||
9796 | PR testsuite/89064 | |
9797 | PR tree-optimization/86865 | |
9798 | * testsuite/libgomp.graphite/force-parallel-5.c: XFAIL. | |
9799 | ||
738c56d4 TV |
9800 | 2019-01-24 Tom de Vries <tdevries@suse.de> |
9801 | ||
9802 | * plugin/plugin-nvptx.c (GOMP_OFFLOAD_fini_device): Free ptx_devices | |
9803 | once instantiated_devices drops to 0. | |
9804 | ||
4a75460b TV |
9805 | 2019-01-23 Tom de Vries <tdevries@suse.de> |
9806 | ||
9807 | PR target/PR88946 | |
9808 | * plugin/plugin-nvptx.c (cuda_map_destroy): Use CUDA_CALL_NOCHECK for | |
9809 | cuMemFree. | |
9810 | (nvptx_exec): Don't call map_push if mapnum == 0. | |
9811 | * testsuite/libgomp.oacc-c-c++-common/pr88946.c: New test. | |
9812 | ||
4fef8e4d TV |
9813 | 2019-01-23 Tom de Vries <tdevries@suse.de> |
9814 | ||
9815 | PR target/88941 | |
9816 | PR target/88939 | |
9817 | * plugin/plugin-nvptx.c (cuda_map_destroy): Handle map->active case. | |
9818 | (map_fini): Remove "assert (!s->map->active)". | |
9819 | * testsuite/libgomp.oacc-c-c++-common/pr88941.c: New test. | |
9820 | ||
2ee6cb22 TV |
9821 | 2019-01-23 Tom de Vries <tdevries@suse.de> |
9822 | ||
9823 | PR target/87835 | |
9824 | * plugin/plugin-nvptx.c (map_push): Fix adding of allocated element. | |
9825 | * testsuite/libgomp.oacc-c-c++-common/pr87835.c: New test. | |
9826 | ||
d41d952c TV |
9827 | 2019-01-15 Tom de Vries <tdevries@suse.de> |
9828 | ||
9829 | PR target/80547 | |
9830 | * testsuite/libgomp.oacc-c-c++-common/gang-reduction-var-assignment.c: | |
9831 | New test. | |
9832 | ||
efb56ae8 TV |
9833 | 2019-01-12 Tom de Vries <tdevries@suse.de> |
9834 | ||
9835 | * testsuite/libgomp.oacc-c-c++-common/pr85486-2.c: New test. | |
9836 | * testsuite/libgomp.oacc-c-c++-common/vector-length-128-2.c: New test. | |
9837 | * testsuite/libgomp.oacc-c-c++-common/vector-length-128-5.c: New test. | |
9838 | * testsuite/libgomp.oacc-fortran/gemm-2.f90: New test. | |
9839 | ||
2c2ff168 TV |
9840 | 2019-01-12 Tom de Vries <tdevries@suse.de> |
9841 | ||
9842 | * plugin/plugin-nvptx.c (nvptx_exec): Update error message. | |
9843 | ||
a1057758 TV |
9844 | 2019-01-12 Tom de Vries <tdevries@suse.de> |
9845 | ||
9846 | * testsuite/libgomp.oacc-c-c++-common/vector-length-64-1.c: New test. | |
9847 | * testsuite/libgomp.oacc-c-c++-common/vector-length-64-2.c: New test. | |
9848 | * testsuite/libgomp.oacc-c-c++-common/vector-length-64-3.c: New test. | |
9849 | ||
56314b77 TV |
9850 | 2019-01-12 Tom de Vries <tdevries@suse.de> |
9851 | ||
9852 | PR target/85486 | |
9853 | * testsuite/libgomp.oacc-c-c++-common/pr85486-3.c: New test. | |
9854 | * testsuite/libgomp.oacc-c-c++-common/pr85486.c: New test. | |
9855 | ||
b39e4366 TV |
9856 | 2019-01-12 Tom de Vries <tdevries@suse.de> |
9857 | ||
9858 | PR target/85381 | |
9859 | * testsuite/libgomp.oacc-c-c++-common/pr85381-5.c: New test. | |
9860 | * testsuite/libgomp.oacc-c-c++-common/pr85381.c: New test. | |
9861 | ||
2cb7a501 TV |
9862 | 2019-01-12 Tom de Vries <tdevries@suse.de> |
9863 | ||
9864 | * testsuite/libgomp.oacc-c-c++-common/vred2d-128.c: New test. | |
9865 | * testsuite/libgomp.oacc-fortran/gemm.f90: New test. | |
9866 | * testsuite/libgomp.oacc-c-c++-common/vector-length-128-10.c: New test. | |
9867 | ||
8e77f71e TV |
9868 | 2019-01-12 Tom de Vries <tdevries@suse.de> |
9869 | ||
9870 | * testsuite/libgomp.oacc-c-c++-common/vector-length-128-7.c: New test. | |
9871 | * testsuite/libgomp.oacc-c-c++-common/vector-length-128-4.c: New test. | |
9872 | * testsuite/libgomp.oacc-c-c++-common/vector-length-128-6.c: New test. | |
9873 | ||
52d22ece TV |
9874 | 2019-01-12 Tom de Vries <tdevries@suse.de> |
9875 | ||
9876 | * plugin/plugin-nvptx.c (nvptx_exec): Update insufficient hardware | |
9877 | resources diagnostic. | |
9878 | ||
2b9d9e39 TV |
9879 | 2019-01-12 Tom de Vries <tdevries@suse.de> |
9880 | ||
9881 | * testsuite/libgomp.oacc-c-c++-common/vector-length-128-1.c: Expect | |
9882 | vector length to be 128. | |
9883 | * testsuite/libgomp.oacc-c-c++-common/parallel-dims.c: Expect vector | |
9884 | length 2097152 to be reduced to 1024 instead of 32. | |
9885 | ||
4102bda6 TS |
9886 | 2019-01-11 Thomas Schwinge <thomas@codesourcery.com> |
9887 | James Norris <jnorris@codesourcery.com> | |
9888 | ||
9889 | * libgomp.texi: Better distinguish OpenACC and OpenMP "Runtime | |
9890 | Library Routines", and "Environment Variables". | |
9891 | ||
052aaace TV |
9892 | 2019-01-11 Tom de Vries <tdevries@suse.de> |
9893 | ||
9894 | * plugin/plugin-nvptx.c (nvptx_exec): Prevent vector_length 64 and | |
9895 | num_workers 16. | |
9896 | ||
9390f916 TV |
9897 | 2019-01-11 Tom de Vries <tdevries@suse.de> |
9898 | ||
9899 | * testsuite/libgomp.oacc-c-c++-common/reduction-1.c: Remove | |
9900 | -foffload=-w. | |
9901 | * testsuite/libgomp.oacc-c-c++-common/reduction-2.c: Same. | |
9902 | * testsuite/libgomp.oacc-c-c++-common/reduction-3.c: Same. | |
9903 | * testsuite/libgomp.oacc-c-c++-common/reduction-4.c: Same. | |
9904 | * testsuite/libgomp.oacc-c-c++-common/reduction-5.c: Same. | |
9905 | ||
2c3e7ad2 TV |
9906 | 2019-01-11 Tom de Vries <tdevries@suse.de> |
9907 | ||
9908 | * testsuite/libgomp.oacc-c-c++-common/insufficient-resources.c: New | |
9909 | test. | |
9910 | ||
e222497d NS |
9911 | 2019-01-10 Nathan Sidwell <nathan@acm.org> |
9912 | Julian Brown <julian@codesourcery.com> | |
9913 | ||
9914 | PR lto/71959 | |
9915 | * testsuite/libgomp.oacc-c++/pr71959-aux.cc: New. | |
9916 | * testsuite/libgomp.oacc-c++/pr71959.C: New. | |
9917 | ||
cb87fec3 SH |
9918 | 2019-01-09 Sebastian Huber <sebastian.huber@embedded-brains.de> |
9919 | ||
9920 | * config/rtems/bar.c: Include "../linux/bar.c" and delete copy | |
9921 | and paste code. | |
9922 | ||
30b4d0d0 SH |
9923 | 2019-01-09 Sebastian Huber <sebastian.huber@embedded-brains.de> |
9924 | ||
9925 | * config/rtems/affinity-fmt.c: New file. Include affinity-fmt.c, | |
9926 | undefining HAVE_GETPID and HAVE_GETHOSTNAME, and mapping fwrite to | |
9927 | write. | |
9928 | ||
5d0bc70a TV |
9929 | 2019-01-09 Tom de Vries <tdevries@suse.de> |
9930 | ||
9931 | PR target/88756 | |
9932 | * testsuite/libgomp.oacc-c-c++-common/reduction-1.c (ng, nw, vl): Use | |
9933 | #define instead of "const int". | |
9934 | * testsuite/libgomp.oacc-c-c++-common/reduction-2.c (ng, nw, vl): Same. | |
9935 | * testsuite/libgomp.oacc-c-c++-common/reduction-3.c (ng, nw, vl): Same. | |
9936 | * testsuite/libgomp.oacc-c-c++-common/reduction-4.c (ng, nw, vl): Same. | |
9937 | * testsuite/libgomp.oacc-c-c++-common/reduction-5.c (ng, nw, vl): Same. | |
9938 | ||
2c372e81 TV |
9939 | 2019-01-09 Tom de Vries <tdevries@suse.de> |
9940 | ||
9941 | * plugin/plugin-nvptx.c (nvptx_exec): Make sure to launch with at least | |
9942 | one worker. | |
9943 | ||
43493c97 TV |
9944 | 2019-01-07 Tom de Vries <tdevries@suse.de> |
9945 | ||
9946 | * testsuite/libgomp.oacc-c-c++-common/vector-length-128-3.c: Fix | |
9947 | GOMP_OPENACC_DIM argument. | |
9948 | ||
5c571497 TV |
9949 | 2019-01-03 Tom de Vries <tdevries@suse.de> |
9950 | ||
9951 | * testsuite/libgomp.oacc-c-c++-common/vector-length-128-1.c: New test. | |
9952 | * testsuite/libgomp.oacc-c-c++-common/vector-length-128-3.c: New test. | |
9953 | ||
a5544970 JJ |
9954 | 2019-01-01 Jakub Jelinek <jakub@redhat.com> |
9955 | ||
9956 | Update copyright years. | |
9957 | ||
3f27508c JJ |
9958 | 2019-01-01 Jakub Jelinek <jakub@redhat.com> |
9959 | ||
9960 | * libgomp.texi: Bump @copying's copyright year. | |
9961 | ||
59d5960c TS |
9962 | 2018-12-28 Thomas Schwinge <thomas@codesourcery.com> |
9963 | ||
9964 | * oacc-parallel.c (GOACC_parallel_keyed, GOACC_parallel) | |
9965 | (GOACC_data_start, GOACC_enter_exit_data, GOACC_update) | |
9966 | (GOACC_declare): Redefine the "device" argument to "flags". | |
9967 | ||
a44c1790 TS |
9968 | 2018-12-28 Thomas Schwinge <thomas@codesourcery.com> |
9969 | Cesar Philippidis <cesar@codesourcery.com> | |
9970 | ||
9971 | * target.c (struct gomp_coalesce_chunk): New structure. | |
9972 | (struct gomp_coalesce_buf): Update the chunks member to use that | |
9973 | type. Adjust all users. | |
9974 | ||
a152954e TV |
9975 | 2018-12-19 Tom de Vries <tdevries@suse.de> |
9976 | ||
9977 | * testsuite/libgomp.oacc-c-c++-common/pr85381-2.c: New test. | |
9978 | * testsuite/libgomp.oacc-c-c++-common/pr85381-3.c: New test. | |
9979 | * testsuite/libgomp.oacc-c-c++-common/pr85381-4.c: New test. | |
9980 | ||
49188cd1 TV |
9981 | 2018-12-19 Tom de Vries <tdevries@suse.de> |
9982 | ||
9983 | * testsuite/lib/libgomp.exp: Add load_lib of scanoffloadrtl.exp. | |
9984 | * testsuite/libgomp.oacc-c-c++-common/nvptx-merged-loop.c: Move from | |
9985 | gcc/testsuite/gcc.dg/goacc. | |
9986 | * testsuite/libgomp.oacc-c-c++-common/nvptx-sese-1.c: Same. | |
9987 | ||
c759830b TS |
9988 | 2018-12-14 Thomas Schwinge <thomas@codesourcery.com> |
9989 | Chung-Lin Tang <cltang@codesourcery.com> | |
9990 | ||
9991 | * oacc-mem.c (acc_present_or_create): Remove definition and change | |
9992 | to alias of acc_create. | |
9993 | (acc_present_or_copyin): Remove definition and change to alias of | |
9994 | acc_copyin. | |
9995 | * oacc-parallel.c (GOACC_enter_exit_data): Call acc_create instead | |
9996 | of acc_present_or_create. | |
9997 | * testsuite/libgomp.oacc-c-c++-common/data-already-1.c: Remove. | |
9998 | * testsuite/libgomp.oacc-c-c++-common/data-already-2.c: Likewise. | |
9999 | * testsuite/libgomp.oacc-c-c++-common/data-already-3.c: Likewise. | |
10000 | * testsuite/libgomp.oacc-c-c++-common/data-already-4.c: Likewise. | |
10001 | * testsuite/libgomp.oacc-c-c++-common/data-already-5.c: Likewise. | |
10002 | * testsuite/libgomp.oacc-c-c++-common/data-already-6.c: Likewise. | |
10003 | * testsuite/libgomp.oacc-c-c++-common/data-already-7.c: Likewise. | |
10004 | * testsuite/libgomp.oacc-c-c++-common/data-already-8.c: Likewise. | |
10005 | * testsuite/libgomp.oacc-fortran/data-already-1.f: Likewise. | |
10006 | * testsuite/libgomp.oacc-fortran/data-already-2.f: Likewise. | |
10007 | * testsuite/libgomp.oacc-fortran/data-already-3.f: Likewise. | |
10008 | * testsuite/libgomp.oacc-fortran/data-already-4.f: Likewise. | |
10009 | * testsuite/libgomp.oacc-fortran/data-already-5.f: Likewise. | |
10010 | * testsuite/libgomp.oacc-fortran/data-already-6.f: Likewise. | |
10011 | * testsuite/libgomp.oacc-fortran/data-already-7.f: Likewise. | |
10012 | * testsuite/libgomp.oacc-fortran/data-already-8.f: Likewise. | |
10013 | ||
7de562ee TS |
10014 | 2018-12-14 Thomas Schwinge <thomas@codesourcery.com> |
10015 | ||
f847198e TS |
10016 | PR libgomp/88495 |
10017 | * plugin/plugin-nvptx.c (nvptx_wait_async): Don't refuse | |
10018 | "identical parameters". | |
10019 | * testsuite/libgomp.oacc-c-c++-common/asyncwait-nop-1.c: Update. | |
10020 | * testsuite/libgomp.oacc-c-c++-common/lib-80.c: Remove. | |
10021 | ||
c8ab8aab TS |
10022 | PR libgomp/88484 |
10023 | * oacc-parallel.c (GOACC_wait): Correct handling for "async >= 0". | |
10024 | * testsuite/libgomp.oacc-c-c++-common/asyncwait-nop-1.c: New file. | |
10025 | ||
1404af62 TS |
10026 | PR libgomp/88407 |
10027 | * plugin/plugin-nvptx.c (nvptx_async_test, nvptx_wait) | |
10028 | (nvptx_wait_async): Unseen async-argument is a no-op. | |
10029 | * testsuite/libgomp.oacc-c-c++-common/async_queue-1.c: Update. | |
10030 | * testsuite/libgomp.oacc-c-c++-common/data-2-lib.c: Likewise. | |
10031 | * testsuite/libgomp.oacc-c-c++-common/data-2.c: Likewise. | |
10032 | * testsuite/libgomp.oacc-c-c++-common/lib-79.c: Likewise. | |
10033 | * testsuite/libgomp.oacc-fortran/lib-12.f90: Likewise. | |
10034 | * testsuite/libgomp.oacc-c-c++-common/lib-71.c: Merge into... | |
10035 | * testsuite/libgomp.oacc-c-c++-common/lib-69.c: ... this. Update. | |
10036 | * testsuite/libgomp.oacc-c-c++-common/lib-77.c: Merge into... | |
10037 | * testsuite/libgomp.oacc-c-c++-common/lib-74.c: ... this. Update | |
10038 | ||
7de562ee TS |
10039 | * testsuite/libgomp.oacc-c-c++-common/data-2-lib.c: Revise. |
10040 | * testsuite/libgomp.oacc-c-c++-common/data-2.c: Likewise. | |
10041 | ||
17469af7 CLT |
10042 | 2018-12-14 Chung-Lin Tang <cltang@codesourcery.com> |
10043 | ||
10044 | * testsuite/libgomp.oacc-c-c++-common/data-2-lib.c: Adjust. | |
10045 | * testsuite/libgomp.oacc-c-c++-common/data-2.c: Likewise. | |
10046 | * testsuite/libgomp.oacc-c-c++-common/data-3.c: Likewise. | |
10047 | ||
18c247cc TS |
10048 | 2018-12-14 Thomas Schwinge <thomas@codesourcery.com> |
10049 | ||
10050 | PR libgomp/88370 | |
10051 | * libgomp.texi (acc_get_current_cuda_context, acc_get_cuda_stream) | |
10052 | (acc_set_cuda_stream): Clarify. | |
10053 | * oacc-cuda.c (acc_get_cuda_stream, acc_set_cuda_stream): Use | |
10054 | "async_valid_p". | |
10055 | * plugin/plugin-nvptx.c (nvptx_set_cuda_stream): Refuse "async == | |
10056 | acc_async_sync". | |
10057 | * testsuite/libgomp.oacc-c-c++-common/acc_set_cuda_stream-1.c: New file. | |
10058 | * testsuite/libgomp.oacc-c-c++-common/async_queue-1.c: Likewise. | |
10059 | * testsuite/libgomp.oacc-c-c++-common/lib-84.c: Update. | |
10060 | * testsuite/libgomp.oacc-c-c++-common/lib-85.c: Likewise. | |
10061 | ||
b0aba46c TV |
10062 | 2018-12-14 Tom de Vries <tdevries@suse.de> |
10063 | ||
10064 | * testsuite/libgomp.c-c++-common/function-not-offloaded-aux.c: New test. | |
10065 | * testsuite/libgomp.c-c++-common/function-not-offloaded.c: New test. | |
10066 | * testsuite/libgomp.c-c++-common/variable-not-offloaded.c: New test. | |
10067 | * testsuite/libgomp.oacc-c-c++-common/function-not-offloaded.c: New test. | |
10068 | * testsuite/libgomp.oacc-c-c++-common/variable-not-offloaded.c: New test. | |
10069 | ||
fe0827ee TV |
10070 | 2018-12-13 Tom de Vries <tdevries@suse.de> |
10071 | ||
10072 | * affinity-fmt.c (gomp_print_string): New function, factored out of ... | |
10073 | (omp_display_affinity, gomp_display_affinity_thread): ... here, and ... | |
10074 | * fortran.c (omp_display_affinity_): ... here. | |
10075 | * libgomp.h (gomp_print_string): Declare. | |
10076 | * config/nvptx/affinity-fmt.c: New file. Include affinity-fmt.c, | |
10077 | undefining HAVE_GETPID and HAVE_GETHOSTNAME, and mapping fwrite to | |
10078 | write. | |
10079 | ||
a51f8c92 JJ |
10080 | 2018-12-13 Jakub Jelinek <jakub@redhat.com> |
10081 | ||
10082 | PR libgomp/88460 | |
10083 | * testsuite/libgomp.c++/for-24.C (results): Include it in | |
10084 | omp declare target region. | |
10085 | (main): Use map (always, tofrom: results) instead of | |
10086 | map (tofrom: results). | |
10087 | ||
a6ef2ac9 JJ |
10088 | 2018-12-12 Jakub Jelinek <jakub@redhat.com> |
10089 | ||
7a289b7d JJ |
10090 | PR fortran/88463 |
10091 | * testsuite/libgomp.fortran/pr88463-1.f90: New test. | |
10092 | * testsuite/libgomp.fortran/pr88463-2.f90: New test. | |
10093 | ||
a6ef2ac9 JJ |
10094 | * testsuite/libgomp.c-c++-common/for-16.c: New test. |
10095 | ||
9c47a019 AS |
10096 | 2018-12-12 Andreas Schwab <schwab@suse.de> |
10097 | ||
10098 | * config/linux/ia64/futex.h (sys_futex0): Don't mark r12 as | |
10099 | clobbered. | |
10100 | ||
d0cbb206 TK |
10101 | 2018-12-09 Thomas Koenig <tkoenig@gcc.gnu.org> |
10102 | ||
10103 | PR fortran/88411 | |
10104 | * testsuite/libgomp.fortran/async_io_8.f90: New test. | |
10105 | ||
84ca08d2 TS |
10106 | 2018-12-09 Thomas Schwinge <thomas@codesourcery.com> |
10107 | Jakub Jelinek <jakub@redhat.com> | |
10108 | ||
10109 | * target.c (gomp_map_vars): Call gomp_copy_host2dev instead of | |
10110 | devicep->host2dev_func. | |
10111 | ||
6997628d JJ |
10112 | 2018-12-08 Jakub Jelinek <jakub@redhat.com> |
10113 | ||
10114 | PR libgomp/87995 | |
10115 | * testsuite/libgomp.c-c++-common/cancel-taskgroup-3.c: Require | |
10116 | tls_runtime effective target. | |
10117 | (t): New threadprivate variable. | |
10118 | (main): Set t in threads which execute iterations of the worksharing | |
10119 | loop. Propagate that to the task after the loop and don't abort | |
10120 | if the current taskgroup hasn't been cancelled. | |
10121 | ||
daa8c1d7 JJ |
10122 | 2018-12-02 Jakub Jelinek <jakub@redhat.com> |
10123 | ||
4a82df9a JJ |
10124 | * testsuite/libgomp.c/task-reduction-3.c: New test. |
10125 | ||
daa8c1d7 JJ |
10126 | * testsuite/libgomp.c-c++-common/cancel-taskgroup-4.c: New test. |
10127 | ||
fe570ff8 CP |
10128 | 2018-11-30 Cesar Philippidis <cesar@codesourcery.com> |
10129 | ||
10130 | PR libgomp/88288 | |
10131 | * oacc-parallel.c (GOACC_parallel_keyed): Add offset to devaddrs. | |
10132 | * testsuite/libgomp.oacc-c-c++-common/pr88288.c: New test. | |
10133 | ||
c223608f TS |
10134 | 2018-11-30 Thomas Schwinge <thomas@codesourcery.com> |
10135 | ||
10136 | * testsuite/libgomp.oacc-fortran/lib-16-2.f90: New file. | |
10137 | ||
fc60283c RB |
10138 | 2018-10-19 Richard Biener <rguenther@suse.de> |
10139 | ||
10140 | PR tree-optimization/88182 | |
10141 | * testsuite/libgomp.c++/pr88182.C: Move to g++.dg/gomp. | |
10142 | ||
ffcf3b79 JJ |
10143 | 2018-11-26 Jakub Jelinek <jakub@redhat.com> |
10144 | ||
10145 | * testsuite/Makefile.am (AUTOMAKE_OPTIONS): Drop dejagnu. | |
10146 | (RUNTEST): Don't define. | |
10147 | (RUNTESTDEFAULTFLAGS): Add. | |
10148 | (check-DEJAGNU, site.exp, distclean-DEJAGNU): New goals. | |
10149 | (distclean-am): Depend on distclean-DEJAGNU. | |
10150 | (check-am): If -j% option is present in MFLAGS and if | |
10151 | `getconf _NPROCESSORS_ONLN` is more than 8, export OMP_NUM_THREADS=8. | |
10152 | (.PHONY): Add check-DEJAGNU and distclean-DEJAGNU. | |
10153 | * testsuite/Makefile.in: Regenerated. | |
10154 | ||
ef6e6914 RB |
10155 | 2018-11-26 Richard Biener <rguenther@suse.de> |
10156 | ||
10157 | PR tree-optimization/88182 | |
10158 | * testsuite/libgomp.c++/pr88182.C: New testcase. | |
10159 | ||
72d3bb76 JJ |
10160 | 2018-11-20 Jakub Jelinek <jakub@redhat.com> |
10161 | ||
10162 | PR bootstrap/88106 | |
10163 | * config/mingw32/affinity-fmt.c: New file. | |
10164 | ||
207286c3 JJ |
10165 | 2018-11-09 Jakub Jelinek <jakub@redhat.com> |
10166 | ||
9666c522 JJ |
10167 | * affinity-fmt.c: Include inttypes.h if HAVE_INTTYPES_H. |
10168 | (gomp_display_affinity): Use __builtin_choose_expr to handle | |
10169 | properly handle argument having integral, or pointer or some other | |
10170 | type. If inttypes.h is available and PRIx64 is defined, use PRIx64 | |
10171 | with uint64_t type instead of %llx and unsigned long long. | |
10172 | ||
207286c3 JJ |
10173 | * testsuite/libgomp.c-c++-common/task-reduction-13.c: New test. |
10174 | * testsuite/libgomp.c-c++-common/task-reduction-14.c: New test. | |
10175 | ||
2033f45b RO |
10176 | 2018-11-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
10177 | ||
10178 | * affinity.c: Include <string.h>, <stdio.h>. | |
10179 | (gomp_display_affinity_place): Remove cpusetp. | |
10180 | * teams.c: Include <limits.h>. | |
10181 | ||
28567c40 JJ |
10182 | 2018-11-08 Jakub Jelinek <jakub@redhat.com> |
10183 | ||
8991d779 JJ |
10184 | * testsuite/libgomp.c-c++-common/task-reduction-8.c (bar): Add |
10185 | in_reduction clause for s[0]. | |
10186 | ||
28567c40 JJ |
10187 | * affinity.c (gomp_display_affinity_place): New function. |
10188 | * affinity-fmt.c: New file. | |
10189 | * alloc.c (gomp_aligned_alloc, gomp_aligned_free): New functions. | |
10190 | * config/linux/affinity.c (gomp_display_affinity_place): New function. | |
10191 | * config/nvptx/icv-device.c (omp_get_num_teams, omp_get_team_num): | |
10192 | Move these functions to ... | |
10193 | * config/nvptx/teams.c: ... here. New file. | |
10194 | * config/nvptx/target.c (omp_pause_resource, omp_pause_resource_all): | |
10195 | New functions. | |
10196 | * config/nvptx/team.c (gomp_team_start, gomp_pause_host): New | |
10197 | functions. | |
10198 | * configure.ac: Check for aligned_alloc, posix_memalign, memalign | |
10199 | and _aligned_malloc. | |
10200 | (HAVE_UNAME, HAVE_GETHOSTNAME, HAVE_GETPID): Add new tests. | |
10201 | * configure.tgt: Add -DUSING_INITIAL_EXEC_TLS to XCFLAGS for Linux. | |
10202 | * env.c (gomp_display_affinity_var, gomp_affinity_format_var, | |
10203 | gomp_affinity_format_len): New variables. | |
10204 | (parse_schedule): Parse monotonic and nonmonotonic modifiers in | |
10205 | OMP_SCHEDULE variable. Set GFS_MONOTONIC for monotonic schedules. | |
10206 | (handle_omp_display_env): Display monotonic/nonmonotonic schedule | |
10207 | modifiers. Display (non-default) chunk sizes. Print | |
10208 | OMP_DISPLAY_AFFINITY and OMP_AFFINITY_FORMAT. | |
10209 | (initialize_env): Don't call pthread_attr_setdetachstate. Handle | |
10210 | OMP_DISPLAY_AFFINITY and OMP_AFFINITY_FORMAT env vars. | |
10211 | * fortran.c: Include stdio.h and string.h. | |
10212 | (omp_pause_resource, omp_pause_resource_all): Add ialias_redirect. | |
10213 | (omp_get_schedule_, omp_get_schedule_8_): Mask off GFS_MONOTONIC bit. | |
10214 | (omp_set_affinity_format_, omp_get_affinity_format_, | |
10215 | omp_display_affinity_, omp_capture_affinity_, omp_pause_resource_, | |
10216 | omp_pause_resource_all_): New functions. | |
10217 | * icv.c (omp_set_schedule): Mask off omp_sched_monotonic bit in | |
10218 | switch. | |
10219 | * icv-device.c (omp_get_num_teams, omp_get_team_num): Move these | |
10220 | functions to ... | |
10221 | * teams.c: ... here. New file. | |
10222 | * libgomp_g.h: Include gstdint.h. | |
10223 | (GOMP_loop_nonmonotonic_runtime_start, | |
10224 | GOMP_loop_maybe_nonmonotonic_runtime_start, GOMP_loop_start, | |
10225 | GOMP_loop_ordered_start, GOMP_loop_nonmonotonic_runtime_next, | |
10226 | GOMP_loop_maybe_nonmonotonic_runtime_next, GOMP_loop_doacross_start, | |
10227 | GOMP_parallel_loop_nonmonotonic_runtime, | |
10228 | GOMP_parallel_loop_maybe_nonmonotonic_runtime, | |
10229 | GOMP_loop_ull_nonmonotonic_runtime_start, | |
10230 | GOMP_loop_ull_maybe_nonmonotonic_runtime_start, GOMP_loop_ull_start, | |
10231 | GOMP_loop_ull_ordered_start, GOMP_loop_ull_nonmonotonic_runtime_next, | |
10232 | GOMP_loop_ull_maybe_nonmonotonic_runtime_next, | |
10233 | GOMP_loop_ull_doacross_start, GOMP_parallel_reductions, | |
10234 | GOMP_taskwait_depend, GOMP_taskgroup_reduction_register, | |
10235 | GOMP_taskgroup_reduction_unregister, GOMP_task_reduction_remap, | |
10236 | GOMP_workshare_task_reduction_unregister, GOMP_sections2_start, | |
10237 | GOMP_teams_reg): Declare. | |
10238 | * libgomp.h (GOMP_HAVE_EFFICIENT_ALIGNED_ALLOC): Define unless | |
10239 | gomp_aligned_alloc uses fallback implementation. | |
10240 | (gomp_aligned_alloc, gomp_aligned_free): Declare. | |
10241 | (enum gomp_schedule_type): Add GFS_MONOTONIC. | |
10242 | (struct gomp_doacross_work_share): Add extra field. | |
10243 | (struct gomp_work_share): Add task_reductions field. | |
10244 | (struct gomp_taskgroup): Add workshare and reductions fields. | |
10245 | (GOMP_NEEDS_THREAD_HANDLE): Define if needed. | |
10246 | (gomp_thread_handle): New typedef. | |
10247 | (gomp_display_affinity_place, gomp_set_affinity_format, | |
10248 | gomp_display_string, gomp_display_affinity, | |
10249 | gomp_display_affinity_thread): Declare. | |
10250 | (gomp_doacross_init, gomp_doacross_ull_init): Add size_t argument. | |
10251 | (gomp_parallel_reduction_register, gomp_workshare_taskgroup_start, | |
10252 | gomp_workshare_task_reduction_register): Declare. | |
10253 | (gomp_team_start): Add taskgroup argument. | |
10254 | (gomp_pause_host): Declare. | |
10255 | (gomp_init_work_share, gomp_work_share_start): Change bool argument | |
10256 | to size_t. | |
10257 | (gomp_thread_self, gomp_thread_to_pthread_t): New inline functions. | |
10258 | * libgomp.map (GOMP_5.0): Export GOMP_loop_start, | |
10259 | GOMP_loop_ordered_start, GOMP_loop_doacross_start, | |
10260 | GOMP_loop_ull_start, GOMP_loop_ull_ordered_start, | |
10261 | GOMP_loop_ull_doacross_start, | |
10262 | GOMP_workshare_task_reduction_unregister, GOMP_sections2_start, | |
10263 | GOMP_loop_maybe_nonmonotonic_runtime_next, | |
10264 | GOMP_loop_maybe_nonmonotonic_runtime_start, | |
10265 | GOMP_loop_nonmonotonic_runtime_next, | |
10266 | GOMP_loop_nonmonotonic_runtime_start, | |
10267 | GOMP_loop_ull_maybe_nonmonotonic_runtime_next, | |
10268 | GOMP_loop_ull_maybe_nonmonotonic_runtime_start, | |
10269 | GOMP_loop_ull_nonmonotonic_runtime_next, | |
10270 | GOMP_loop_ull_nonmonotonic_runtime_start, | |
10271 | GOMP_parallel_loop_maybe_nonmonotonic_runtime, | |
10272 | GOMP_parallel_loop_nonmonotonic_runtime, GOMP_parallel_reductions, | |
10273 | GOMP_taskgroup_reduction_register, | |
10274 | GOMP_taskgroup_reduction_unregister, GOMP_task_reduction_remap, | |
10275 | GOMP_teams_reg and GOMP_taskwait_depend. | |
10276 | (OMP_5.0): Export omp_pause_resource{,_all}{,_}, | |
10277 | omp_{capture,display}_affinity{,_}, and | |
10278 | omp_[gs]et_affinity_format{,_}. | |
10279 | * loop.c: Include string.h. | |
10280 | (GOMP_loop_runtime_next): Add ialias. | |
10281 | (GOMP_taskgroup_reduction_register): Add ialias_redirect. | |
10282 | (gomp_loop_static_start, gomp_loop_dynamic_start, | |
10283 | gomp_loop_guided_start, gomp_loop_ordered_static_start, | |
10284 | gomp_loop_ordered_dynamic_start, gomp_loop_ordered_guided_start, | |
10285 | gomp_loop_doacross_static_start, gomp_loop_doacross_dynamic_start, | |
10286 | gomp_loop_doacross_guided_start): Adjust gomp_work_share_start | |
10287 | or gomp_doacross_init callers. | |
10288 | (gomp_adjust_sched, GOMP_loop_start, GOMP_loop_ordered_start, | |
10289 | GOMP_loop_doacross_start): New functions. | |
10290 | (GOMP_loop_runtime_start, GOMP_loop_ordered_runtime_start, | |
10291 | GOMP_loop_doacross_runtime_start, GOMP_parallel_loop_runtime_start): | |
10292 | Mask off GFS_MONOTONIC bit. | |
10293 | (GOMP_loop_maybe_nonmonotonic_runtime_next, | |
10294 | GOMP_loop_maybe_nonmonotonic_runtime_start, | |
10295 | GOMP_loop_nonmonotonic_runtime_next, | |
10296 | GOMP_loop_nonmonotonic_runtime_start, | |
10297 | GOMP_parallel_loop_maybe_nonmonotonic_runtime, | |
10298 | GOMP_parallel_loop_nonmonotonic_runtime): New aliases or wrapper | |
10299 | functions. | |
10300 | (gomp_parallel_loop_start): Pass NULL as taskgroup to | |
10301 | gomp_team_start. | |
10302 | * loop_ull.c: Include string.h. | |
10303 | (GOMP_loop_ull_runtime_next): Add ialias. | |
10304 | (GOMP_taskgroup_reduction_register): Add ialias_redirect. | |
10305 | (gomp_loop_ull_static_start, gomp_loop_ull_dynamic_start, | |
10306 | gomp_loop_ull_guided_start, gomp_loop_ull_ordered_static_start, | |
10307 | gomp_loop_ull_ordered_dynamic_start, | |
10308 | gomp_loop_ull_ordered_guided_start, | |
10309 | gomp_loop_ull_doacross_static_start, | |
10310 | gomp_loop_ull_doacross_dynamic_start, | |
10311 | gomp_loop_ull_doacross_guided_start): Adjust gomp_work_share_start | |
10312 | and gomp_doacross_ull_init callers. | |
10313 | (gomp_adjust_sched, GOMP_loop_ull_start, GOMP_loop_ull_ordered_start, | |
10314 | GOMP_loop_ull_doacross_start): New functions. | |
10315 | (GOMP_loop_ull_runtime_start, | |
10316 | GOMP_loop_ull_ordered_runtime_start, | |
10317 | GOMP_loop_ull_doacross_runtime_start): Mask off GFS_MONOTONIC bit. | |
10318 | (GOMP_loop_ull_maybe_nonmonotonic_runtime_next, | |
10319 | GOMP_loop_ull_maybe_nonmonotonic_runtime_start, | |
10320 | GOMP_loop_ull_nonmonotonic_runtime_next, | |
10321 | GOMP_loop_ull_nonmonotonic_runtime_start): Likewise. | |
10322 | * Makefile.am (libgomp_la_SOURCES): Add teams.c and affinity-fmt.c. | |
10323 | * omp.h.in (enum omp_sched_t): Add omp_sched_monotonic. | |
10324 | (omp_pause_resource_t, omp_depend_t): New typedefs. | |
10325 | (enum omp_lock_hint_t): Renamed to ... | |
10326 | (enum omp_sync_hint_t): ... this. Define omp_sync_hint_* | |
10327 | enumerators using numbers and omp_lock_hint_* as their aliases. | |
10328 | (omp_lock_hint_t): New typedef. Rename to ... | |
10329 | (omp_sync_hint_t): ... this. | |
10330 | (omp_init_lock_with_hint, omp_init_nest_lock_with_hint): Use | |
10331 | omp_sync_hint_t instead of omp_lock_hint_t. | |
10332 | (omp_pause_resource, omp_pause_resource_all, omp_set_affinity_format, | |
10333 | omp_get_affinity_format, omp_display_affinity, omp_capture_affinity): | |
10334 | Declare. | |
10335 | (omp_target_is_present, omp_target_disassociate_ptr): | |
10336 | Change first argument from void * to const void *. | |
10337 | (omp_target_memcpy, omp_target_memcpy_rect): Change second argument | |
10338 | from void * to const void *. | |
10339 | (omp_target_associate_ptr): Change first and second arguments from | |
10340 | void * to const void *. | |
10341 | * omp_lib.f90.in (omp_pause_resource_kind, omp_pause_soft, | |
10342 | omp_pause_hard): New parameters. | |
10343 | (omp_pause_resource, omp_pause_resource_all, omp_set_affinity_format, | |
10344 | omp_get_affinity_format, omp_display_affinity, omp_capture_affinity): | |
10345 | New interfaces. | |
10346 | * omp_lib.h.in (omp_pause_resource_kind, omp_pause_soft, | |
10347 | omp_pause_hard): New parameters. | |
10348 | (omp_pause_resource, omp_pause_resource_all, omp_set_affinity_format, | |
10349 | omp_get_affinity_format, omp_display_affinity, omp_capture_affinity): | |
10350 | New externals. | |
10351 | * ordered.c (gomp_doacross_init, gomp_doacross_ull_init): Add | |
10352 | EXTRA argument. If not needed to prepare array, if extra is 0, | |
10353 | clear ws->doacross, otherwise allocate just doacross structure and | |
10354 | extra payload. If array is needed, allocate also extra payload. | |
10355 | (GOMP_doacross_post, GOMP_doacross_wait, GOMP_doacross_ull_post, | |
10356 | GOMP_doacross_ull_wait): Handle doacross->array == NULL like | |
10357 | doacross == NULL. | |
10358 | * parallel.c (GOMP_parallel_start): Pass NULL as taskgroup to | |
10359 | gomp_team_start. | |
10360 | (GOMP_parallel): Likewise. Formatting fix. | |
10361 | (GOMP_parallel_reductions): New function. | |
10362 | (GOMP_cancellation_point): If taskgroup has workshare | |
10363 | flag set, check cancelled of prev taskgroup if any. | |
10364 | (GOMP_cancel): If taskgroup has workshare flag set, set cancelled | |
10365 | on prev taskgroup if any. | |
10366 | * sections.c: Include string.h. | |
10367 | (GOMP_taskgroup_reduction_register): Add ialias_redirect. | |
10368 | (GOMP_sections_start): Adjust gomp_work_share_start caller. | |
10369 | (GOMP_sections2_start): New function. | |
10370 | (GOMP_parallel_sections_start, GOMP_parallel_sections): | |
10371 | Pass NULL as taskgroup to gomp_team_start. | |
10372 | * single.c (GOMP_single_start, GOMP_single_copy_start): Adjust | |
10373 | gomp_work_share_start callers. | |
10374 | * target.c (GOMP_target_update_ext, GOMP_target_enter_exit_data): | |
10375 | If taskgroup has workshare flag set, check cancelled on prev | |
10376 | taskgroup if any. Guard all cancellation tests with | |
10377 | gomp_cancel_var test. | |
10378 | (omp_target_is_present, omp_target_disassociate_ptr): | |
10379 | Change ptr argument from void * to const void *. | |
10380 | (omp_target_memcpy): Change src argument from void * to const void *. | |
10381 | (omp_target_memcpy_rect): Likewise. | |
10382 | (omp_target_memcpy_rect_worker): Likewise. Use const char * casts | |
10383 | instead of char * where needed. | |
10384 | (omp_target_associate_ptr): Change host_ptr and device_ptr arguments | |
10385 | from void * to const void *. | |
10386 | (omp_pause_resource, omp_pause_resource_all): New functions. | |
10387 | * task.c (gomp_task_handle_depend): Handle new depend array format | |
10388 | in addition to the old. Handle mutexinoutset kinds the same as | |
10389 | inout for now, handle unspecified kinds. | |
10390 | (gomp_create_target_task): If taskgroup has workshare flag set, check | |
10391 | cancelled on prev taskgroup if any. Guard all cancellation tests with | |
10392 | gomp_cancel_var test. Handle new depend array format count in | |
10393 | addition to the old. | |
10394 | (GOMP_task): Likewise. Adjust function comment. | |
10395 | (gomp_task_run_pre): If taskgroup has workshare flag set, check | |
10396 | cancelled on prev taskgroup if any. Guard all cancellation tests with | |
10397 | gomp_cancel_var test. | |
10398 | (GOMP_taskwait_depend): New function. | |
10399 | (gomp_task_maybe_wait_for_dependencies): Handle new depend array | |
10400 | format in addition to the old. Handle mutexinoutset kinds the same as | |
10401 | inout for now, handle unspecified kinds. Fix a function comment typo. | |
10402 | (gomp_taskgroup_init): New function. | |
10403 | (GOMP_taskgroup_start): Use it. | |
10404 | (gomp_reduction_register, gomp_create_artificial_team, | |
10405 | GOMP_taskgroup_reduction_register, | |
10406 | GOMP_taskgroup_reduction_unregister, GOMP_task_reduction_remap, | |
10407 | gomp_parallel_reduction_register, | |
10408 | gomp_workshare_task_reduction_register, | |
10409 | gomp_workshare_taskgroup_start, | |
10410 | GOMP_workshare_task_reduction_unregister): New functions. | |
10411 | * taskloop.c (GOMP_taskloop): If taskgroup has workshare flag set, | |
10412 | check cancelled on prev taskgroup if any. Guard all cancellation | |
10413 | tests with gomp_cancel_var test. Handle GOMP_TASK_FLAG_REDUCTION flag | |
10414 | by calling GOMP_taskgroup_reduction_register. | |
10415 | * team.c (gomp_thread_attr): Remove comment. | |
10416 | (struct gomp_thread_start_data): Add handle field. | |
10417 | (gomp_thread_start): Call pthread_detach. | |
10418 | (gomp_new_team): Adjust gomp_init_work_share caller. | |
10419 | (gomp_free_pool_helper): Call pthread_detach. | |
10420 | (gomp_team_start): Add taskgroup argument, initialize implicit | |
10421 | tasks' taskgroup field to that. Don't call | |
10422 | pthread_attr_setdetachstate. Handle OMP_DISPLAY_AFFINITY env var. | |
10423 | (gomp_team_end): Determine nesting by thr->ts.level != 0 | |
10424 | rather than thr->ts.team != NULL. | |
10425 | (gomp_pause_pool_helper, gomp_pause_host): New functions. | |
10426 | * work.c (alloc_work_share): Use gomp_aligned_alloc instead of | |
10427 | gomp_malloc if GOMP_HAVE_EFFICIENT_ALIGNED_ALLOC is defined. | |
10428 | (gomp_init_work_share): Change ORDERED argument from bool to size_t, | |
10429 | if more than 1 allocate also extra payload at the end of array. Never | |
10430 | keep ordered_team_ids NULL, set it to inline_ordered_team_ids instead. | |
10431 | (gomp_work_share_start): Change ORDERED argument from bool to size_t, | |
10432 | return true instead of ws. | |
10433 | * Makefile.in: Regenerated. | |
10434 | * configure: Regenerated. | |
10435 | * config.h.in: Regenerated. | |
10436 | * testsuite/libgomp.c/cancel-for-2.c (foo): Use cancel modifier | |
10437 | in some cases. | |
10438 | * testsuite/libgomp.c-c++-common/cancel-parallel-1.c: New test. | |
10439 | * testsuite/libgomp.c-c++-common/cancel-taskgroup-3.c: New test. | |
10440 | * testsuite/libgomp.c-c++-common/depend-iterator-1.c: New test. | |
10441 | * testsuite/libgomp.c-c++-common/depend-iterator-2.c: New test. | |
10442 | * testsuite/libgomp.c-c++-common/depend-mutexinout-1.c: New test. | |
10443 | * testsuite/libgomp.c-c++-common/depend-mutexinout-2.c: New test. | |
10444 | * testsuite/libgomp.c-c++-common/depobj-1.c: New test. | |
10445 | * testsuite/libgomp.c-c++-common/display-affinity-1.c: New test. | |
10446 | * testsuite/libgomp.c-c++-common/for-10.c: New test. | |
10447 | * testsuite/libgomp.c-c++-common/for-11.c: New test. | |
10448 | * testsuite/libgomp.c-c++-common/for-12.c: New test. | |
10449 | * testsuite/libgomp.c-c++-common/for-13.c: New test. | |
10450 | * testsuite/libgomp.c-c++-common/for-14.c: New test. | |
10451 | * testsuite/libgomp.c-c++-common/for-15.c: New test. | |
10452 | * testsuite/libgomp.c-c++-common/for-2.h: If CONDNE macro is defined, | |
10453 | define a different N(test), don't define N(f0) to N(f14), but instead | |
10454 | define N(f20) to N(f34) using != comparisons. | |
10455 | * testsuite/libgomp.c-c++-common/for-7.c: New test. | |
10456 | * testsuite/libgomp.c-c++-common/for-8.c: New test. | |
10457 | * testsuite/libgomp.c-c++-common/for-9.c: New test. | |
10458 | * testsuite/libgomp.c-c++-common/master-combined-1.c: New test. | |
10459 | * testsuite/libgomp.c-c++-common/pause-1.c: New test. | |
10460 | * testsuite/libgomp.c-c++-common/pause-2.c: New test. | |
10461 | * testsuite/libgomp.c-c++-common/pr66199-10.c: New test. | |
10462 | * testsuite/libgomp.c-c++-common/pr66199-11.c: New test. | |
10463 | * testsuite/libgomp.c-c++-common/pr66199-12.c: New test. | |
10464 | * testsuite/libgomp.c-c++-common/pr66199-13.c: New test. | |
10465 | * testsuite/libgomp.c-c++-common/pr66199-14.c: New test. | |
10466 | * testsuite/libgomp.c-c++-common/simd-1.c: New test. | |
10467 | * testsuite/libgomp.c-c++-common/taskloop-reduction-1.c: New test. | |
10468 | * testsuite/libgomp.c-c++-common/taskloop-reduction-2.c: New test. | |
10469 | * testsuite/libgomp.c-c++-common/taskloop-reduction-3.c: New test. | |
10470 | * testsuite/libgomp.c-c++-common/taskloop-reduction-4.c: New test. | |
10471 | * testsuite/libgomp.c-c++-common/task-reduction-11.c: New test. | |
10472 | * testsuite/libgomp.c-c++-common/task-reduction-12.c: New test. | |
10473 | * testsuite/libgomp.c-c++-common/task-reduction-1.c: New test. | |
10474 | * testsuite/libgomp.c-c++-common/task-reduction-2.c: New test. | |
10475 | * testsuite/libgomp.c-c++-common/task-reduction-3.c: New test. | |
10476 | * testsuite/libgomp.c-c++-common/task-reduction-4.c: New test. | |
10477 | * testsuite/libgomp.c-c++-common/task-reduction-5.c: New test. | |
10478 | * testsuite/libgomp.c-c++-common/task-reduction-6.c: New test. | |
10479 | * testsuite/libgomp.c-c++-common/task-reduction-7.c: New test. | |
10480 | * testsuite/libgomp.c-c++-common/task-reduction-8.c: New test. | |
10481 | * testsuite/libgomp.c-c++-common/task-reduction-9.c: New test. | |
10482 | * testsuite/libgomp.c-c++-common/taskwait-depend-1.c: New test. | |
10483 | * testsuite/libgomp.c++/depend-1.C: New test. | |
10484 | * testsuite/libgomp.c++/depend-iterator-1.C: New test. | |
10485 | * testsuite/libgomp.c++/depobj-1.C: New test. | |
10486 | * testsuite/libgomp.c++/for-16.C: New test. | |
10487 | * testsuite/libgomp.c++/for-21.C: New test. | |
10488 | * testsuite/libgomp.c++/for-22.C: New test. | |
10489 | * testsuite/libgomp.c++/for-23.C: New test. | |
10490 | * testsuite/libgomp.c++/for-24.C: New test. | |
10491 | * testsuite/libgomp.c++/for-25.C: New test. | |
10492 | * testsuite/libgomp.c++/for-26.C: New test. | |
10493 | * testsuite/libgomp.c++/taskloop-reduction-1.C: New test. | |
10494 | * testsuite/libgomp.c++/taskloop-reduction-2.C: New test. | |
10495 | * testsuite/libgomp.c++/taskloop-reduction-3.C: New test. | |
10496 | * testsuite/libgomp.c++/taskloop-reduction-4.C: New test. | |
10497 | * testsuite/libgomp.c++/task-reduction-10.C: New test. | |
10498 | * testsuite/libgomp.c++/task-reduction-11.C: New test. | |
10499 | * testsuite/libgomp.c++/task-reduction-12.C: New test. | |
10500 | * testsuite/libgomp.c++/task-reduction-13.C: New test. | |
10501 | * testsuite/libgomp.c++/task-reduction-14.C: New test. | |
10502 | * testsuite/libgomp.c++/task-reduction-15.C: New test. | |
10503 | * testsuite/libgomp.c++/task-reduction-16.C: New test. | |
10504 | * testsuite/libgomp.c++/task-reduction-17.C: New test. | |
10505 | * testsuite/libgomp.c++/task-reduction-18.C: New test. | |
10506 | * testsuite/libgomp.c++/task-reduction-19.C: New test. | |
10507 | * testsuite/libgomp.c/task-reduction-1.c: New test. | |
10508 | * testsuite/libgomp.c++/task-reduction-1.C: New test. | |
10509 | * testsuite/libgomp.c/task-reduction-2.c: New test. | |
10510 | * testsuite/libgomp.c++/task-reduction-2.C: New test. | |
10511 | * testsuite/libgomp.c++/task-reduction-3.C: New test. | |
10512 | * testsuite/libgomp.c++/task-reduction-4.C: New test. | |
10513 | * testsuite/libgomp.c++/task-reduction-5.C: New test. | |
10514 | * testsuite/libgomp.c++/task-reduction-6.C: New test. | |
10515 | * testsuite/libgomp.c++/task-reduction-7.C: New test. | |
10516 | * testsuite/libgomp.c++/task-reduction-8.C: New test. | |
10517 | * testsuite/libgomp.c++/task-reduction-9.C: New test. | |
10518 | * testsuite/libgomp.c/teams-1.c: New test. | |
10519 | * testsuite/libgomp.c/teams-2.c: New test. | |
10520 | * testsuite/libgomp.c/thread-limit-4.c: New test. | |
10521 | * testsuite/libgomp.c/thread-limit-5.c: New test. | |
10522 | * testsuite/libgomp.fortran/display-affinity-1.f90: New test. | |
10523 | ||
58168bbf CLT |
10524 | 2018-11-06 Chung-Lin Tang <cltang@codesourcery.com> |
10525 | ||
10526 | * oacc-mem.c (memcpy_tofrom_device): New function, combined from | |
10527 | acc_memcpy_to/from_device functions, now with async parameter. | |
10528 | (acc_memcpy_to_device): Modify to use memcpy_tofrom_device. | |
10529 | (acc_memcpy_from_device): Likewise. | |
10530 | (acc_memcpy_to_device_async): New API function. | |
10531 | (acc_memcpy_from_device_async): Likewise. | |
10532 | (present_create_copy): Add async parameter and async setting/unsetting. | |
10533 | (acc_create): Adjust present_create_copy call. | |
10534 | (acc_copyin): Likewise. | |
10535 | (acc_present_or_create): Likewise. | |
10536 | (acc_present_or_copyin): Likewise. | |
10537 | (acc_create_async): New API function. | |
10538 | (acc_copyin_async): New API function. | |
10539 | (delete_copyout): Add async parameter and async setting/unsetting. | |
10540 | (acc_delete): Adjust delete_copyout call. | |
10541 | (acc_copyout): Likewise. | |
10542 | (acc_delete_async): New API function. | |
10543 | (acc_copyout_async): Likewise. | |
10544 | (update_dev_host): Add async parameter and async setting/unsetting. | |
10545 | (acc_update_device): Adjust update_dev_host call. | |
10546 | (acc_update_self): Likewise. | |
10547 | (acc_update_device_async): New API function. | |
10548 | (acc_update_self_async): Likewise. | |
10549 | * openacc.h (acc_copyin_async): Declare new API function. | |
10550 | (acc_create_async): Likewise. | |
10551 | (acc_copyout_async): Likewise. | |
10552 | (acc_delete_async): Likewise. | |
10553 | (acc_update_device_async): Likewise. | |
10554 | (acc_update_self_async): Likewise. | |
10555 | (acc_memcpy_to_device_async): Likewise. | |
10556 | (acc_memcpy_from_device_async): Likewise. | |
10557 | * openacc_lib.h (acc_copyin_async_32_h): New subroutine. | |
10558 | (acc_copyin_async_64_h): New subroutine. | |
10559 | (acc_copyin_async_array_h): New subroutine. | |
10560 | (acc_create_async_32_h): New subroutine. | |
10561 | (acc_create_async_64_h): New subroutine. | |
10562 | (acc_create_async_array_h): New subroutine. | |
10563 | (acc_copyout_async_32_h): New subroutine. | |
10564 | (acc_copyout_async_64_h): New subroutine. | |
10565 | (acc_copyout_async_array_h): New subroutine. | |
10566 | (acc_delete_async_32_h): New subroutine. | |
10567 | (acc_delete_async_64_h): New subroutine. | |
10568 | (acc_delete_async_array_h): New subroutine. | |
10569 | (acc_update_device_async_32_h): New subroutine. | |
10570 | (acc_update_device_async_64_h): New subroutine. | |
10571 | (acc_update_device_async_array_h): New subroutine. | |
10572 | (acc_update_self_async_32_h): New subroutine. | |
10573 | (acc_update_self_async_64_h): New subroutine. | |
10574 | (acc_update_self_async_array_h): New subroutine. | |
10575 | * openacc.f90 (acc_copyin_async_32_h): New subroutine. | |
10576 | (acc_copyin_async_64_h): New subroutine. | |
10577 | (acc_copyin_async_array_h): New subroutine. | |
10578 | (acc_create_async_32_h): New subroutine. | |
10579 | (acc_create_async_64_h): New subroutine. | |
10580 | (acc_create_async_array_h): New subroutine. | |
10581 | (acc_copyout_async_32_h): New subroutine. | |
10582 | (acc_copyout_async_64_h): New subroutine. | |
10583 | (acc_copyout_async_array_h): New subroutine. | |
10584 | (acc_delete_async_32_h): New subroutine. | |
10585 | (acc_delete_async_64_h): New subroutine. | |
10586 | (acc_delete_async_array_h): New subroutine. | |
10587 | (acc_update_device_async_32_h): New subroutine. | |
10588 | (acc_update_device_async_64_h): New subroutine. | |
10589 | (acc_update_device_async_array_h): New subroutine. | |
10590 | (acc_update_self_async_32_h): New subroutine. | |
10591 | (acc_update_self_async_64_h): New subroutine. | |
10592 | (acc_update_self_async_array_h): New subroutine. | |
10593 | * libgomp.map (OACC_2.5): Add acc_copyin_async*, acc_copyout_async*, | |
10594 | acc_copyout_finalize_async*, acc_create_async*, acc_delete_async*, | |
10595 | acc_delete_finalize_async*, acc_memcpy_from_device_async*, | |
10596 | acc_memcpy_to_device_async*, acc_update_device_async*, and | |
10597 | acc_update_self_async* entries. | |
10598 | * testsuite/libgomp.oacc-c-c++-common/lib-94.c: New test. | |
10599 | * testsuite/libgomp.oacc-c-c++-common/lib-95.c: New test. | |
10600 | * testsuite/libgomp.oacc-fortran/lib-16.f90: New test. | |
10601 | ||
22e05272 JM |
10602 | 2018-10-31 Joseph Myers <joseph@codesourcery.com> |
10603 | ||
10604 | PR bootstrap/82856 | |
10605 | * Makefile.am: Include multilib.am | |
10606 | (AUTOMAKE_OPTIONS): Add info-in-builddir. | |
10607 | (CLEANFILES): Remove libgomp.info. | |
10608 | * configure.ac: Remove AC_PREREQ. | |
10609 | * testsuite/Makefile.am (RUNTEST): Remove quotes. | |
10610 | * Makefile.in, aclocal.m4, configure, testsuite/Makefile.in: | |
10611 | Regenerate. | |
10612 | ||
87a5ccfb JM |
10613 | 2018-10-29 Joseph Myers <joseph@codesourcery.com> |
10614 | Julian Brown <julian@codesourcery.com> | |
10615 | ||
10616 | * testsuite/libgomp.oacc-c++/this.C: New. | |
10617 | ||
2049befd CP |
10618 | 2018-09-18 Cesar Philippidis <cesar@codesourcery.com> |
10619 | ||
10620 | * plugin/plugin-nvptx.c (struct cuda_map): New. | |
10621 | (struct ptx_stream): Replace d, h, h_begin, h_end, h_next, h_prev, | |
10622 | h_tail with (cuda_map *) map. | |
10623 | (cuda_map_create): New function. | |
10624 | (cuda_map_destroy): New function. | |
10625 | (map_init): Update to use a linked list of cuda_map objects. | |
10626 | (map_fini): Likewise. | |
10627 | (map_pop): Likewise. | |
10628 | (map_push): Likewise. Return CUdeviceptr instead of void. | |
10629 | (init_streams_for_device): Remove stales references to ptx_stream | |
10630 | members. | |
10631 | (select_stream_for_async): Likewise. | |
10632 | (nvptx_exec): Update call to map_init. | |
10633 | ||
8e36332c CP |
10634 | 2018-09-09 Cesar Philippidis <cesar@codesourcery.com> |
10635 | Julian Brown <julian@codesourcery.com> | |
10636 | ||
10637 | PR middle-end/86336 | |
10638 | * testsuite/libgomp.oacc-c++/non-scalar-data.C: Remove XFAIL. | |
10639 | ||
2b4c9065 NK |
10640 | 2018-08-21 Nicolas Koenig <koenigni@gcc.gnu.org> |
10641 | Thomas Koenig <tkoenig@gcc.gnu.org> | |
10642 | ||
10643 | PR fortran/25829 | |
10644 | * testsuite/libgomp.fortran/async_io_1.f90: New test. | |
10645 | * testsuite/libgomp.fortran/async_io_2.f90: New test. | |
10646 | * testsuite/libgomp.fortran/async_io_3.f90: New test. | |
10647 | * testsuite/libgomp.fortran/async_io_4.f90: New test. | |
10648 | * testsuite/libgomp.fortran/async_io_5.f90: New test. | |
10649 | * testsuite/libgomp.fortran/async_io_6.f90: New test. | |
10650 | * testsuite/libgomp.fortran/async_io_7.f90: New test. | |
10651 | ||
bd9b3d3d CP |
10652 | 2018-08-13 Cesar Philippidis <cesar@codesourcery.com> |
10653 | Tom de Vries <tdevries@suse.de> | |
10654 | ||
10655 | PR target/85590 | |
10656 | * plugin/cuda/cuda.h (CUoccupancyB2DSize): New typedef. | |
10657 | (cuOccupancyMaxPotentialBlockSize): Declare. | |
10658 | * plugin/cuda-lib.def (cuOccupancyMaxPotentialBlockSize): New | |
10659 | CUDA_ONE_CALL_MAYBE_NULL. | |
10660 | * plugin/plugin-nvptx.c (CUDA_VERSION < 6050): Define | |
10661 | CUoccupancyB2DSize and declare | |
10662 | cuOccupancyMaxPotentialBlockSize. | |
10663 | (nvptx_exec): Use cuOccupancyMaxPotentialBlockSize to set the | |
10664 | default num_gangs and num_workers when the driver supports it. | |
10665 | ||
8e09a12f TV |
10666 | 2018-08-08 Tom de Vries <tdevries@suse.de> |
10667 | ||
10668 | * plugin/cuda-lib.def (cuLinkAddData_v2, cuLinkCreate_v2): Declare using | |
10669 | CUDA_ONE_CALL_MAYBE_NULL. | |
10670 | * plugin/plugin-nvptx.c (cuLinkAddData, cuLinkCreate): Undef and declare. | |
10671 | (cuLinkAddData_v2, cuLinkCreate_v2): Declare. | |
10672 | (link_ptx): Fall back to cuLinkAddData/cuLinkCreate if the _v2 versions | |
10673 | are not found. | |
10674 | ||
cedd9bd0 TV |
10675 | 2018-08-08 Tom de Vries <tdevries@suse.de> |
10676 | ||
10677 | * plugin/cuda-lib.def (cuGetErrorString): Use CUDA_ONE_CALL_MAYBE_NULL. | |
10678 | * plugin/plugin-nvptx.c (cuda_error): Handle if cuGetErrorString is not | |
10679 | present. | |
10680 | ||
b113af95 TV |
10681 | 2018-08-08 Tom de Vries <tdevries@suse.de> |
10682 | ||
10683 | * plugin/plugin-nvptx.c | |
10684 | (CU_DEVICE_ATTRIBUTE_MAX_REGISTERS_PER_MULTIPROCESSOR): Define. | |
10685 | (nvptx_open_device): Use | |
10686 | CU_DEVICE_ATTRIBUTE_MAX_REGISTERS_PER_MULTIPROCESSOR. | |
10687 | ||
94767dac TV |
10688 | 2018-08-08 Tom de Vries <tdevries@suse.de> |
10689 | ||
10690 | * plugin/plugin-nvptx.c (cuda_error): Move declaration of cuGetErrorString ... | |
10691 | (cuGetErrorString): ... here. Guard with CUDA_VERSION < 6000. | |
10692 | ||
02150de8 TV |
10693 | 2018-08-07 Tom de Vries <tdevries@suse.de> |
10694 | ||
10695 | * plugin/plugin-nvptx.c (DO_PRAGMA): Define. | |
10696 | (struct cuda_lib_s): Add def/undef of CUDA_ONE_CALL_MAYBE_NULL. | |
10697 | (init_cuda_lib): Add new param to CUDA_ONE_CALL_1. Add arg to | |
10698 | corresponding call in CUDA_ONE_CALL. Add def/undef of | |
10699 | CUDA_ONE_CALL_MAYBE_NULL. | |
10700 | (CUDA_CALL_EXISTS): Define. | |
10701 | ||
9e28b107 TV |
10702 | 2018-08-07 Tom de Vries <tdevries@suse.de> |
10703 | ||
10704 | * plugin/plugin-nvptx.c (struct cuda_lib_s, init_cuda_lib): Put | |
10705 | CUDA_ONE_CALL defines right before the cuda-lib.def include, and the | |
10706 | corresponding undefs right after. | |
10707 | ||
09940090 TV |
10708 | 2018-08-04 Tom de Vries <tdevries@suse.de> |
10709 | ||
10710 | * plugin/configfrag.ac: For --without-cuda-driver, set | |
10711 | CUDA_DRIVER_INCLUDE and CUDA_DRIVER_LIB to no. Handle | |
10712 | CUDA_DRIVER_INCLUDE == no and CUDA_DRIVER_LIB == no. | |
10713 | * configure: Regenerate. | |
10714 | ||
77e0a97a TV |
10715 | 2018-08-02 Tom de Vries <tdevries@suse.de> |
10716 | ||
10717 | PR target/86660 | |
10718 | * testsuite/libgomp.oacc-c++/routine-1-auto.C: Remove -fno-exceptions. | |
10719 | * testsuite/libgomp.oacc-c++/routine-1-template-auto.C: Same. | |
10720 | * testsuite/libgomp.oacc-c++/routine-1-template-trailing-return-type.C: | |
10721 | Same. | |
10722 | * testsuite/libgomp.oacc-c++/routine-1-template.C: Same. | |
10723 | * testsuite/libgomp.oacc-c++/routine-1-trailing-return-type.C: Same. | |
10724 | * testsuite/libgomp.oacc-c-c++-common/routine-1.c: Same. | |
10725 | ||
701d080a CP |
10726 | 2018-08-01 Cesar Philippidis <cesar@codesourcery.com> |
10727 | Thomas Schwinge <thomas@codesourcery.com> | |
10728 | ||
10729 | * config/nvptx/oacc-parallel.c: Truncate. | |
10730 | ||
094db6be CP |
10731 | 2018-08-01 Cesar Philippidis <cesar@codesourcery.com> |
10732 | James Norris <jnorris@codesourcery.com> | |
10733 | ||
10734 | * plugin/plugin-nvptx.c (struct map): Removed. | |
701d080a CP |
10735 | (map_init, map_pop): Remove use of struct map. |
10736 | (map_push): Likewise and change argument list. | |
094db6be CP |
10737 | * testsuite/libgomp.oacc-c-c++-common/mapping-1.c: New |
10738 | ||
8c6310a2 TV |
10739 | 2018-08-01 Tom de Vries <tdevries@suse.de> |
10740 | ||
10741 | * plugin/cuda-lib.def: New file. Factor out of ... | |
10742 | * plugin/plugin-nvptx.c (CUDA_CALLS): ... here. | |
10743 | (struct cuda_lib_s, init_cuda_lib): Include cuda-lib.def instead of | |
10744 | using CUDA_CALLS. | |
10745 | ||
1d4a51cf AV |
10746 | 2018-07-31 Andre Vieira <andre.simoesdiasvieira@arm.com> |
10747 | ||
10748 | Revert 'AsyncI/O patch committed'. | |
10749 | 2018-07-25 Nicolas Koenig <koenigni@gcc.gnu.org> | |
10750 | Thomas Koenig <tkoenig@gcc.gnu.org> | |
10751 | ||
10752 | PR fortran/25829 | |
10753 | * testsuite/libgomp.fortran/async_io_1.f90: New test. | |
10754 | * testsuite/libgomp.fortran/async_io_2.f90: New test. | |
10755 | * testsuite/libgomp.fortran/async_io_3.f90: New test. | |
10756 | * testsuite/libgomp.fortran/async_io_4.f90: New test. | |
10757 | * testsuite/libgomp.fortran/async_io_5.f90: New test. | |
10758 | * testsuite/libgomp.fortran/async_io_6.f90: New test. | |
10759 | * testsuite/libgomp.fortran/async_io_7.f90: New test. | |
10760 | ||
4cdfee3f TV |
10761 | 2018-07-30 Tom de Vries <tdevries@suse.de> |
10762 | ||
10763 | * plugin/plugin-nvptx.c (MIN, MAX): Redefine. | |
10764 | (nvptx_exec): Ensure worker and vector default dims don't exceed | |
10765 | targ_fn->max_threads_per_block. | |
10766 | ||
0b210c43 TV |
10767 | 2018-07-30 Tom de Vries <tdevries@suse.de> |
10768 | ||
10769 | * plugin/plugin-nvptx.c (struct ptx_device): Add default_dims field. | |
10770 | (nvptx_open_device): Init default_dims for device. | |
10771 | (nvptx_exec): Use default_dims from device. | |
10772 | ||
5883c5cc JJ |
10773 | 2018-07-26 Jakub Jelinek <jakub@redhat.com> |
10774 | ||
5d36384c JJ |
10775 | PR testsuite/86660 |
10776 | * testsuite/libgomp.c++/for-15.C (results): Include it in | |
10777 | omp declare target region. | |
10778 | (main): Use map (always, tofrom: results) instead of | |
10779 | map (tofrom: results). | |
10780 | ||
5883c5cc JJ |
10781 | PR middle-end/86660 |
10782 | * testsuite/libgomp.c/pr86660.c: New test. | |
10783 | ||
88a4654d CP |
10784 | 2018-07-26 Cesar Philippidis <cesar@codesourcery.com> |
10785 | Tom de Vries <tdevries@suse.de> | |
10786 | ||
10787 | * plugin/plugin-nvptx.c (nvptx_exec): Error if the hardware doesn't have | |
10788 | sufficient resources to launch a kernel, and give a hint on how to fix | |
10789 | it. | |
10790 | ||
0c6c2f5f CP |
10791 | 2018-07-26 Cesar Philippidis <cesar@codesourcery.com> |
10792 | Tom de Vries <tdevries@suse.de> | |
10793 | ||
10794 | * plugin/plugin-nvptx.c (struct ptx_device): Add warp_size, | |
10795 | max_threads_per_block and max_threads_per_multiprocessor fields. | |
10796 | (nvptx_open_device): Initialize new fields. | |
10797 | (nvptx_exec): Use num_sms, and new fields. | |
10798 | ||
6dd58010 TV |
10799 | 2018-07-26 Tom de Vries <tdevries@suse.de> |
10800 | ||
10801 | * testsuite/libgomp.oacc-fortran/lib-12.f90: Move acc_async_test calls | |
10802 | to correct locations. Remove xfail. | |
10803 | ||
b2eb1779 TV |
10804 | 2018-07-26 Tom de Vries <tdevries@suse.de> |
10805 | ||
10806 | * testsuite/libgomp.oacc-fortran/lib-13.f90: Replace acc_wait_all with | |
10807 | acc_wait. Move acc_async_test calls to correct locations. Remove | |
10808 | xfail. | |
10809 | ||
b1f45884 NK |
10810 | 2018-07-25 Nicolas Koenig <koenigni@gcc.gnu.org> |
10811 | Thomas Koenig <tkoenig@gcc.gnu.org> | |
10812 | ||
10813 | PR fortran/25829 | |
10814 | * testsuite/libgomp.fortran/async_io_1.f90: New test. | |
10815 | * testsuite/libgomp.fortran/async_io_2.f90: New test. | |
10816 | * testsuite/libgomp.fortran/async_io_3.f90: New test. | |
10817 | * testsuite/libgomp.fortran/async_io_4.f90: New test. | |
10818 | * testsuite/libgomp.fortran/async_io_5.f90: New test. | |
10819 | * testsuite/libgomp.fortran/async_io_6.f90: New test. | |
10820 | * testsuite/libgomp.fortran/async_io_7.f90: New test. | |
10821 | ||
3a106211 JJ |
10822 | 2018-07-17 Jakub Jelinek <jakub@redhat.com> |
10823 | ||
a3bccfa1 JJ |
10824 | PR middle-end/86542 |
10825 | * testsuite/libgomp.c++/pr86542.C: New test. | |
10826 | ||
3a106211 JJ |
10827 | PR middle-end/86539 |
10828 | * testsuite/libgomp.c++/pr86539.C: New test. | |
10829 | ||
2bae8b2f JJ |
10830 | 2018-07-11 Jakub Jelinek <jakub@redhat.com> |
10831 | ||
10832 | PR c++/86443 | |
10833 | * testsuite/libgomp.c++/for-15.C (a): Remove unused variable. | |
10834 | (results): Make sure the variable is not inside declare target region. | |
10835 | (qux): Remove unused function. | |
10836 | ||
0b27c3ed JJ |
10837 | 2018-07-10 Jakub Jelinek <jakub@redhat.com> |
10838 | ||
10839 | PR c++/86443 | |
10840 | * testsuite/libgomp.c++/for-15.C: New test. | |
10841 | ||
f0391511 JJ |
10842 | 2018-06-26 Jakub Jelinek <jakub@redhat.com> |
10843 | ||
10844 | PR c++/86291 | |
10845 | * testsuite/libgomp.c++/pr86291.C: New test. | |
10846 | ||
1a6d1d24 GP |
10847 | 2018-06-24 Gerald Pfeifer <gerald@pfeifer.com> |
10848 | ||
10849 | * libgomp.texi (Top): Move www.openmp.org to https. | |
10850 | (Enabling OpenMP): Ditto. | |
10851 | (omp_get_active_level): Ditto. | |
10852 | (omp_get_ancestor_thread_num): Ditto. | |
10853 | (omp_get_cancellation): Ditto. | |
10854 | (omp_get_default_device): Ditto. | |
10855 | (omp_get_dynamic): Ditto. | |
10856 | (omp_get_level): Ditto. | |
10857 | (omp_get_max_active_levels): Ditto. | |
10858 | (omp_get_max_task_priority): Ditto. | |
10859 | (omp_get_max_threads): Ditto. | |
10860 | (omp_get_nested): Ditto. | |
10861 | (omp_get_num_devices): Ditto. | |
10862 | (omp_get_num_procs): Ditto. | |
10863 | (omp_get_num_teams): Ditto. | |
10864 | (omp_get_num_threads): Ditto. | |
10865 | (omp_get_proc_bind): Ditto. | |
10866 | (omp_get_schedule): Ditto. | |
10867 | (omp_get_team_num): Ditto. | |
10868 | (omp_get_team_size): Ditto. | |
10869 | (omp_get_thread_limit): Ditto. | |
10870 | (omp_get_thread_num): Ditto. | |
10871 | (omp_in_parallel): Ditto. | |
10872 | (omp_in_final): Ditto. | |
10873 | (omp_is_initial_device): Ditto. | |
10874 | (omp_set_default_device): Ditto. | |
10875 | (omp_set_dynamic): Ditto. | |
10876 | (omp_set_max_active_levels): Ditto. | |
10877 | (omp_set_nested): Ditto. | |
10878 | (omp_set_num_threads): Ditto. | |
10879 | (omp_set_schedule): Ditto. | |
10880 | (omp_init_lock): Ditto. | |
10881 | (omp_set_lock): Ditto. | |
10882 | (omp_test_lock): Ditto. | |
10883 | (omp_unset_lock): Ditto. | |
10884 | (omp_destroy_lock): Ditto. | |
10885 | (omp_init_nest_lock): Ditto. | |
10886 | (omp_set_nest_lock): Ditto. | |
10887 | (omp_test_nest_lock): Ditto. | |
10888 | (omp_unset_nest_lock): Ditto. | |
10889 | (omp_destroy_nest_lock): Ditto. | |
10890 | (omp_get_wtick): Ditto. | |
10891 | (omp_get_wtime): Ditto. | |
10892 | (OMP_CANCELLATION): Ditto. | |
10893 | (OMP_DISPLAY_ENV): Ditto. | |
10894 | (OMP_DEFAULT_DEVICE): Ditto. | |
10895 | (OMP_DYNAMIC): Ditto. | |
10896 | (OMP_MAX_ACTIVE_LEVELS): Ditto. | |
10897 | (OMP_MAX_TASK_PRIORITY): Ditto. | |
10898 | (OMP_NESTED): Ditto. | |
10899 | (OMP_NUM_THREADS): Ditto. | |
10900 | (OMP_PROC_BIND): Ditto. | |
10901 | (OMP_PLACES): Ditto. | |
10902 | (OMP_STACKSIZE): Ditto. | |
10903 | (OMP_SCHEDULE): Ditto. | |
10904 | (OMP_THREAD_LIMIT): Ditto. | |
10905 | (OMP_WAIT_POLICY): Ditto. | |
10906 | ||
31dd69b7 CP |
10907 | 2018-06-22 Cesar Philippidis <cesar@codesourcery.com> |
10908 | James Norris <jnorris@codesourcery.com> | |
10909 | Julian Brown <julian@codesourcery.com> | |
10910 | Thomas Schwinge <thomas@codesourcery.com> | |
10911 | Tom de Vries <tom@codesourcery.com> | |
10912 | ||
10913 | * testsuite/libgomp.oacc-c-c++-common/loop-red-wv-1.c: Don't force "-O2". | |
10914 | * testsuite/libgomp.oacc-c-c++-common/data-2.c: Update. | |
10915 | * testsuite/libgomp.oacc-c-c++-common/host_data-1.c: Likewise. | |
10916 | * testsuite/libgomp.oacc-c-c++-common/mode-transitions.c: Likewise. | |
10917 | * testsuite/libgomp.oacc-fortran/data-1.f90: Likewise. | |
10918 | * testsuite/libgomp.oacc-fortran/data-2.f90: Likewise. | |
10919 | * testsuite/libgomp.oacc-c++/non-scalar-data.C: New file. | |
10920 | * testsuite/libgomp.oacc-c-c++-common/declare-3.c: Likewise. | |
10921 | * testsuite/libgomp.oacc-c-c++-common/enter-data.c: Likewise. | |
10922 | * testsuite/libgomp.oacc-c-c++-common/kernels-loop-data-2.c: | |
10923 | Likewise. | |
10924 | * testsuite/libgomp.oacc-c-c++-common/kernels-loop-data-enter-exit-2.c: | |
10925 | Likewise. | |
10926 | * testsuite/libgomp.oacc-c-c++-common/kernels-loop-data-enter-exit.c: | |
10927 | Likewise. | |
10928 | * testsuite/libgomp.oacc-c-c++-common/kernels-loop-data-update.c: | |
10929 | Likewise. | |
10930 | * testsuite/libgomp.oacc-c-c++-common/kernels-loop-data.c: | |
10931 | Likewise. | |
10932 | * testsuite/libgomp.oacc-c-c++-common/kernels-parallel-loop-data-enter-exit.c: | |
10933 | Likewise. | |
10934 | * testsuite/libgomp.oacc-c-c++-common/kernels-private-vars-local-worker-1.c: | |
10935 | Likewise. | |
10936 | * testsuite/libgomp.oacc-c-c++-common/kernels-private-vars-local-worker-2.c: | |
10937 | Likewise. | |
10938 | * testsuite/libgomp.oacc-c-c++-common/kernels-private-vars-local-worker-3.c: | |
10939 | Likewise. | |
10940 | * testsuite/libgomp.oacc-c-c++-common/kernels-private-vars-local-worker-4.c: | |
10941 | Likewise. | |
10942 | * testsuite/libgomp.oacc-c-c++-common/kernels-private-vars-local-worker-5.c: | |
10943 | Likewise. | |
10944 | * testsuite/libgomp.oacc-c-c++-common/kernels-private-vars-loop-gang-1.c: | |
10945 | Likewise. | |
10946 | * testsuite/libgomp.oacc-c-c++-common/kernels-private-vars-loop-gang-2.c: | |
10947 | Likewise. | |
10948 | * testsuite/libgomp.oacc-c-c++-common/kernels-private-vars-loop-gang-3.c: | |
10949 | Likewise. | |
10950 | * testsuite/libgomp.oacc-c-c++-common/kernels-private-vars-loop-gang-4.c: | |
10951 | Likewise. | |
10952 | * testsuite/libgomp.oacc-c-c++-common/kernels-private-vars-loop-gang-5.c: | |
10953 | Likewise. | |
10954 | * testsuite/libgomp.oacc-c-c++-common/kernels-private-vars-loop-gang-6.c: | |
10955 | Likewise. | |
10956 | * testsuite/libgomp.oacc-c-c++-common/kernels-private-vars-loop-vector-1.c: | |
10957 | Likewise. | |
10958 | * testsuite/libgomp.oacc-c-c++-common/kernels-private-vars-loop-vector-2.c: | |
10959 | Likewise. | |
10960 | * testsuite/libgomp.oacc-c-c++-common/kernels-private-vars-loop-worker-1.c: | |
10961 | Likewise. | |
10962 | * testsuite/libgomp.oacc-c-c++-common/kernels-private-vars-loop-worker-2.c: | |
10963 | Likewise. | |
10964 | * testsuite/libgomp.oacc-c-c++-common/kernels-private-vars-loop-worker-3.c: | |
10965 | Likewise. | |
10966 | * testsuite/libgomp.oacc-c-c++-common/kernels-private-vars-loop-worker-4.c: | |
10967 | Likewise. | |
10968 | * testsuite/libgomp.oacc-c-c++-common/kernels-private-vars-loop-worker-5.c: | |
10969 | Likewise. | |
10970 | * testsuite/libgomp.oacc-c-c++-common/kernels-private-vars-loop-worker-6.c: | |
10971 | Likewise. | |
10972 | * testsuite/libgomp.oacc-c-c++-common/kernels-private-vars-loop-worker-7.c: | |
10973 | Likewise. | |
10974 | * testsuite/libgomp.oacc-c-c++-common/kernels-reduction-1.c: | |
10975 | Likewise. | |
10976 | * testsuite/libgomp.oacc-c-c++-common/parallel-loop-1.c: Likewise. | |
10977 | * testsuite/libgomp.oacc-c-c++-common/parallel-loop-1.h: Likewise. | |
10978 | * testsuite/libgomp.oacc-c-c++-common/parallel-loop-2.h: Likewise. | |
10979 | * testsuite/libgomp.oacc-fortran/cublas-fixed.h: Likewise. | |
10980 | * testsuite/libgomp.oacc-fortran/dummy-array.f90: Likewise. | |
10981 | * testsuite/libgomp.oacc-fortran/host_data-2.f90: Likewise. | |
10982 | * testsuite/libgomp.oacc-fortran/host_data-3.f: Likewise. | |
10983 | * testsuite/libgomp.oacc-fortran/host_data-4.f90: Likewise. | |
10984 | * testsuite/libgomp.oacc-fortran/kernels-acc-loop-reduction-2.f90: | |
10985 | Likewise. | |
10986 | * testsuite/libgomp.oacc-fortran/kernels-acc-loop-reduction.f90: | |
10987 | Likewise. | |
10988 | * testsuite/libgomp.oacc-fortran/kernels-collapse-3.f90: Likewise. | |
10989 | * testsuite/libgomp.oacc-fortran/kernels-collapse-4.f90: Likewise. | |
10990 | * testsuite/libgomp.oacc-fortran/kernels-independent.f90: | |
10991 | Likewise. | |
10992 | * testsuite/libgomp.oacc-fortran/kernels-loop-1.f90: Likewise. | |
10993 | * testsuite/libgomp.oacc-fortran/kernels-map-1.f90: Likewise. | |
10994 | * testsuite/libgomp.oacc-fortran/kernels-parallel-loop-data-enter-exit.f95: | |
10995 | Likewise. | |
10996 | * testsuite/libgomp.oacc-fortran/kernels-private-vars-loop-gang-1.f90: | |
10997 | Likewise. | |
10998 | * testsuite/libgomp.oacc-fortran/kernels-private-vars-loop-gang-2.f90: | |
10999 | Likewise. | |
11000 | * testsuite/libgomp.oacc-fortran/kernels-private-vars-loop-gang-3.f90: | |
11001 | Likewise. | |
11002 | * testsuite/libgomp.oacc-fortran/kernels-private-vars-loop-gang-6.f90: | |
11003 | Likewise. | |
11004 | * testsuite/libgomp.oacc-fortran/kernels-private-vars-loop-vector-1.f90: | |
11005 | Likewise. | |
11006 | * testsuite/libgomp.oacc-fortran/kernels-private-vars-loop-vector-2.f90: | |
11007 | Likewise. | |
11008 | * testsuite/libgomp.oacc-fortran/kernels-private-vars-loop-worker-1.f90: | |
11009 | Likewise. | |
11010 | * testsuite/libgomp.oacc-fortran/kernels-private-vars-loop-worker-2.f90: | |
11011 | Likewise. | |
11012 | * testsuite/libgomp.oacc-fortran/kernels-private-vars-loop-worker-3.f90: | |
11013 | Likewise. | |
11014 | * testsuite/libgomp.oacc-fortran/kernels-private-vars-loop-worker-4.f90: | |
11015 | Likewise. | |
11016 | * testsuite/libgomp.oacc-fortran/kernels-private-vars-loop-worker-5.f90: | |
11017 | Likewise. | |
11018 | * testsuite/libgomp.oacc-fortran/kernels-private-vars-loop-worker-6.f90: | |
11019 | Likewise. | |
11020 | * testsuite/libgomp.oacc-fortran/kernels-private-vars-loop-worker-7.f90: | |
11021 | Likewise. | |
11022 | * testsuite/libgomp.oacc-fortran/kernels-reduction-1.f90: | |
11023 | Likewise. | |
11024 | * testsuite/libgomp.oacc-fortran/lib-12.f90: Likewise. | |
11025 | * testsuite/libgomp.oacc-fortran/lib-13.f90: Likewise. | |
11026 | * testsuite/libgomp.oacc-fortran/lib-14.f90: Likewise. | |
11027 | * testsuite/libgomp.oacc-fortran/lib-15.f90: Likewise. | |
11028 | * testsuite/libgomp.oacc-fortran/parallel-loop-1.f90: Likewise. | |
11029 | * testsuite/libgomp.oacc-fortran/reference-reductions.f90: Likewise. | |
11030 | * testsuite/libgomp.oacc-fortran/vector-routine.f90: Likewise. | |
11031 | ||
829c6349 CLT |
11032 | 2018-06-20 Chung-Lin Tang <cltang@codesourcery.com> |
11033 | Thomas Schwinge <thomas@codesourcery.com> | |
11034 | Cesar Philippidis <cesar@codesourcery.com> | |
11035 | ||
11036 | * libgomp.h (struct splay_tree_key_s): Add dynamic_refcount member. | |
11037 | (gomp_acc_remove_pointer): Update declaration. | |
11038 | (gomp_acc_declare_allocate): Declare. | |
11039 | (gomp_remove_var): Declare. | |
11040 | * libgomp.map (OACC_2.5): Define. | |
11041 | * oacc-mem.c (acc_map_data): Update refcount. | |
11042 | (acc_unmap_data): Likewise. | |
11043 | (present_create_copy): Likewise. | |
11044 | (acc_create): Add FLAG_PRESENT when calling present_create_copy. | |
11045 | (acc_copyin): Likewise. | |
11046 | (FLAG_FINALIZE): Define. | |
11047 | (delete_copyout): Update dynamic refcounts, add support for FINALIZE. | |
11048 | (acc_delete_finalize): New function. | |
11049 | (acc_delete_finalize_async): New function. | |
11050 | (acc_copyout_finalize): New function. | |
11051 | (acc_copyout_finalize_async): New function. | |
11052 | (gomp_acc_insert_pointer): Update refcounts. | |
11053 | (gomp_acc_remove_pointer): Return if data is not present on the | |
11054 | accelerator. | |
11055 | * oacc-parallel.c (find_pset): Rename to find_pointer. | |
11056 | (find_pointer): Add support for GOMP_MAP_POINTER. | |
11057 | (handle_ftn_pointers): New function. | |
11058 | (GOACC_parallel_keyed): Update refcounts of variables. | |
11059 | (GOACC_enter_exit_data): Add support for finalized data mappings. | |
11060 | Add support for GOMP_MAP_{TO,ALLOC,RELESE,FROM}. Update handling | |
11061 | of fortran arrays. | |
11062 | (GOACC_update): Add support for GOMP_MAP_{ALWAYS_POINTER,TO,FROM}. | |
11063 | (GOACC_declare): Add support for GOMP_MAP_RELEASE, remove support | |
11064 | for GOMP_MAP_FORCE_FROM. | |
11065 | * openacc.f90 (module openacc_internal): Add | |
11066 | acc_copyout_finalize_{32_h,64_h,array_h,_l}, and | |
11067 | acc_delete_finalize_{32_h,64_h,array_h,_l}. Add interfaces for | |
11068 | acc_copyout_finalize and acc_delete_finalize. | |
11069 | (acc_copyout_finalize_32_h): New subroutine. | |
11070 | (acc_copyout_finalize_64_h): New subroutine. | |
11071 | (acc_copyout_finalize_array_h): New subroutine. | |
11072 | (acc_delete_finalize_32_h): New subroutine. | |
11073 | (acc_delete_finalize_64_h): New subroutine. | |
11074 | (acc_delete_finalize_array_h): New subroutine. | |
11075 | * openacc.h (acc_copyout_finalize): Declare. | |
11076 | (acc_copyout_finalize_async): Declare. | |
11077 | (acc_delete_finalize): Declare. | |
11078 | (acc_delete_finalize_async): Declare. | |
11079 | * openacc_lib.h (acc_copyout_finalize): New interface. | |
11080 | (acc_delete_finalize): New interface. | |
11081 | * target.c (gomp_map_vars): Update dynamic_refcount. | |
11082 | (gomp_remove_var): New function. | |
11083 | (gomp_unmap_vars): Use it. | |
11084 | (gomp_unload_image_from_device): Likewise. | |
11085 | * testsuite/libgomp.oacc-c-c++-common/data-already-1.c: Update test | |
11086 | case to utilize OpenACC 2.5 data clause semantics. | |
11087 | * testsuite/libgomp.oacc-c-c++-common/data-already-2.c: Likewise. | |
11088 | * testsuite/libgomp.oacc-c-c++-common/data-already-3.c: Likewise. | |
11089 | * testsuite/libgomp.oacc-c-c++-common/data-already-4.c: Likewise. | |
11090 | * testsuite/libgomp.oacc-c-c++-common/data-already-5.c: Likewise. | |
11091 | * testsuite/libgomp.oacc-c-c++-common/data-already-6.c: Likewise. | |
11092 | * testsuite/libgomp.oacc-c-c++-common/data-already-7.c: Likewise. | |
11093 | * testsuite/libgomp.oacc-c-c++-common/data-already-8.c: Likewise. | |
11094 | * testsuite/libgomp.oacc-c-c++-common/lib-16.c: Likewise. | |
11095 | * testsuite/libgomp.oacc-c-c++-common/lib-25.c: Likewise. | |
11096 | * testsuite/libgomp.oacc-c-c++-common/lib-32.c: Likewise. | |
11097 | * testsuite/libgomp.oacc-c-c++-common/lib-83.c: Likewise. | |
11098 | * testsuite/libgomp.oacc-fortran/data-5.f90: New test. | |
11099 | * testsuite/libgomp.oacc-fortran/data-already-1.f: Update test case to | |
11100 | utilize OpenACC 2.5 data clause semantics. | |
11101 | * testsuite/libgomp.oacc-fortran/data-already-2.f: Likewise. | |
11102 | * testsuite/libgomp.oacc-fortran/data-already-3.f: Likewise. | |
11103 | * testsuite/libgomp.oacc-fortran/data-already-4.f: Likewise. | |
11104 | * testsuite/libgomp.oacc-fortran/data-already-5.f: Likewise. | |
11105 | * testsuite/libgomp.oacc-fortran/data-already-6.f: Likewise. | |
11106 | * testsuite/libgomp.oacc-fortran/data-already-7.f: Likewise. | |
11107 | * testsuite/libgomp.oacc-fortran/data-already-8.f: Likewise. | |
11108 | * testsuite/libgomp.oacc-fortran/lib-32-1.f: Likewise. | |
11109 | * testsuite/libgomp.oacc-fortran/lib-32-2.f: Likewise. | |
11110 | ||
4358400b JW |
11111 | 2018-05-21 Janus Weil <janus@gcc.gnu.org> |
11112 | ||
11113 | PR fortran/85841 | |
11114 | PR testsuite/85865 | |
11115 | * testsuite/libgomp.fortran/collapse2.f90: Add option "-std=legacy". | |
11116 | * testsuite/libgomp.fortran/omp_atomic2.f90: Ditto. | |
11117 | * testsuite/libgomp.fortran/omp_parse1.f90: Ditto. | |
11118 | * testsuite/libgomp.fortran/omp_parse3.f90: Ditto. | |
11119 | * testsuite/libgomp.fortran/task2.f90: Ditto. | |
11120 | * testsuite/libgomp.fortran/vla1.f90: Ditto. | |
11121 | * testsuite/libgomp.fortran/vla2.f90: Ditto. | |
11122 | * testsuite/libgomp.fortran/vla3.f90: Ditto. | |
11123 | * testsuite/libgomp.fortran/vla4.f90: Ditto. | |
11124 | * testsuite/libgomp.fortran/vla5.f90: Ditto. | |
11125 | * testsuite/libgomp.fortran/vla6.f90: Ditto. | |
11126 | * testsuite/libgomp.fortran/vla8.f90: Ditto. | |
11127 | * testsuite/libgomp.oacc-fortran/collapse-2.f90: Ditto. | |
11128 | * testsuite/libgomp.oacc-fortran/nested-function-1.f90: Ditto. | |
11129 | ||
950ad0ba CP |
11130 | 2018-05-18 Cesar Philippidis <cesar@codesourcery.com> |
11131 | ||
11132 | PR c++/85782 | |
11133 | * testsuite/libgomp.oacc-c-c++-common/pr85782.c: New test. | |
11134 | ||
f5ad16f1 TV |
11135 | 2018-05-09 Tom de Vries <tom@codesourcery.com> |
11136 | ||
11137 | PR libgomp/82901 | |
11138 | * oacc-parallel.c (GOACC_declare): Use GOMP_ASYNC_SYNC as async argument | |
11139 | to GOACC_enter_exit_data. | |
11140 | ||
edbd038a TV |
11141 | 2018-05-09 Tom de Vries <tom@codesourcery.com> |
11142 | ||
11143 | PR libgomp/83792 | |
11144 | * oacc-int.h (async_valid_stream_id_p, async_valid_p) | |
11145 | (async_synchronous_p): New function. | |
11146 | * oacc-async.c (acc_async_test, acc_wait, acc_wait_all_async): Use | |
11147 | async_valid_p. | |
11148 | * oacc-cuda.c (acc_get_cuda_stream, acc_set_cuda_stream): Use | |
11149 | async_valid_stream_id_p. | |
11150 | * oacc-mem.c (gomp_acc_remove_pointer): Use async_synchronous_p. | |
11151 | * oacc-parallel.c (GOACC_parallel_keyed): Same. | |
11152 | ||
37d6c719 TV |
11153 | 2018-05-07 Tom de Vries <tom@codesourcery.com> |
11154 | ||
11155 | PR testsuite/85677 | |
11156 | * testsuite/lib/libgomp.exp (libgomp_init): Move inclusion of top-level | |
11157 | include directory in ALWAYS_CFLAGS out of $blddir != "" condition. | |
11158 | ||
63f12215 TV |
11159 | 2018-05-03 Tom de Vries <tom@codesourcery.com> |
11160 | ||
11161 | PR testsuite/85106 | |
11162 | * testsuite/lib/libgomp-dg.exp (libgomp-dg-test): Add save-temps to | |
11163 | extra_tool_flags if it contains an -foffload=-fdump-* flag. | |
11164 | * testsuite/lib/libgomp.exp: Include scanoffloadtree.exp. | |
11165 | * testsuite/libgomp.oacc-c/vec.c: Use scan-offload-tree-dump. | |
11166 | ||
ec00d3fa TV |
11167 | 2018-05-02 Tom de Vries <tom@codesourcery.com> |
11168 | ||
11169 | PR libgomp/85411 | |
11170 | * plugin/plugin-nvptx.c (nvptx_exec): Move parsing of | |
11171 | GOMP_OPENACC_DIM ... | |
11172 | * env.c (parse_gomp_openacc_dim): ... here. New function. | |
11173 | (initialize_env): Call parse_gomp_openacc_dim. | |
11174 | (goacc_default_dims): Define. | |
11175 | * libgomp.h (goacc_default_dims): Declare. | |
11176 | * oacc-plugin.c (GOMP_PLUGIN_acc_default_dim): New function. | |
11177 | * oacc-plugin.h (GOMP_PLUGIN_acc_default_dim): Declare. | |
11178 | * libgomp.map: New version "GOMP_PLUGIN_1.2". Add | |
11179 | GOMP_PLUGIN_acc_default_dim. | |
11180 | * testsuite/libgomp.oacc-c-c++-common/loop-default-runtime.c: New test. | |
11181 | * testsuite/libgomp.oacc-c-c++-common/loop-default.h: New test. | |
11182 | ||
92243e7c TV |
11183 | 2018-05-02 Tom de Vries <tom@codesourcery.com> |
11184 | ||
11185 | PR testsuite/83791 | |
11186 | * testsuite/libgomp.c++/udr-9.C: Update. | |
11187 | * testsuite/libgomp.c++/atomic-16.C: Remove. | |
11188 | * testsuite/libgomp.c++/cancel-taskgroup-2.C: Remove. | |
11189 | * testsuite/libgomp.c++/loop-13.C: Remove. | |
11190 | * testsuite/libgomp.c++/loop-14.C: Remove. | |
11191 | * testsuite/libgomp.c++/loop-15.C: Remove. | |
11192 | * testsuite/libgomp.c++/monotonic-1.C: Remove. | |
11193 | * testsuite/libgomp.c++/monotonic-2.C: Remove. | |
11194 | * testsuite/libgomp.c++/nonmonotonic-1.C: Remove. | |
11195 | * testsuite/libgomp.c++/nonmonotonic-2.C: Remove. | |
11196 | * testsuite/libgomp.c++/ordered-1.C: Remove. | |
11197 | * testsuite/libgomp.c++/pr45784.C: Remove. | |
11198 | * testsuite/libgomp.c++/pr64824.C: Remove. | |
11199 | * testsuite/libgomp.c++/pr64868.C: Remove. | |
11200 | * testsuite/libgomp.c++/pr66199-1.C: Remove. | |
11201 | * testsuite/libgomp.c++/pr66199-2.C: Remove. | |
11202 | * testsuite/libgomp.c++/pr66199-3.C: Remove. | |
11203 | * testsuite/libgomp.c++/pr66199-4.C: Remove. | |
11204 | * testsuite/libgomp.c++/pr66199-5.C: Remove. | |
11205 | * testsuite/libgomp.c++/pr66199-6.C: Remove. | |
11206 | * testsuite/libgomp.c++/pr66199-7.C: Remove. | |
11207 | * testsuite/libgomp.c++/pr66199-8.C: Remove. | |
11208 | * testsuite/libgomp.c++/pr66199-9.C: Remove. | |
11209 | * testsuite/libgomp.c++/pr69389.C: Remove. | |
11210 | * testsuite/libgomp.c++/simd10.C: Remove. | |
11211 | * testsuite/libgomp.c++/simd11.C: Remove. | |
11212 | * testsuite/libgomp.c++/simd12.C: Remove. | |
11213 | * testsuite/libgomp.c++/simd13.C: Remove. | |
11214 | * testsuite/libgomp.c++/target-1.C: Remove. | |
11215 | * testsuite/libgomp.c++/target-3.C: Remove. | |
11216 | * testsuite/libgomp.c++/target-4.C: Remove. | |
11217 | * testsuite/libgomp.c++/target-5.C: Remove. | |
11218 | * testsuite/libgomp.c++/taskgroup-1.C: Remove. | |
11219 | * testsuite/libgomp.c++/taskloop-1.C: Remove. | |
11220 | * testsuite/libgomp.c++/taskloop-2.C: Remove. | |
11221 | * testsuite/libgomp.c++/taskloop-3.C: Remove. | |
11222 | * testsuite/libgomp.c++/taskloop-4.C: Remove. | |
11223 | * testsuite/libgomp.c++/udr-9.C: Remove. | |
11224 | * testsuite/libgomp.c++/for-10.C: Remove. | |
11225 | * testsuite/libgomp.c++/for-11.C: Remove. | |
11226 | * testsuite/libgomp.c++/for-12.C: Remove. | |
11227 | * testsuite/libgomp.c++/for-13.C: Remove. | |
11228 | * testsuite/libgomp.c++/for-14.C: Remove. | |
11229 | * testsuite/libgomp.c++/for-9.C: Remove. | |
11230 | * testsuite/libgomp.c/atomic-18.c: Move ... | |
11231 | * testsuite/libgomp.c-c++-common/atomic-18.c: ... here. | |
11232 | * testsuite/libgomp.c/cancel-taskgroup-2.c: Move ... | |
11233 | * testsuite/libgomp.c-c++-common/cancel-taskgroup-2.c: here. | |
11234 | * testsuite/libgomp.c/loop-13.c: Move ... | |
11235 | * testsuite/libgomp.c-c++-common/loop-13.c: ... here. | |
11236 | * testsuite/libgomp.c/loop-14.c: Move ... | |
11237 | * testsuite/libgomp.c-c++-common/loop-14.c: ... here. | |
11238 | * testsuite/libgomp.c/loop-15.c: Remove. | |
11239 | * testsuite/libgomp.c-c++-common/loop-15.c: New test. | |
11240 | * testsuite/libgomp.c/monotonic-1.c: Move ... | |
11241 | * testsuite/libgomp.c-c++-common/monotonic-1.c: ... here. | |
11242 | * testsuite/libgomp.c/monotonic-2.c: Move ... | |
11243 | * testsuite/libgomp.c-c++-common/monotonic-2.c: ... here. | |
11244 | * testsuite/libgomp.c/nonmonotonic-1.c: Move ... | |
11245 | * testsuite/libgomp.c-c++-common/nonmonotonic-1.c: ... here. | |
11246 | * testsuite/libgomp.c/nonmonotonic-2.c: Move ... | |
11247 | * testsuite/libgomp.c-c++-common/nonmonotonic-2.c: ... here. | |
11248 | * testsuite/libgomp.c/ordered-4.c: Move ... | |
11249 | * testsuite/libgomp.c-c++-common/ordered-4.c: ... here. | |
11250 | * testsuite/libgomp.c/pr45784.c: Move ... | |
11251 | * testsuite/libgomp.c-c++-common/pr45784.c: ... here. | |
11252 | * testsuite/libgomp.c/pr64824.c: Move ... | |
11253 | * testsuite/libgomp.c-c++-common/pr64824.c: ... here. | |
11254 | * testsuite/libgomp.c/pr64868.c: Move ... | |
11255 | * testsuite/libgomp.c-c++-common/pr64868.c: ... here. | |
11256 | * testsuite/libgomp.c/pr66199-1.c: Move ... | |
11257 | * testsuite/libgomp.c-c++-common/pr66199-1.c: ... here. | |
11258 | * testsuite/libgomp.c/pr66199-2.c: Move ... | |
11259 | * testsuite/libgomp.c-c++-common/pr66199-2.c: ... here. | |
11260 | * testsuite/libgomp.c/pr66199-3.c: Move ... | |
11261 | * testsuite/libgomp.c-c++-common/pr66199-3.c: ... here. | |
11262 | * testsuite/libgomp.c/pr66199-4.c: Move ... | |
11263 | * testsuite/libgomp.c-c++-common/pr66199-4.c: ... here. | |
11264 | * testsuite/libgomp.c/pr66199-5.c: Move ... | |
11265 | * testsuite/libgomp.c-c++-common/pr66199-5.c: ... here. | |
11266 | * testsuite/libgomp.c/pr66199-6.c: Move ... | |
11267 | * testsuite/libgomp.c-c++-common/pr66199-6.c: ... here. | |
11268 | * testsuite/libgomp.c/pr66199-7.c: Move ... | |
11269 | * testsuite/libgomp.c-c++-common/pr66199-7.c: ... here. | |
11270 | * testsuite/libgomp.c/pr66199-8.c: Move ... | |
11271 | * testsuite/libgomp.c-c++-common/pr66199-8.c: ... here. | |
11272 | * testsuite/libgomp.c/pr66199-9.c: Move ... | |
11273 | * testsuite/libgomp.c-c++-common/pr66199-9.c: ... here. | |
11274 | * testsuite/libgomp.c/pr69389.c: Move ... | |
11275 | * testsuite/libgomp.c-c++-common/pr69389.c: ... here. | |
11276 | * testsuite/libgomp.c/simd-14.c: Move ... | |
11277 | * testsuite/libgomp.c-c++-common/simd-14.c: ... here. | |
11278 | * testsuite/libgomp.c/simd-15.c: Move ... | |
11279 | * testsuite/libgomp.c-c++-common/simd-15.c: ... here. | |
11280 | * testsuite/libgomp.c/simd-16.c: Move ... | |
11281 | * testsuite/libgomp.c-c++-common/simd-16.c: ... here. | |
11282 | * testsuite/libgomp.c/simd-17.c: Move ... | |
11283 | * testsuite/libgomp.c-c++-common/simd-17.c: ... here. | |
11284 | * testsuite/libgomp.c/target-1.c: Move ... | |
11285 | * testsuite/libgomp.c-c++-common/target-1.c: ... here. | |
11286 | * testsuite/libgomp.c/target-10.c: Move ... | |
11287 | * testsuite/libgomp.c-c++-common/target-10.c: ... here. | |
11288 | * testsuite/libgomp.c/target-13.c: Move ... | |
11289 | * testsuite/libgomp.c-c++-common/target-13.c: ... here. | |
11290 | * testsuite/libgomp.c/target-2.c: Move ... | |
11291 | * testsuite/libgomp.c-c++-common/target-2.c: ... here. | |
11292 | * testsuite/libgomp.c/taskgroup-1.c: Move ... | |
11293 | * testsuite/libgomp.c-c++-common/taskgroup-1.c: ... here. | |
11294 | * testsuite/libgomp.c/taskloop-1.c: Move ... | |
11295 | * testsuite/libgomp.c-c++-common/taskloop-1.c: ... here. | |
11296 | * testsuite/libgomp.c/taskloop-2.c: Move ... | |
11297 | * testsuite/libgomp.c-c++-common/taskloop-2.c: ... here. | |
11298 | * testsuite/libgomp.c/taskloop-3.c: Move ... | |
11299 | * testsuite/libgomp.c-c++-common/taskloop-3.c: ... here. | |
11300 | * testsuite/libgomp.c/taskloop-4.c: Move ... | |
11301 | * testsuite/libgomp.c-c++-common/taskloop-4.c: ... here. | |
11302 | * testsuite/libgomp.c/udr-1.c: Move ... | |
11303 | * testsuite/libgomp.c-c++-common/udr-1.c: ... here. | |
11304 | * testsuite/libgomp.c/for-1.c: Move ... | |
11305 | * testsuite/libgomp.c-c++-common/for-1.c: ... here. | |
11306 | * testsuite/libgomp.c/for-1.h: Move ... | |
11307 | * testsuite/libgomp.c-c++-common/for-1.h: ... here. | |
11308 | * testsuite/libgomp.c/for-2.c: Move ... | |
11309 | * testsuite/libgomp.c-c++-common/for-2.c: ... here. | |
11310 | * testsuite/libgomp.c/for-2.h: Move ... | |
11311 | * testsuite/libgomp.c-c++-common/for-2.h: ... here. | |
11312 | * testsuite/libgomp.c/for-3.c: Move ... | |
11313 | * testsuite/libgomp.c-c++-common/for-3.c: ... here. | |
11314 | * testsuite/libgomp.c/for-4.c: Move ... | |
11315 | * testsuite/libgomp.c-c++-common/for-4.c: ... here. | |
11316 | * testsuite/libgomp.c/for-5.c: Move ... | |
11317 | * testsuite/libgomp.c-c++-common/for-5.c: ... here. | |
11318 | * testsuite/libgomp.c/for-6.c: Move ... | |
11319 | * testsuite/libgomp.c-c++-common/for-6.c: ... here. | |
11320 | ||
1f62d637 TV |
11321 | 2018-05-02 Tom de Vries <tom@codesourcery.com> |
11322 | ||
11323 | PR libgomp/82428 | |
11324 | * testsuite/libgomp.oacc-c-c++-common/gang-static-2.c: Use | |
11325 | __builtin_goacc_parlevel_{id,size}. | |
11326 | * testsuite/libgomp.oacc-c-c++-common/loop-auto-1.c: Same. | |
11327 | * testsuite/libgomp.oacc-c-c++-common/loop-dim-default.c: Same. | |
11328 | * testsuite/libgomp.oacc-c-c++-common/loop-g-1.c: Same. | |
11329 | * testsuite/libgomp.oacc-c-c++-common/loop-g-2.c: Same. | |
11330 | * testsuite/libgomp.oacc-c-c++-common/loop-gwv-1.c: Same. | |
11331 | * testsuite/libgomp.oacc-c-c++-common/loop-red-g-1.c: Same. | |
11332 | * testsuite/libgomp.oacc-c-c++-common/loop-red-gwv-1.c: Same. | |
11333 | * testsuite/libgomp.oacc-c-c++-common/loop-red-v-1.c: Same. | |
11334 | * testsuite/libgomp.oacc-c-c++-common/loop-red-v-2.c: Same. | |
11335 | * testsuite/libgomp.oacc-c-c++-common/loop-red-w-1.c: Same. | |
11336 | * testsuite/libgomp.oacc-c-c++-common/loop-red-w-2.c: Same. | |
11337 | * testsuite/libgomp.oacc-c-c++-common/loop-red-wv-1.c: Same. | |
11338 | * testsuite/libgomp.oacc-c-c++-common/loop-v-1.c: Same. | |
11339 | * testsuite/libgomp.oacc-c-c++-common/loop-w-1.c: Same. | |
11340 | * testsuite/libgomp.oacc-c-c++-common/loop-wv-1.c: Same. | |
11341 | * testsuite/libgomp.oacc-c-c++-common/parallel-dims.c: Same. | |
11342 | * testsuite/libgomp.oacc-c-c++-common/routine-g-1.c: Same. | |
11343 | * testsuite/libgomp.oacc-c-c++-common/routine-gwv-1.c: Same. | |
11344 | * testsuite/libgomp.oacc-c-c++-common/routine-v-1.c: Same. | |
11345 | * testsuite/libgomp.oacc-c-c++-common/routine-w-1.c: Same. | |
11346 | * testsuite/libgomp.oacc-c-c++-common/routine-wv-1.c: Same. | |
11347 | * testsuite/libgomp.oacc-c-c++-common/routine-wv-2.c: Same. | |
11348 | * testsuite/libgomp.oacc-c-c++-common/tile-1.c: Same. | |
11349 | ||
9220b511 TV |
11350 | 2018-05-02 Tom de Vries <tom@codesourcery.com> |
11351 | ||
11352 | PR testsuite/85106 | |
11353 | * testsuite/lib/libgomp.exp: Include scanltranstree.exp. | |
11354 | ||
6c3c13c1 TV |
11355 | 2018-05-02 Tom de Vries <tom@codesourcery.com> |
11356 | ||
11357 | PR testsuite/85106 | |
11358 | * testsuite/lib/libgomp.exp: Include scanwpaipa.exp. | |
11359 | ||
8d70b61e JB |
11360 | 2018-04-29 Julian Brown <julian@codesourcery.com> |
11361 | Tom de Vries <tom@codesourcery.com> | |
11362 | ||
11363 | PR testsuite/85527 | |
11364 | * testsuite/libgomp.oacc-c-c++-common/atomic_capture-1.c: Allow | |
11365 | arbitrary order for iterations of atomic subtract check. | |
11366 | ||
4a57a4b6 TV |
11367 | 2018-04-28 Tom de Vries <tom@codesourcery.com> |
11368 | ||
11369 | PR testsuite/85527 | |
11370 | * testsuite/libgomp.oacc-fortran/atomic_capture-1.f90 (main): Store | |
11371 | atomic capture results obtained in parallel loop to an array, instead of | |
11372 | to a scalar. | |
11373 | ||
df36a3d3 TV |
11374 | 2018-04-26 Tom de Vries <tom@codesourcery.com> |
11375 | ||
11376 | PR libgomp/84020 | |
11377 | * plugin/cuda/cuda.h (CUjit_option): Add CU_JIT_OPTIMIZATION_LEVEL. | |
11378 | * plugin/plugin-nvptx.c (_GNU_SOURCE): Define. | |
11379 | (process_GOMP_NVPTX_JIT): New function. | |
11380 | (link_ptx): Use process_GOMP_NVPTX_JIT. | |
11381 | ||
d160ae78 RB |
11382 | 2018-04-26 Richard Biener <rguenther@suse.de> |
11383 | Tom de Vries <tom@codesourcery.com> | |
11384 | ||
11385 | PR lto/85422 | |
11386 | * testsuite/libgomp.oacc-c-c++-common/pr85422.c: New test. | |
11387 | ||
ca9dc642 TV |
11388 | 2018-04-26 Tom de Vries <tom@codesourcery.com> |
11389 | ||
11390 | PR target/85519 | |
11391 | * testsuite/libgomp.fortran/examples-4/declare_target-1.f90: Reduce | |
11392 | recursion depth from 25 to 23. | |
11393 | * testsuite/libgomp.fortran/examples-4/declare_target-2.f90: Same. | |
11394 | ||
7b47ecf2 L |
11395 | 2018-04-24 H.J. Lu <hongjiu.lu@intel.com> |
11396 | ||
11397 | * configure: Regenerated. | |
11398 | ||
e91eba31 NS |
11399 | 2018-04-20 Nathan Sidwell <nathan@codesourcery.com> |
11400 | Tom de Vries <tom@codesourcery.com> | |
11401 | ||
11402 | PR target/85445 | |
11403 | * testsuite/libgomp.oacc-c++/ref-1.C: New. | |
11404 | ||
6e0d40b6 TS |
11405 | 2018-04-19 Thomas Schwinge <thomas@codesourcery.com> |
11406 | ||
11407 | PR libgomp/85463 | |
11408 | * testsuite/libgomp.oacc-fortran/error_stop-1.f: New file. | |
11409 | * testsuite/libgomp.oacc-fortran/error_stop-2.f: Likewise. | |
11410 | * testsuite/libgomp.oacc-fortran/error_stop-3.f: Likewise. | |
11411 | * testsuite/libgomp.oacc-fortran/stop-1.f: Likewise. | |
11412 | * testsuite/libgomp.oacc-fortran/stop-2.f: Likewise. | |
11413 | * testsuite/libgomp.oacc-fortran/stop-3.f: Likewise. | |
11414 | ||
11415 | PR libfortran/85166 | |
11416 | * testsuite/libgomp.oacc-fortran/abort-1.f90: Switch back to "call | |
11417 | abort". | |
11418 | * testsuite/libgomp.oacc-fortran/abort-2.f90: Likewise. | |
11419 | ||
a0e1df88 JJ |
11420 | 2018-04-19 Jakub Jelinek <jakub@redhat.com> |
11421 | ||
11422 | * configure: Regenerated. | |
11423 | ||
001ddaa8 DM |
11424 | 2018-04-18 David Malcolm <dmalcolm@redhat.com> |
11425 | ||
11426 | PR jit/85384 | |
11427 | * configure: Regenerate. | |
11428 | ||
05e0af43 CP |
11429 | 2018-04-16 Cesar Philippidis <cesar@codesourcery.com> |
11430 | Tom de Vries <tom@codesourcery.com> | |
11431 | ||
11432 | PR middle-end/84955 | |
11433 | * testsuite/libgomp.oacc-c-c++-common/pr84955.c: New test. | |
11434 | * testsuite/libgomp.oacc-fortran/pr84955.f90: New test. | |
11435 | ||
bc436e10 TK |
11436 | 2018-04-12 Thomas Koenig <tkoenig@gcc.gnu.org> |
11437 | ||
11438 | PR fortran/83064 | |
11439 | PR testsuite/85346 | |
11440 | * testsuite/libgomp.fortran/do_concurrent_5.f90: Move modified | |
11441 | test from gfortran.dg to here. | |
11442 | ||
ffb164c7 JJ |
11443 | 2018-04-12 Cesar Philippidis <cesar@codesourcery.com> |
11444 | ||
11445 | * testsuite/libgomp.oacc-c-c++-common/pr84955.c: Revert 259346. | |
11446 | * testsuite/libgomp.oacc-fortran/pr84955.f90: Likewise. | |
11447 | ||
11448 | 2018-04-12 Cesar Philippidis <cesar@codesourcery.com> | |
11449 | ||
11450 | PR middle-end/84955 | |
11451 | * testsuite/libgomp.oacc-c-c++-common/pr84955.c: New test. | |
11452 | * testsuite/libgomp.oacc-fortran/pr84955.f90: New test. | |
11453 | ||
2ba16fd2 TV |
11454 | 2018-04-05 Tom de Vries <tom@codesourcery.com> |
11455 | ||
11456 | PR target/85204 | |
11457 | * testsuite/libgomp.oacc-c-c++-common/broadcast-1.c: New test. | |
11458 | ||
46dbeb40 TV |
11459 | 2018-03-26 Tom de Vries <tom@codesourcery.com> |
11460 | ||
11461 | PR tree-optimization/85063 | |
11462 | * testsuite/libgomp.c/switch-conversion-2.c: New test. | |
11463 | * testsuite/libgomp.c/switch-conversion.c: New test. | |
11464 | * testsuite/libgomp.oacc-c-c++-common/switch-conversion-2.c: New test. | |
11465 | * testsuite/libgomp.oacc-c-c++-common/switch-conversion.c: New test. | |
11466 | ||
bfc24e32 TK |
11467 | 2018-03-25 Thomas Koenig <tkoenig@gcc.gnu.org> |
11468 | ||
11469 | PR fortran/84381 | |
11470 | * testsuite/libgomp.fortran/aligned1.f03: Replace non-standard | |
11471 | call abort by STOP n. | |
11472 | * testsuite/libgomp.fortran/alloc-comp-1.f90: Likewise. | |
11473 | * testsuite/libgomp.fortran/alloc-comp-2.f90: Likewise. | |
11474 | * testsuite/libgomp.fortran/alloc-comp-3.f90: Likewise. | |
11475 | * testsuite/libgomp.fortran/allocatable1.f90: Likewise. | |
11476 | * testsuite/libgomp.fortran/allocatable10.f90: Likewise. | |
11477 | * testsuite/libgomp.fortran/allocatable11.f90: Likewise. | |
11478 | * testsuite/libgomp.fortran/allocatable12.f90: Likewise. | |
11479 | * testsuite/libgomp.fortran/allocatable2.f90: Likewise. | |
11480 | * testsuite/libgomp.fortran/allocatable3.f90: Likewise. | |
11481 | * testsuite/libgomp.fortran/allocatable4.f90: Likewise. | |
11482 | * testsuite/libgomp.fortran/allocatable5.f90: Likewise. | |
11483 | * testsuite/libgomp.fortran/allocatable6.f90: Likewise. | |
11484 | * testsuite/libgomp.fortran/allocatable7.f90: Likewise. | |
11485 | * testsuite/libgomp.fortran/allocatable8.f90: Likewise. | |
11486 | * testsuite/libgomp.fortran/allocatable9.f90: Likewise. | |
11487 | * testsuite/libgomp.fortran/appendix-a/a.18.1.f90: Likewise. | |
11488 | * testsuite/libgomp.fortran/appendix-a/a.19.1.f90: Likewise. | |
11489 | * testsuite/libgomp.fortran/associate1.f90: Likewise. | |
11490 | * testsuite/libgomp.fortran/associate2.f90: Likewise. | |
11491 | * testsuite/libgomp.fortran/associate3.f90: Likewise. | |
11492 | * testsuite/libgomp.fortran/cancel-do-1.f90: Likewise. | |
11493 | * testsuite/libgomp.fortran/cancel-do-2.f90: Likewise. | |
11494 | * testsuite/libgomp.fortran/cancel-parallel-1.f90: Likewise. | |
11495 | * testsuite/libgomp.fortran/cancel-sections-1.f90: Likewise. | |
11496 | * testsuite/libgomp.fortran/cancel-taskgroup-2.f90: Likewise. | |
11497 | * testsuite/libgomp.fortran/character1.f90: Likewise. | |
11498 | * testsuite/libgomp.fortran/character2.f90: Likewise. | |
11499 | * testsuite/libgomp.fortran/collapse1.f90: Likewise. | |
11500 | * testsuite/libgomp.fortran/collapse2.f90: Likewise. | |
11501 | * testsuite/libgomp.fortran/collapse3.f90: Likewise. | |
11502 | * testsuite/libgomp.fortran/collapse4.f90: Likewise. | |
11503 | * testsuite/libgomp.fortran/crayptr1.f90: Likewise. | |
11504 | * testsuite/libgomp.fortran/crayptr2.f90: Likewise. | |
11505 | * testsuite/libgomp.fortran/crayptr3.f90: Likewise. | |
11506 | * testsuite/libgomp.fortran/declare-simd-1.f90: Likewise. | |
11507 | * testsuite/libgomp.fortran/declare-simd-3.f90: Likewise. | |
11508 | * testsuite/libgomp.fortran/declare-target-2.f90: Likewise. | |
11509 | * testsuite/libgomp.fortran/depend-1.f90: Likewise. | |
11510 | * testsuite/libgomp.fortran/depend-2.f90: Likewise. | |
11511 | * testsuite/libgomp.fortran/depend-3.f90: Likewise. | |
11512 | * testsuite/libgomp.fortran/do1.f90: Likewise. | |
11513 | * testsuite/libgomp.fortran/do2.f90: Likewise. | |
11514 | * testsuite/libgomp.fortran/doacross1.f90: Likewise. | |
11515 | * testsuite/libgomp.fortran/doacross2.f90: Likewise. | |
11516 | * testsuite/libgomp.fortran/doacross3.f90: Likewise. | |
11517 | * testsuite/libgomp.fortran/examples-4/array_sections-3.f90: Likewise. | |
11518 | * testsuite/libgomp.fortran/examples-4/array_sections-4.f90: Likewise. | |
11519 | * testsuite/libgomp.fortran/examples-4/async_target-1.f90: Likewise. | |
11520 | * testsuite/libgomp.fortran/examples-4/async_target-2.f90: Likewise. | |
11521 | * testsuite/libgomp.fortran/examples-4/declare_target-1.f90: Likewise. | |
11522 | * testsuite/libgomp.fortran/examples-4/declare_target-2.f90: Likewise. | |
11523 | * testsuite/libgomp.fortran/examples-4/declare_target-3.f90: Likewise. | |
11524 | * testsuite/libgomp.fortran/examples-4/declare_target-4.f90: Likewise. | |
11525 | * testsuite/libgomp.fortran/examples-4/declare_target-5.f90: Likewise. | |
11526 | * testsuite/libgomp.fortran/examples-4/device-1.f90: Likewise. | |
11527 | * testsuite/libgomp.fortran/examples-4/device-2.f90: Likewise. | |
11528 | * testsuite/libgomp.fortran/examples-4/device-3.f90: Likewise. | |
11529 | * testsuite/libgomp.fortran/examples-4/simd-1.f90: Likewise. | |
11530 | * testsuite/libgomp.fortran/examples-4/simd-2.f90: Likewise. | |
11531 | * testsuite/libgomp.fortran/examples-4/simd-3.f90: Likewise. | |
11532 | * testsuite/libgomp.fortran/examples-4/simd-4.f90: Likewise. | |
11533 | * testsuite/libgomp.fortran/examples-4/simd-5.f90: Likewise. | |
11534 | * testsuite/libgomp.fortran/examples-4/simd-6.f90: Likewise. | |
11535 | * testsuite/libgomp.fortran/examples-4/simd-7.f90: Likewise. | |
11536 | * testsuite/libgomp.fortran/examples-4/simd-8.f90: Likewise. | |
11537 | * testsuite/libgomp.fortran/examples-4/target-1.f90: Likewise. | |
11538 | * testsuite/libgomp.fortran/examples-4/target-2.f90: Likewise. | |
11539 | * testsuite/libgomp.fortran/examples-4/target-3.f90: Likewise. | |
11540 | * testsuite/libgomp.fortran/examples-4/target-4.f90: Likewise. | |
11541 | * testsuite/libgomp.fortran/examples-4/target-5.f90: Likewise. | |
11542 | * testsuite/libgomp.fortran/examples-4/target_data-1.f90: Likewise. | |
11543 | * testsuite/libgomp.fortran/examples-4/target_data-2.f90: Likewise. | |
11544 | * testsuite/libgomp.fortran/examples-4/target_data-3.f90: Likewise. | |
11545 | * testsuite/libgomp.fortran/examples-4/target_data-4.f90: Likewise. | |
11546 | * testsuite/libgomp.fortran/examples-4/target_data-5.f90: Likewise. | |
11547 | * testsuite/libgomp.fortran/examples-4/target_data-6.f90: Likewise. | |
11548 | * testsuite/libgomp.fortran/examples-4/target_data-7.f90: Likewise. | |
11549 | * testsuite/libgomp.fortran/examples-4/target_update-1.f90: Likewise. | |
11550 | * testsuite/libgomp.fortran/examples-4/target_update-2.f90: Likewise. | |
11551 | * testsuite/libgomp.fortran/examples-4/task_dep-1.f90: Likewise. | |
11552 | * testsuite/libgomp.fortran/examples-4/task_dep-2.f90: Likewise. | |
11553 | * testsuite/libgomp.fortran/examples-4/task_dep-3.f90: Likewise. | |
11554 | * testsuite/libgomp.fortran/examples-4/task_dep-4.f90: Likewise. | |
11555 | * testsuite/libgomp.fortran/examples-4/task_dep-5.f90: Likewise. | |
11556 | * testsuite/libgomp.fortran/examples-4/teams-2.f90: Likewise. | |
11557 | * testsuite/libgomp.fortran/examples-4/teams-3.f90: Likewise. | |
11558 | * testsuite/libgomp.fortran/examples-4/teams-4.f90: Likewise. | |
11559 | * testsuite/libgomp.fortran/examples-4/teams-5.f90: Likewise. | |
11560 | * testsuite/libgomp.fortran/examples-4/teams-6.f90: Likewise. | |
11561 | * testsuite/libgomp.fortran/lastprivate1.f90: Likewise. | |
11562 | * testsuite/libgomp.fortran/lastprivate2.f90: Likewise. | |
11563 | * testsuite/libgomp.fortran/lib1.f90: Likewise. | |
11564 | * testsuite/libgomp.fortran/lib2.f: Likewise. | |
11565 | * testsuite/libgomp.fortran/lib3.f: Likewise. | |
11566 | * testsuite/libgomp.fortran/lib4.f90: Likewise. | |
11567 | * testsuite/libgomp.fortran/lock-1.f90: Likewise. | |
11568 | * testsuite/libgomp.fortran/lock-2.f90: Likewise. | |
11569 | * testsuite/libgomp.fortran/nested1.f90: Likewise. | |
11570 | * testsuite/libgomp.fortran/nestedfn1.f90: Likewise. | |
11571 | * testsuite/libgomp.fortran/nestedfn2.f90: Likewise. | |
11572 | * testsuite/libgomp.fortran/nestedfn3.f90: Likewise. | |
11573 | * testsuite/libgomp.fortran/nestedfn4.f90: Likewise. | |
11574 | * testsuite/libgomp.fortran/nestedfn5.f90: Likewise. | |
11575 | * testsuite/libgomp.fortran/omp_atomic1.f90: Likewise. | |
11576 | * testsuite/libgomp.fortran/omp_atomic2.f90: Likewise. | |
11577 | * testsuite/libgomp.fortran/omp_atomic3.f90: Likewise. | |
11578 | * testsuite/libgomp.fortran/omp_atomic4.f90: Likewise. | |
11579 | * testsuite/libgomp.fortran/omp_atomic5.f90: Likewise. | |
11580 | * testsuite/libgomp.fortran/omp_cond1.f: Likewise. | |
11581 | * testsuite/libgomp.fortran/omp_cond2.f: Likewise. | |
11582 | * testsuite/libgomp.fortran/omp_cond3.F90: Likewise. | |
11583 | * testsuite/libgomp.fortran/omp_cond4.F90: Likewise. | |
11584 | * testsuite/libgomp.fortran/omp_parse1.f90: Likewise. | |
11585 | * testsuite/libgomp.fortran/omp_parse2.f90: Likewise. | |
11586 | * testsuite/libgomp.fortran/omp_parse3.f90: Likewise. | |
11587 | * testsuite/libgomp.fortran/omp_parse4.f90: Likewise. | |
11588 | * testsuite/libgomp.fortran/openmp_version-1.f: Likewise. | |
11589 | * testsuite/libgomp.fortran/openmp_version-2.f90: Likewise. | |
11590 | * testsuite/libgomp.fortran/parloops-exit-first-loop-alt-2.f95: Likewise. | |
11591 | * testsuite/libgomp.fortran/parloops-exit-first-loop-alt.f95: Likewise. | |
11592 | * testsuite/libgomp.fortran/pointer1.f90: Likewise. | |
11593 | * testsuite/libgomp.fortran/pointer2.f90: Likewise. | |
11594 | * testsuite/libgomp.fortran/pr25162.f: Likewise. | |
11595 | * testsuite/libgomp.fortran/pr25219.f90: Likewise. | |
11596 | * testsuite/libgomp.fortran/pr27395-1.f90: Likewise. | |
11597 | * testsuite/libgomp.fortran/pr27395-2.f90: Likewise. | |
11598 | * testsuite/libgomp.fortran/pr27416-1.f90: Likewise. | |
11599 | * testsuite/libgomp.fortran/pr27916-1.f90: Likewise. | |
11600 | * testsuite/libgomp.fortran/pr27916-2.f90: Likewise. | |
11601 | * testsuite/libgomp.fortran/pr28390.f: Likewise. | |
11602 | * testsuite/libgomp.fortran/pr29629.f90: Likewise. | |
11603 | * testsuite/libgomp.fortran/pr32550.f90: Likewise. | |
11604 | * testsuite/libgomp.fortran/pr33880.f90: Likewise. | |
11605 | * testsuite/libgomp.fortran/pr34020.f90: Likewise. | |
11606 | * testsuite/libgomp.fortran/pr35130.f90: Likewise. | |
11607 | * testsuite/libgomp.fortran/pr42162.f90: Likewise. | |
11608 | * testsuite/libgomp.fortran/pr46753.f90: Likewise. | |
11609 | * testsuite/libgomp.fortran/pr48894.f90: Likewise. | |
11610 | * testsuite/libgomp.fortran/pr49792-1.f90: Likewise. | |
11611 | * testsuite/libgomp.fortran/pr49792-2.f90: Likewise. | |
11612 | * testsuite/libgomp.fortran/pr63938-1.f90: Likewise. | |
11613 | * testsuite/libgomp.fortran/pr63938-2.f90: Likewise. | |
11614 | * testsuite/libgomp.fortran/pr65597.f90: Likewise. | |
11615 | * testsuite/libgomp.fortran/pr66199-1.f90: Likewise. | |
11616 | * testsuite/libgomp.fortran/pr71014.f90: Likewise. | |
11617 | * testsuite/libgomp.fortran/pr81304.f90: Likewise. | |
11618 | * testsuite/libgomp.fortran/pr81841.f90: Likewise. | |
11619 | * testsuite/libgomp.fortran/pr84418-1.f90: Likewise. | |
11620 | * testsuite/libgomp.fortran/pr84418-2.f90: Likewise. | |
11621 | * testsuite/libgomp.fortran/procptr1.f90: Likewise. | |
11622 | * testsuite/libgomp.fortran/recursion1.f90: Likewise. | |
11623 | * testsuite/libgomp.fortran/reduction1.f90: Likewise. | |
11624 | * testsuite/libgomp.fortran/reduction2.f90: Likewise. | |
11625 | * testsuite/libgomp.fortran/reduction3.f90: Likewise. | |
11626 | * testsuite/libgomp.fortran/reduction4.f90: Likewise. | |
11627 | * testsuite/libgomp.fortran/reduction5.f90: Likewise. | |
11628 | * testsuite/libgomp.fortran/reduction6.f90: Likewise. | |
11629 | * testsuite/libgomp.fortran/reference1.f90: Likewise. | |
11630 | * testsuite/libgomp.fortran/reference2.f90: Likewise. | |
11631 | * testsuite/libgomp.fortran/retval1.f90: Likewise. | |
11632 | * testsuite/libgomp.fortran/retval2.f90: Likewise. | |
11633 | * testsuite/libgomp.fortran/sharing1.f90: Likewise. | |
11634 | * testsuite/libgomp.fortran/sharing2.f90: Likewise. | |
11635 | * testsuite/libgomp.fortran/simd1.f90: Likewise. | |
11636 | * testsuite/libgomp.fortran/simd2.f90: Likewise. | |
11637 | * testsuite/libgomp.fortran/simd3.f90: Likewise. | |
11638 | * testsuite/libgomp.fortran/simd4.f90: Likewise. | |
11639 | * testsuite/libgomp.fortran/simd5.f90: Likewise. | |
11640 | * testsuite/libgomp.fortran/simd6.f90: Likewise. | |
11641 | * testsuite/libgomp.fortran/simd7.f90: Likewise. | |
11642 | * testsuite/libgomp.fortran/stack.f90: Likewise. | |
11643 | * testsuite/libgomp.fortran/strassen.f90: Likewise. | |
11644 | * testsuite/libgomp.fortran/tabs1.f90: Likewise. | |
11645 | * testsuite/libgomp.fortran/tabs2.f: Likewise. | |
11646 | * testsuite/libgomp.fortran/target1.f90: Likewise. | |
11647 | * testsuite/libgomp.fortran/target2.f90: Likewise. | |
11648 | * testsuite/libgomp.fortran/target3.f90: Likewise. | |
11649 | * testsuite/libgomp.fortran/target4.f90: Likewise. | |
11650 | * testsuite/libgomp.fortran/target5.f90: Likewise. | |
11651 | * testsuite/libgomp.fortran/target6.f90: Likewise. | |
11652 | * testsuite/libgomp.fortran/target7.f90: Likewise. | |
11653 | * testsuite/libgomp.fortran/target8.f90: Likewise. | |
11654 | * testsuite/libgomp.fortran/task1.f90: Likewise. | |
11655 | * testsuite/libgomp.fortran/task2.f90: Likewise. | |
11656 | * testsuite/libgomp.fortran/task3.f90: Likewise. | |
11657 | * testsuite/libgomp.fortran/task4.f90: Likewise. | |
11658 | * testsuite/libgomp.fortran/taskgroup1.f90: Likewise. | |
11659 | * testsuite/libgomp.fortran/taskloop1.f90: Likewise. | |
11660 | * testsuite/libgomp.fortran/taskloop2.f90: Likewise. | |
11661 | * testsuite/libgomp.fortran/taskloop3.f90: Likewise. | |
11662 | * testsuite/libgomp.fortran/taskloop4.f90: Likewise. | |
11663 | * testsuite/libgomp.fortran/threadprivate1.f90: Likewise. | |
11664 | * testsuite/libgomp.fortran/threadprivate2.f90: Likewise. | |
11665 | * testsuite/libgomp.fortran/threadprivate3.f90: Likewise. | |
11666 | * testsuite/libgomp.fortran/threadprivate4.f90: Likewise. | |
11667 | * testsuite/libgomp.fortran/udr1.f90: Likewise. | |
11668 | * testsuite/libgomp.fortran/udr10.f90: Likewise. | |
11669 | * testsuite/libgomp.fortran/udr11.f90: Likewise. | |
11670 | * testsuite/libgomp.fortran/udr12.f90: Likewise. | |
11671 | * testsuite/libgomp.fortran/udr13.f90: Likewise. | |
11672 | * testsuite/libgomp.fortran/udr14.f90: Likewise. | |
11673 | * testsuite/libgomp.fortran/udr15.f90: Likewise. | |
11674 | * testsuite/libgomp.fortran/udr2.f90: Likewise. | |
11675 | * testsuite/libgomp.fortran/udr3.f90: Likewise. | |
11676 | * testsuite/libgomp.fortran/udr4.f90: Likewise. | |
11677 | * testsuite/libgomp.fortran/udr5.f90: Likewise. | |
11678 | * testsuite/libgomp.fortran/udr6.f90: Likewise. | |
11679 | * testsuite/libgomp.fortran/udr7.f90: Likewise. | |
11680 | * testsuite/libgomp.fortran/udr8.f90: Likewise. | |
11681 | * testsuite/libgomp.fortran/udr9.f90: Likewise. | |
11682 | * testsuite/libgomp.fortran/vla1.f90: Likewise. | |
11683 | * testsuite/libgomp.fortran/vla2.f90: Likewise. | |
11684 | * testsuite/libgomp.fortran/vla3.f90: Likewise. | |
11685 | * testsuite/libgomp.fortran/vla4.f90: Likewise. | |
11686 | * testsuite/libgomp.fortran/vla5.f90: Likewise. | |
11687 | * testsuite/libgomp.fortran/vla6.f90: Likewise. | |
11688 | * testsuite/libgomp.fortran/vla7.f90: Likewise. | |
11689 | * testsuite/libgomp.fortran/vla8.f90: Likewise. | |
11690 | * testsuite/libgomp.fortran/workshare1.f90: Likewise. | |
11691 | * testsuite/libgomp.fortran/workshare2.f90: Likewise. | |
11692 | * testsuite/libgomp.oacc-fortran/abort-1.f90: Likewise. | |
11693 | * testsuite/libgomp.oacc-fortran/abort-2.f90: Likewise. | |
11694 | * testsuite/libgomp.oacc-fortran/acc_on_device-1-1.f90: Likewise. | |
11695 | * testsuite/libgomp.oacc-fortran/acc_on_device-1-2.f: Likewise. | |
11696 | * testsuite/libgomp.oacc-fortran/acc_on_device-1-3.f: Likewise. | |
11697 | * testsuite/libgomp.oacc-fortran/asyncwait-1.f90: Likewise. | |
11698 | * testsuite/libgomp.oacc-fortran/asyncwait-2.f90: Likewise. | |
11699 | * testsuite/libgomp.oacc-fortran/asyncwait-3.f90: Likewise. | |
11700 | * testsuite/libgomp.oacc-fortran/atomic_capture-1.f90: Likewise. | |
11701 | * testsuite/libgomp.oacc-fortran/atomic_rw-1.f90: Likewise. | |
11702 | * testsuite/libgomp.oacc-fortran/atomic_update-1.f90: Likewise. | |
11703 | * testsuite/libgomp.oacc-fortran/c2.pl: Likewise. | |
11704 | * testsuite/libgomp.oacc-fortran/clauses-1.f90: Likewise. | |
11705 | * testsuite/libgomp.oacc-fortran/collapse-1.f90: Likewise. | |
11706 | * testsuite/libgomp.oacc-fortran/collapse-2.f90: Likewise. | |
11707 | * testsuite/libgomp.oacc-fortran/collapse-3.f90: Likewise. | |
11708 | * testsuite/libgomp.oacc-fortran/collapse-4.f90: Likewise. | |
11709 | * testsuite/libgomp.oacc-fortran/collapse-5.f90: Likewise. | |
11710 | * testsuite/libgomp.oacc-fortran/collapse-6.f90: Likewise. | |
11711 | * testsuite/libgomp.oacc-fortran/collapse-7.f90: Likewise. | |
11712 | * testsuite/libgomp.oacc-fortran/collapse-8.f90: Likewise. | |
11713 | * testsuite/libgomp.oacc-fortran/combined-directives-1.f90: Likewise. | |
11714 | * testsuite/libgomp.oacc-fortran/combined-reduction.f90: Likewise. | |
11715 | * testsuite/libgomp.oacc-fortran/data-1.f90: Likewise. | |
11716 | * testsuite/libgomp.oacc-fortran/data-2.f90: Likewise. | |
11717 | * testsuite/libgomp.oacc-fortran/data-3.f90: Likewise. | |
11718 | * testsuite/libgomp.oacc-fortran/data-4-2.f90: Likewise. | |
11719 | * testsuite/libgomp.oacc-fortran/data-4.f90: Likewise. | |
11720 | * testsuite/libgomp.oacc-fortran/declare-1.f90: Likewise. | |
11721 | * testsuite/libgomp.oacc-fortran/declare-2.f90: Likewise. | |
11722 | * testsuite/libgomp.oacc-fortran/declare-3.f90: Likewise. | |
11723 | * testsuite/libgomp.oacc-fortran/declare-4.f90: Likewise. | |
11724 | * testsuite/libgomp.oacc-fortran/declare-5.f90: Likewise. | |
11725 | * testsuite/libgomp.oacc-fortran/default-1.f90: Likewise. | |
11726 | * testsuite/libgomp.oacc-fortran/firstprivate-1.f90: Likewise. | |
11727 | * testsuite/libgomp.oacc-fortran/gang-static-1.f90: Likewise. | |
11728 | * testsuite/libgomp.oacc-fortran/host_data-1.f90: Likewise. | |
11729 | * testsuite/libgomp.oacc-fortran/if-1.f90: Likewise. | |
11730 | * testsuite/libgomp.oacc-fortran/implicit-firstprivate-ref.f90: Likewise. | |
11731 | * testsuite/libgomp.oacc-fortran/kernels-loop-2.f95: Likewise. | |
11732 | * testsuite/libgomp.oacc-fortran/kernels-loop-data-2.f95: Likewise. | |
11733 | * testsuite/libgomp.oacc-fortran/kernels-loop-data-enter-exit-2.f95: Likewise. | |
11734 | * testsuite/libgomp.oacc-fortran/kernels-loop-data-enter-exit.f95: Likewise. | |
11735 | * testsuite/libgomp.oacc-fortran/kernels-loop-data-update.f95: Likewise. | |
11736 | * testsuite/libgomp.oacc-fortran/kernels-loop-data.f95: Likewise. | |
11737 | * testsuite/libgomp.oacc-fortran/kernels-loop.f95: Likewise. | |
11738 | * testsuite/libgomp.oacc-fortran/lib-1.f90: Likewise. | |
11739 | * testsuite/libgomp.oacc-fortran/lib-10.f90: Likewise. | |
11740 | * testsuite/libgomp.oacc-fortran/lib-2.f: Likewise. | |
11741 | * testsuite/libgomp.oacc-fortran/lib-3.f: Likewise. | |
11742 | * testsuite/libgomp.oacc-fortran/lib-32-1.f: Likewise. | |
11743 | * testsuite/libgomp.oacc-fortran/lib-32-2.f: Likewise. | |
11744 | * testsuite/libgomp.oacc-fortran/lib-4.f90: Likewise. | |
11745 | * testsuite/libgomp.oacc-fortran/lib-5.f90: Likewise. | |
11746 | * testsuite/libgomp.oacc-fortran/lib-6.f90: Likewise. | |
11747 | * testsuite/libgomp.oacc-fortran/lib-7.f90: Likewise. | |
11748 | * testsuite/libgomp.oacc-fortran/lib-8.f90: Likewise. | |
11749 | * testsuite/libgomp.oacc-fortran/map-1.f90: Likewise. | |
11750 | * testsuite/libgomp.oacc-fortran/nested-function-1.f90: Likewise. | |
11751 | * testsuite/libgomp.oacc-fortran/nested-function-2.f90: Likewise. | |
11752 | * testsuite/libgomp.oacc-fortran/nested-function-3.f90: Likewise. | |
11753 | * testsuite/libgomp.oacc-fortran/non-scalar-data.f90: Likewise. | |
11754 | * testsuite/libgomp.oacc-fortran/openacc_version-1.f: Likewise. | |
11755 | * testsuite/libgomp.oacc-fortran/openacc_version-2.f90: Likewise. | |
11756 | * testsuite/libgomp.oacc-fortran/par-reduction-2-1.f: Likewise. | |
11757 | * testsuite/libgomp.oacc-fortran/par-reduction-2-2.f: Likewise. | |
11758 | * testsuite/libgomp.oacc-fortran/parallel-reduction.f90: Likewise. | |
11759 | * testsuite/libgomp.oacc-fortran/pointer-align-1.f90: Likewise. | |
11760 | * testsuite/libgomp.oacc-fortran/pr70643.f90: Likewise. | |
11761 | * testsuite/libgomp.oacc-fortran/pr81352.f90: Likewise. | |
11762 | * testsuite/libgomp.oacc-fortran/pr83920.f90: Likewise. | |
11763 | * testsuite/libgomp.oacc-fortran/pr84028.f90: Likewise. | |
11764 | * testsuite/libgomp.oacc-fortran/private-variables.f90: Likewise. | |
11765 | * testsuite/libgomp.oacc-fortran/pset-1.f90: Likewise. | |
11766 | * testsuite/libgomp.oacc-fortran/reduction-1.f90: Likewise. | |
11767 | * testsuite/libgomp.oacc-fortran/reduction-2.f90: Likewise. | |
11768 | * testsuite/libgomp.oacc-fortran/reduction-3.f90: Likewise. | |
11769 | * testsuite/libgomp.oacc-fortran/reduction-4.f90: Likewise. | |
11770 | * testsuite/libgomp.oacc-fortran/reduction-5.f90: Likewise. | |
11771 | * testsuite/libgomp.oacc-fortran/reduction-6.f90: Likewise. | |
11772 | * testsuite/libgomp.oacc-fortran/reduction-7.f90: Likewise. | |
11773 | * testsuite/libgomp.oacc-fortran/reduction-8.f90: Likewise. | |
11774 | * testsuite/libgomp.oacc-fortran/routine-1.f90: Likewise. | |
11775 | * testsuite/libgomp.oacc-fortran/routine-2.f90: Likewise. | |
11776 | * testsuite/libgomp.oacc-fortran/routine-3.f90: Likewise. | |
11777 | * testsuite/libgomp.oacc-fortran/routine-4.f90: Likewise. | |
11778 | * testsuite/libgomp.oacc-fortran/routine-5.f90: Likewise. | |
11779 | * testsuite/libgomp.oacc-fortran/routine-7.f90: Likewise. | |
11780 | * testsuite/libgomp.oacc-fortran/routine-9.f90: Likewise. | |
11781 | * testsuite/libgomp.oacc-fortran/subarrays-1.f90: Likewise. | |
11782 | * testsuite/libgomp.oacc-fortran/subarrays-2.f90: Likewise. | |
11783 | * testsuite/libgomp.oacc-fortran/update-1.f90: Likewise. | |
11784 | ||
79cf14ae RB |
11785 | 2018-03-20 Richard Biener <rguenther@suse.de> |
11786 | ||
11787 | * testsuite/libgomp.graphite/force-parallel-4.c: XFAIL one | |
11788 | parallelizable loop. | |
11789 | ||
14e335ed IT |
11790 | 2018-02-19 Igor Tsimbalist <igor.v.tsimbalist@intel.com> |
11791 | ||
11792 | PR target/84148 | |
11793 | * configure: Regenerate. | |
11794 | ||
83d9be55 JJ |
11795 | 2018-02-16 Jakub Jelinek <jakub@redhat.com> |
11796 | ||
11797 | PR fortran/84418 | |
11798 | * libgomp.fortran/pr84418-1.f90: New test. | |
11799 | * libgomp.fortran/pr84418-2.f90: New test. | |
11800 | ||
d1fe6124 JJ |
11801 | 2018-02-14 Jakub Jelinek <jakub@redhat.com> |
11802 | ||
11803 | PR fortran/84313 | |
11804 | * testsuite/libgomp.fortran/threadprivate4.f90: Add | |
11805 | -std=f2003 -fall-intrinsics into dg-additional-options. | |
11806 | ||
3d224921 MJ |
11807 | 2018-02-08 Martin Jambor <mjambor@suse.cz> |
11808 | ||
11809 | * testsuite/libgomp.hsa.c/pr82416.c: Make the function with target | |
11810 | clonable. | |
11811 | ||
c7c30edd MJ |
11812 | 2018-02-08 Martin Jambor <mjambor@suse.cz> |
11813 | ||
11814 | * testsuite/libgomp.hsa.c/staticvar.c: New test. | |
11815 | ||
f320fdfd RO |
11816 | 2018-02-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
11817 | ||
11818 | * testsuite/libgomp.oacc-c-c++-common/pr84217.c (abort) | |
11819 | [__cplusplus]: Declare extern "C". | |
11820 | ||
c31bc4ac TV |
11821 | 2018-02-07 Tom de Vries <tom@codesourcery.com> |
11822 | ||
11823 | PR libgomp/84217 | |
11824 | * testsuite/libgomp.oacc-c-c++-common/pr84217.c: New test. | |
11825 | ||
99ae7ce5 CS |
11826 | 2018-01-29 Christoph Spiel <cspiel@freenet.de> |
11827 | Jakub Jelinek <jakub@redhat.com> | |
11828 | ||
11829 | PR libgomp/84096 | |
11830 | * omp.h.in (omp_init_nest_lock_with_hint): Use omp_nest_lock_t | |
11831 | instead of omp_lock_t. | |
11832 | ||
e77a1236 TV |
11833 | 2018-01-25 Tom de Vries <tom@codesourcery.com> |
11834 | ||
11835 | PR target/84028 | |
11836 | * testsuite/libgomp.oacc-fortran/pr84028.f90: New test. | |
11837 | ||
3dede32b TV |
11838 | 2018-01-24 Tom de Vries <tom@codesourcery.com> |
11839 | ||
11840 | PR target/83589 | |
11841 | * testsuite/libgomp.oacc-c-c++-common/pr83589.c: New test. | |
11842 | ||
be606483 TV |
11843 | 2018-01-24 Tom de Vries <tom@codesourcery.com> |
11844 | ||
11845 | PR target/81352 | |
11846 | * testsuite/libgomp.oacc-fortran/pr81352.f90: New test. | |
11847 | ||
8c8e9a6b TV |
11848 | 2018-01-19 Tom de Vries <tom@codesourcery.com> |
11849 | Cesar Philippidis <cesar@codesourcery.com> | |
11850 | ||
11851 | PR target/83920 | |
11852 | * testsuite/libgomp.oacc-c-c++-common/pr83920.c: New test. | |
11853 | * testsuite/libgomp.oacc-fortran/pr83920.f90: New test. | |
11854 | ||
65e6aea3 JJ |
11855 | 2018-01-03 Jakub Jelinek <jakub@redhat.com> |
11856 | ||
85ec4feb JJ |
11857 | Update copyright years. |
11858 | ||
65e6aea3 JJ |
11859 | * libgomp.texi: Bump @copying's copyright year. |
11860 | ||
60bf575c TV |
11861 | 2017-12-30 Tom de Vries <tom@codesourcery.com> |
11862 | ||
11863 | PR libgomp/83046 | |
11864 | * testsuite/libgomp.oacc-c-c++-common/pr83046.c: New test. | |
11865 | * testsuite/libgomp.c-c++-common/pr83046.c: New test. | |
11866 | ||
7ec16b79 TV |
11867 | 2017-12-27 Tom de Vries <tom@codesourcery.com> |
11868 | ||
11869 | PR c++/83046 | |
11870 | * testsuite/libgomp.oacc-c-c++-common/gang-static-2.c (test_static) | |
11871 | (test_nonstatic): Fix return type to workaround PR83046. | |
11872 | ||
ac550b9a JJ |
11873 | 2017-12-05 Jakub Jelinek <jakub@redhat.com> |
11874 | ||
11875 | PR testsuite/83281 | |
11876 | * testsuite/libgomp.oacc-c-c++-common/reduction-cplx-flt.c (main): Use | |
11877 | j suffix instead of i. | |
11878 | * testsuite/libgomp.oacc-c-c++-common/reduction-cplx-dbl.c (main): | |
11879 | Likewise. | |
11880 | ||
ebdc83f0 CP |
11881 | 2017-12-01 Cesar Philippidis <cesar@codesourcery.com> |
11882 | ||
11883 | * testsuite/libgomp.oacc-c-c++-common/data-2-lib.c: Add missing | |
11884 | call to acc_wait (1). | |
11885 | ||
3b3e6283 JJ |
11886 | 2017-11-24 Jakub Jelinek <jakub@redhat.com> |
11887 | ||
11888 | PR fortran/81304 | |
11889 | * testsuite/libgomp.fortran/pr81304.f90: New test. | |
11890 | ||
3b575376 JJ |
11891 | 2017-11-23 Jakub Jelinek <jakub@redhat.com> |
11892 | ||
11893 | PR fortran/81841 | |
11894 | * libgomp.fortran/pr81841.f90: New test. | |
11895 | ||
b13547d8 JJ |
11896 | 2017-11-22 Jakub Jelinek <jakub@redhat.com> |
11897 | ||
11898 | PR libgomp/83106 | |
11899 | * target.c (gomp_target_init): Compute lengths just once and | |
11900 | use them in both malloc size and subsequent copying. | |
11901 | ||
efe33ced IT |
11902 | 2017-11-17 Igor Tsimbalist <igor.v.tsimbalist@intel.com> |
11903 | ||
11904 | * configure.ac: Set CET_FLAGS, update XCFLAGS and FCFLAGS. | |
11905 | * acinclude.m4: Add cet.m4. | |
11906 | * configure: Regenerate. | |
11907 | * Makefile.in: Likewise. | |
11908 | * testsuite/Makefile.in: Likewise. | |
11909 | ||
a7cf2612 TV |
11910 | 2017-11-15 Tom de Vries <tom@codesourcery.com> |
11911 | ||
11912 | * testsuite/libgomp.oacc-c-c++-common/f-asyncwait-1.c: New test, copied | |
11913 | from asyncwait-1.f90. Rewrite into C. Rewrite from float to int. | |
11914 | * testsuite/libgomp.oacc-c-c++-common/f-asyncwait-2.c: New test, copied | |
11915 | from asyncwait-2.f90. Rewrite into C. Rewrite from float to int. | |
11916 | * testsuite/libgomp.oacc-c-c++-common/f-asyncwait-3.c: New test, copied | |
11917 | from asyncwait-3.f90. Rewrite into C. Rewrite from float to int. | |
11918 | ||
dde76623 TV |
11919 | 2017-11-14 Tom de Vries <tom@codesourcery.com> |
11920 | ||
11921 | * testsuite/libgomp.oacc-c-c++-common/asyncwait-1.c: Allow to run for | |
11922 | non-nvidia devices. | |
11923 | ||
4dbeb716 JJ |
11924 | 2017-11-07 Jakub Jelinek <jakub@redhat.com> |
11925 | ||
11926 | PR c++/82835 | |
11927 | * testsuite/libgomp.c++/pr82835.C: New test. | |
11928 | ||
454f8b2b ML |
11929 | 2017-11-06 Martin Liska <mliska@suse.cz> |
11930 | ||
11931 | * testsuite/libgomp.c++/loop-2.C: Return a value | |
11932 | for functions with non-void return type, or change type to void, | |
11933 | or add -Wno-return-type for test. | |
11934 | * testsuite/libgomp.c++/loop-4.C: Likewise. | |
11935 | * testsuite/libgomp.c++/parallel-1.C: Likewise. | |
11936 | * testsuite/libgomp.c++/shared-1.C: Likewise. | |
11937 | * testsuite/libgomp.c++/single-1.C: Likewise. | |
11938 | * testsuite/libgomp.c++/single-2.C: Likewise. | |
11939 | ||
12e9c8ce TV |
11940 | 2017-10-31 Tom de Vries <tom@codesourcery.com> |
11941 | ||
11942 | * plugin/plugin-hsa.c (HSA_LOG): Remove semicolon after | |
11943 | "do {} while (false)". | |
11944 | (init_single_kernel, GOMP_OFFLOAD_async_run): Add missing semicolon | |
11945 | after HSA_DEBUG call. | |
11946 | ||
7324369a JJ |
11947 | 2017-10-28 Jakub Jelinek <jakub@redhat.com> |
11948 | ||
11949 | * target.c (struct gomp_coalesce_buf): New type. | |
11950 | (MAX_COALESCE_BUF_SIZE, MAX_COALESCE_BUF_GAP): Define. | |
11951 | (gomp_coalesce_buf_add, gomp_to_device_kind_p): New functions. | |
11952 | (gomp_copy_host2dev): Add CBUF argument, if copying into | |
11953 | the cached ranges, memcpy into buffer instead of copying | |
11954 | into device. | |
11955 | (gomp_map_vars_existing, gomp_map_pointer, gomp_map_fields_existing): | |
11956 | Add CBUF argument, pass it through to other calls. | |
11957 | (gomp_map_vars): Aggregate copies from host to device if small enough | |
11958 | and with small enough gaps in between into memcpy into a buffer and | |
11959 | fewer host to device copies from the buffer. | |
11960 | (gomp_update): Adjust gomp_copy_host2dev caller. | |
11961 | ||
933ab0e6 TS |
11962 | 2017-10-17 Thomas Schwinge <thomas@codesourcery.com> |
11963 | ||
11964 | * testsuite/libgomp.oacc-fortran/declare-1.f90: Restore "dg-do | |
11965 | run" directive. | |
11966 | * testsuite/libgomp.oacc-fortran/declare-2.f90: Likewise. | |
11967 | * testsuite/libgomp.oacc-fortran/declare-3.f90: Likewise. | |
11968 | * testsuite/libgomp.oacc-fortran/declare-4.f90: Likewise. | |
11969 | * testsuite/libgomp.oacc-fortran/declare-5.f90: Likewise. | |
11970 | ||
92d5d01a TV |
11971 | 2017-10-16 Tom de Vries <tom@codesourcery.com> |
11972 | ||
11973 | * testsuite/libgomp.oacc-c-c++-common/declare-1.c: Don't require | |
11974 | openacc_nvidia_accel_selected. | |
11975 | * testsuite/libgomp.oacc-c-c++-common/declare-2.c: Same. | |
11976 | * testsuite/libgomp.oacc-c-c++-common/declare-4.c: Same. | |
11977 | * testsuite/libgomp.oacc-fortran/declare-2.f90: Same. | |
11978 | * testsuite/libgomp.oacc-fortran/declare-4.f90: Same | |
11979 | * testsuite/libgomp.oacc-fortran/declare-5.f90: Same. | |
11980 | * testsuite/libgomp.oacc-c-c++-common/declare-5.c: Don't require | |
11981 | openacc_nvidia_accel_selected. Skip for shared memory device. | |
11982 | * testsuite/libgomp.oacc-fortran/declare-1.f90: Same. | |
11983 | * testsuite/libgomp.oacc-fortran/declare-3.f90: Same. | |
11984 | ||
191411e4 MJ |
11985 | 2017-10-09 Martin Jambor <mjambor@suse.cz> |
11986 | ||
11987 | PR hsa/82416 | |
11988 | * testsuite/libgomp.hsa.c/pr82416.c: New test. | |
11989 | ||
e923330e TV |
11990 | 2017-10-07 Tom de Vries <tom@codesourcery.com> |
11991 | ||
11992 | * testsuite/libgomp.oacc-fortran/firstprivate-1.f90 (firstprivate): | |
11993 | Remove acc_device_nvidia references. | |
11994 | * testsuite/libgomp.oacc-fortran/parallel-reduction.f90 (reduction): | |
11995 | Same. | |
11996 | ||
8fe3ed4c TV |
11997 | 2017-10-05 Tom de Vries <tom@codesourcery.com> |
11998 | ||
11999 | * testsuite/libgomp.oacc-c-c++-common/loop-red-g-1.c (main): Remove | |
12000 | vector_length(32) clause from acc parallel directive. | |
12001 | * testsuite/libgomp.oacc-c-c++-common/routine-g-1.c (main): Same. | |
12002 | ||
26596ee5 TV |
12003 | 2017-10-04 Tom de Vries <tom@codesourcery.com> |
12004 | ||
12005 | * testsuite/libgomp.oacc-c-c++-common/par-loop-comb-reduction-3.c | |
12006 | (main): Reduce sum of arr elements. Assert that hres is exactly | |
12007 | representable in 32-bit floating point. | |
12008 | * testsuite/libgomp.oacc-c-c++-common/par-loop-comb-reduction-4.c | |
12009 | (main): Reduce sum of arr elements. Assert that hres and hmres are | |
12010 | exactly representable in 32-bit floating point. | |
12011 | * testsuite/libgomp.oacc-c-c++-common/reduction-7.c (gwv_np_4): Same. | |
12012 | ||
5c561fa9 TV |
12013 | 2017-09-28 Tom de Vries <tom@codesourcery.com> |
12014 | ||
12015 | * testsuite/libgomp.c++/for-12.C: Remove superfluous -fopenmp option | |
12016 | setting. | |
12017 | * testsuite/libgomp.c++/pr69393.C: Same. | |
12018 | * testsuite/libgomp.c++/taskloop-1.C: Same. | |
12019 | * testsuite/libgomp.c++/taskloop-3.C: Same. | |
12020 | * testsuite/libgomp.c++/taskloop-4.C: Same. | |
12021 | * testsuite/libgomp.c/for-4.c: Same. | |
12022 | * testsuite/libgomp.c/pr66199-3.c: Same. | |
12023 | * testsuite/libgomp.c/pr66199-4.c: Same. | |
12024 | * testsuite/libgomp.c/pr66199-6.c: Same. | |
12025 | * testsuite/libgomp.c/taskloop-1.c: Same. | |
12026 | * testsuite/libgomp.c/taskloop-3.c: Same. | |
12027 | * testsuite/libgomp.c/taskloop-4.c: Same. | |
12028 | * testsuite/libgomp.fortran/aligned1.f03: Same. | |
12029 | * testsuite/libgomp.fortran/condinc1.f: Same. | |
12030 | * testsuite/libgomp.fortran/condinc3.f90: Same. | |
12031 | * testsuite/libgomp.fortran/crayptr1.f90: Same. | |
12032 | * testsuite/libgomp.fortran/crayptr2.f90: Same. | |
12033 | * testsuite/libgomp.fortran/crayptr3.f90: Same. | |
12034 | * testsuite/libgomp.fortran/omp_cond1.f: Same. | |
12035 | * testsuite/libgomp.fortran/omp_cond3.F90: Same. | |
12036 | * testsuite/libgomp.fortran/pr66199-1.f90: Same. | |
12037 | * testsuite/libgomp.fortran/pr66199-2.f90: Same. | |
12038 | * testsuite/libgomp.fortran/recursion1.f90: Same. | |
12039 | * testsuite/libgomp.fortran/target2.f90: Same. | |
12040 | * testsuite/libgomp.fortran/target5.f90: Same. | |
12041 | * testsuite/libgomp.fortran/task3.f90: Same. | |
12042 | ||
7d6206fe TV |
12043 | 2017-09-28 Tom de Vries <tom@codesourcery.com> |
12044 | ||
12045 | * testsuite/libgomp.oacc-c-c++-common/loop-g-1.c (main): Remove | |
12046 | vector_length(32) clause from acc parallel directive. | |
12047 | * testsuite/libgomp.oacc-c-c++-common/loop-g-2.c (main): Same. | |
12048 | ||
84c8627c TV |
12049 | 2017-09-27 Tom de Vries <tom@codesourcery.com> |
12050 | ||
12051 | * testsuite/libgomp.oacc-c-c++-common/parallel-reduction.c (main): | |
12052 | Remove acc_device_nvidia references. | |
12053 | ||
ebc6a85e TV |
12054 | 2017-09-16 Tom de Vries <tom@codesourcery.com> |
12055 | ||
12056 | PR c/81875 | |
12057 | * testsuite/libgomp.c-c++-common/pr81875.c: New test. | |
12058 | ||
82419efb TV |
12059 | 2017-09-14 Tom de Vries <tom@codesourcery.com> |
12060 | ||
12061 | * testsuite/libgomp.c++/cancel-taskgroup-1.C: Remove. | |
12062 | * testsuite/libgomp.c/cancel-taskgroup-1.c: Move to ... | |
12063 | * testsuite/libgomp.c-c++-common/cancel-taskgroup-1.c: ... here. | |
12064 | * testsuite/libgomp.c/c.exp: Include test-cases from | |
12065 | libgomp.c-c++-common. | |
12066 | * testsuite/libgomp.c++/c++.exp: Same. Force c++-mode compilation of .c | |
12067 | files. | |
12068 | ||
8b586510 JJ |
12069 | 2017-09-14 Jakub Jelinek <jakub@redhat.com> |
12070 | ||
12071 | PR c++/81314 | |
12072 | * testsuite/libgomp.c++/pr81314.C: New test. | |
12073 | ||
9651fbaf GP |
12074 | 2017-09-03 Gerald Pfeifer <gerald@pfeifer.com> |
12075 | ||
12076 | * libgomp.texi (Top): www.openacc.org now uses https. | |
12077 | (Enabling OpenACC): Ditto. | |
12078 | (acc_get_num_devices): Ditto. | |
12079 | (acc_set_device_type): Ditto. | |
12080 | (acc_get_device_type): Ditto. | |
12081 | (acc_set_device_num): Ditto. | |
12082 | (acc_get_device_num): Ditto. | |
12083 | (acc_async_test): Ditto. | |
12084 | (acc_async_test_all): Ditto. | |
12085 | (acc_wait): Ditto. | |
12086 | (acc_wait_all): Ditto. | |
12087 | (acc_wait_all_async): Ditto. | |
12088 | (acc_wait_async): Ditto. | |
12089 | (acc_init): Ditto. | |
12090 | (acc_shutdown): Ditto. | |
12091 | (acc_on_device): Ditto. | |
12092 | (acc_malloc): Ditto. | |
12093 | (acc_free): Ditto. | |
12094 | (acc_copyin): Ditto. | |
12095 | (acc_present_or_copyin): Ditto. | |
12096 | (acc_create): Ditto. | |
12097 | (acc_present_or_create): Ditto. | |
12098 | (acc_copyout): Ditto. | |
12099 | (acc_delete): Ditto. | |
12100 | (acc_update_device): Ditto. | |
12101 | (acc_update_self): Ditto. | |
12102 | (acc_map_data): Ditto. | |
12103 | (acc_unmap_data): Ditto. | |
12104 | (acc_deviceptr): Ditto. | |
12105 | (acc_hostptr): Ditto. | |
12106 | (acc_is_present): Ditto. | |
12107 | (acc_memcpy_to_device): Ditto. | |
12108 | (acc_memcpy_from_device): Ditto. | |
12109 | (acc_get_current_cuda_device): Ditto. | |
12110 | (acc_get_current_cuda_context): Ditto. | |
12111 | (acc_get_cuda_stream): Ditto. | |
12112 | (acc_set_cuda_stream): Ditto. | |
12113 | (ACC_DEVICE_TYPE): Ditto. | |
12114 | (ACC_DEVICE_NUM): Ditto. | |
12115 | (OpenACC Library Interoperability): Ditto. | |
12116 | ||
50aa16c3 JJ |
12117 | 2017-08-09 Jakub Jelinek <jakub@redhat.com> |
12118 | ||
12119 | PR c/81687 | |
12120 | * testsuite/libgomp.c/pr81687-1.c: New test. | |
12121 | * testsuite/libgomp.c/pr81687-2.c: New test. | |
12122 | ||
56b5041c JJ |
12123 | 2017-08-07 Jakub Jelinek <jakub@redhat.com> |
12124 | ||
12125 | PR c/69389 | |
12126 | * testsuite/libgomp.c/pr69389.c: New test. | |
12127 | * testsuite/libgomp.c++/pr69389.C: New test. | |
12128 | ||
f4c222c0 TV |
12129 | 2017-08-07 Tom de Vries <tom@codesourcery.com> |
12130 | ||
12131 | PR middle-end/78266 | |
12132 | * testsuite/libgomp.oacc-c-c++-common/vprop-2.c: New test. | |
12133 | * testsuite/libgomp.oacc-c-c++-common/vprop.c: Remove xfail. | |
12134 | ||
a40ff0ae JJ |
12135 | 2017-07-27 Jakub Jelinek <jakub@redhat.com> |
12136 | ||
12137 | PR c/45784 | |
12138 | * testsuite/libgomp.c/pr45784.c: New test. | |
12139 | * testsuite/libgomp.c++/pr45784.C: New test. | |
12140 | ||
3717fbe3 TV |
12141 | 2017-07-19 Tom de Vries <tom@codesourcery.com> |
12142 | ||
12143 | * testsuite/libgomp.oacc-c/vec.c: New test. | |
12144 | ||
9607b014 TV |
12145 | 2017-07-03 Tom de Vries <tom@codesourcery.com> |
12146 | ||
12147 | * plugin/plugin-hsa.c: Fix secure_getenv.h include. | |
12148 | ||
dfb15f6b TV |
12149 | 2017-06-27 Tom de Vries <tom@codesourcery.com> |
12150 | ||
12151 | * plugin/plugin-nvptx.c (notify_var): New function. | |
12152 | (nvptx_exec): Use notify_var for GOMP_OPENACC_DIM. | |
12153 | ||
22f1a037 TV |
12154 | 2017-06-27 Tom de Vries <tom@codesourcery.com> |
12155 | ||
12156 | * env.c (parse_unsigned_long_1): Factor out of ... | |
12157 | (parse_unsigned_long): ... here. | |
12158 | (parse_int_1): Factor out of ... | |
12159 | (parse_int): ... here. | |
12160 | (parse_int_secure): New function. | |
12161 | (initialize_env): Use parse_int_secure for GOMP_DEBUG. | |
12162 | * secure_getenv.h: Factor out of ... | |
12163 | * plugin/plugin-hsa.c: ... here. | |
12164 | * testsuite/libgomp.oacc-c-c++-common/gomp-debug-env.c: New test. | |
12165 | ||
d54d1fc3 JJ |
12166 | 2017-06-21 Jakub Jelinek <jakub@redhat.com> |
12167 | ||
12168 | PR c++/81130 | |
12169 | * testsuite/libgomp.c++/pr81130.C: New test. | |
12170 | ||
4f4b0ab8 RO |
12171 | 2017-06-17 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
12172 | ||
12173 | * testsuite/libgomp.fortran/strassen.f90: Remove dg-skip-if | |
12174 | default args. | |
12175 | * testsuite/libgomp.oacc-c-c++-common/vprop.c: Remove | |
12176 | dg-xfail-run-if default args. | |
12177 | ||
40ffd95f BE |
12178 | 2017-06-02 Bernd Edlinger <bernd.edlinger@hotmail.de> |
12179 | ||
12180 | * testsuite/libgomp.c/pr39591-2.c: Fix test case. | |
12181 | * testsuite/libgomp.c/pr39591-3.c: Likewise. | |
12182 | ||
01275e1e JJ |
12183 | 2017-05-30 Jakub Jelinek <jakub@redhat.com> |
12184 | ||
12185 | PR libgomp/80822 | |
12186 | * config/linux/affinity.c (gomp_affinity_init_level_1): New function. | |
12187 | (gomp_affinity_init_level): Use it. Always analyze the core and thread | |
12188 | sibling lists, depending on level just pick up what CPUs to put | |
12189 | together into a place vs. whether add multiple ordered places. | |
12190 | ||
78672bd8 TS |
12191 | 2017-05-24 Thomas Schwinge <thomas@codesourcery.com> |
12192 | ||
7ce64403 TS |
12193 | * openacc.h (acc_async_wait, acc_async_wait_all): New prototypes. |
12194 | * libgomp.map (OACC_2.0.1): Add these. | |
12195 | * oacc-async.c (acc_async_wait, acc_async_wait_all): New aliases | |
12196 | for "acc_wait", and "acc_wait_all", respectively. | |
12197 | * openacc.f90 (acc_async_wait, acc_async_wait_all): New interfaces | |
12198 | for "acc_wait", and "acc_wait_all", respectively. | |
12199 | * openacc_lib.h (acc_async_wait, acc_async_wait_all): Likewise. | |
12200 | * libgomp.texi (acc_wait, acc_wait_all): Update. | |
12201 | * testsuite/libgomp.oacc-c-c++-common/par-reduction-2.c: Update. | |
12202 | * testsuite/libgomp.oacc-fortran/par-reduction-2-1.f: New file. | |
12203 | * testsuite/libgomp.oacc-fortran/par-reduction-2-2.f: Likewise. | |
12204 | ||
318686c2 TS |
12205 | * openacc_lib.h (acc_pcopyin, acc_pcreate): Route to |
12206 | acc_present_or_copyin and acc_present_or_create procedures, | |
12207 | respectively. | |
12208 | * testsuite/libgomp.oacc-fortran/lib-32-1.f: Exercise these, and | |
12209 | generally different variants of OpenACC Runtime Library functions. | |
12210 | * testsuite/libgomp.oacc-fortran/lib-32-2.f: Likewise. | |
12211 | ||
a6745534 TS |
12212 | * testsuite/libgomp.oacc-fortran/lib-32-1.f: New file. |
12213 | * testsuite/libgomp.oacc-fortran/lib-32-2.f: Likewise. | |
12214 | ||
9b94fbc7 TS |
12215 | * openacc.h (acc_pcopyin, acc_pcreate): Provide prototypes instead |
12216 | of preprocessor definitions. | |
12217 | * libgomp.h (strong_alias): Guard by "#ifdef | |
12218 | HAVE_ATTRIBUTE_ALIAS". | |
12219 | * oacc-mem.c: Provide "acc_pcreate" as alias for | |
12220 | "acc_present_or_create", and "acc_pcopyin" as alias for | |
12221 | "acc_present_or_copyin". | |
12222 | * libgomp.map: New version "OACC_2.0.1". | |
12223 | (OACC_2.0.1): Add "acc_pcopyin", and "acc_pcreate". | |
12224 | * testsuite/libgomp.oacc-c-c++-common/lib-38.c: Remove, merging | |
12225 | its content into... | |
12226 | * testsuite/libgomp.oacc-c-c++-common/lib-32.c: ... this file. | |
12227 | Extend testing. | |
12228 | ||
78672bd8 TS |
12229 | * plugin/plugin-nvptx.c (nvptx_get_num_devices): Debugging output |
12230 | when disabling nvptx offloading. | |
12231 | ||
0c36d0d5 TS |
12232 | 2017-05-23 Thomas Schwinge <thomas@codesourcery.com> |
12233 | ||
fd71a9a2 TS |
12234 | * testsuite/libgomp.oacc-c-c++-common/kernels-loop-2.c: Update. |
12235 | * testsuite/libgomp.oacc-c-c++-common/parallel-dims.c: Likewise. | |
12236 | * testsuite/libgomp.oacc-fortran/kernels-loop-2.f95: Likewise. | |
12237 | ||
0c36d0d5 TS |
12238 | * testsuite/libgomp.oacc-c-c++-common/parallel-dims.c: Rewrite. |
12239 | * testsuite/lib/libgomp.exp | |
12240 | (check_effective_target_openacc_nvidia_accel_configured): New | |
12241 | proc. | |
12242 | * testsuite/libgomp.oacc-c++/c++.exp (check_effective_target_c) | |
12243 | (check_effective_target_c++): New procs. | |
12244 | * testsuite/libgomp.oacc-c/c.exp (check_effective_target_c) | |
12245 | (check_effective_target_c++): Likewise. | |
12246 | ||
c24783c4 JJ |
12247 | 2017-05-22 Jakub Jelinek <jakub@redhat.com> |
12248 | ||
655e5265 JJ |
12249 | PR middle-end/80809 |
12250 | * testsuite/libgomp.c/pr80809-2.c: New test. | |
12251 | * testsuite/libgomp.c/pr80809-3.c: New test. | |
12252 | ||
e9e2ef9f JJ |
12253 | PR middle-end/80809 |
12254 | * testsuite/libgomp.c/pr80809-1.c: New test. | |
12255 | ||
c24783c4 JJ |
12256 | PR middle-end/80853 |
12257 | * testsuite/libgomp.c/pr80853.c: New test. | |
12258 | ||
0da2f96a TS |
12259 | 2017-05-19 Thomas Schwinge <thomas@codesourcery.com> |
12260 | ||
7fd549d2 TS |
12261 | * testsuite/libgomp.oacc-c++/template-reduction.C: Update. |
12262 | * testsuite/libgomp.oacc-c-c++-common/nested-2.c: Update. | |
12263 | * testsuite/libgomp.oacc-fortran/data-4-2.f90: Likewise. | |
12264 | * testsuite/libgomp.oacc-fortran/default-1.f90: Likewise. | |
12265 | * testsuite/libgomp.oacc-fortran/non-scalar-data.f90: Likewise. | |
12266 | ||
0da2f96a TS |
12267 | * plugin/plugin-hsa.c (DLSYM_FN, init_hsa_runtime_functions): |
12268 | Debug output for failure. | |
12269 | ||
62ffe920 RO |
12270 | 2017-05-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
12271 | ||
12272 | * testsuite/lib/libgomp.exp: Load scanlang.exp. | |
12273 | ||
f49215b1 JJ |
12274 | 2017-04-27 Jakub Jelinek <jakub@redhat.com> |
12275 | ||
12276 | PR bootstrap/80531 | |
12277 | * configure.tgt (*-*-aix*): Add -frandom-seed=$@ to XCFLAGS to avoid | |
12278 | bootstrap compare failures. | |
12279 | ||
2260d19d AM |
12280 | 2017-04-20 Alexander Monakov <amonakov@ispras.ru> |
12281 | ||
12282 | * testsuite/libgomp.c/target-36.c: New testcase. | |
12283 | ||
19929ba9 JJ |
12284 | 2017-04-13 Jakub Jelinek <jakub@redhat.com> |
12285 | ||
12286 | * plugin/plugin-nvptx.c (cuda_lib_inited): Use signed char type | |
12287 | instead of char. | |
12288 | ||
fbc698e0 JJ |
12289 | 2017-04-11 Jakub Jelinek <jakub@redhat.com> |
12290 | ||
12291 | PR libgomp/80394 | |
12292 | * testsuite/libgomp.c/pr80394.c: New test. | |
12293 | ||
c4060df4 JJ |
12294 | 2017-04-04 Jakub Jelinek <jakub@redhat.com> |
12295 | ||
12296 | PR libgomp/79876 | |
12297 | * config/posix/thread-stacksize.h: New file. | |
12298 | * config/darwin/thread-stacksize.h: New file. | |
12299 | * config/nvptx/thread-stacksize.h: New file. | |
12300 | * env.c: Include thread-stacksize.h. | |
12301 | (initialize_env): Initialize stacksize to GOMP_DEFAULT_STACKSIZE | |
12302 | instead of 0. Call pthread_attr_setstacksize even if | |
12303 | GOMP_DEFAULT_STACKSIZE is non-zero. | |
12304 | ||
e02d868a JJ |
12305 | 2017-03-30 Jakub Jelinek <jakub@redhat.com> |
12306 | ||
12307 | * env.c (initialize_env): Initialize stacksize to 0. | |
12308 | ||
7ba8651e CP |
12309 | 2017-03-22 Cesar Philippidis <cesar@codesourcery.com> |
12310 | ||
12311 | PR c++/80029 | |
12312 | * testsuite/libgomp.oacc-c-c++-common/declare-vla.c: New test. | |
12313 | ||
eebc5e2d JJ |
12314 | 2017-03-08 Jakub Jelinek <jakub@redhat.com> |
12315 | ||
12316 | PR c/79940 | |
12317 | * testsuite/libgomp.c/pr79940.c: New test. | |
12318 | ||
1eb08f52 RO |
12319 | 2017-02-15 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
12320 | ||
12321 | * testsuite/libgomp.c/pr48591.c: Enable on all __float128 | |
12322 | targets. | |
12323 | Add __float128 options. | |
12324 | ||
b0f78ff3 JDA |
12325 | 2017-02-11 John David Anglin <danglin@gcc.gnu.org> |
12326 | ||
12327 | * testsuite/libgomp.oacc-c-c++-common/loop-dim-default.c: Remove | |
12328 | hppa*-*-* dg-skip-if directive. | |
12329 | ||
1bbe0d8f JJ |
12330 | 2017-02-09 Jakub Jelinek <jakub@redhat.com> |
12331 | ||
12332 | * testsuite/libgomp.oacc-c-c++-common/loop-dim-default.c: Move | |
12333 | dg-skip-if directive into a comment. | |
12334 | ||
02889d23 CLT |
12335 | 2017-02-09 Nathan Sidwell <nathan@codesourcery.com> |
12336 | Chung-Lin Tang <cltang@codesourcery.com> | |
12337 | ||
12338 | * testsuite/libgomp.oacc-c-c++-common/tile-1.c: New. | |
12339 | * testsuite/libgomp.oacc-c-c++-common/loop-auto-1.c: Adjust and | |
12340 | add additional case. | |
12341 | * testsuite/libgomp.oacc-c-c++-common/vprop.c: XFAIL under | |
12342 | "openacc_nvidia_accel_selected". | |
12343 | * libgomp.oacc-fortran/nested-function-1.f90 (test2): | |
12344 | Add num_workers(8) clause. | |
12345 | ||
5896a41d JDA |
12346 | 2017-02-08 John David Anglin <danglin@gcc.gnu.org> |
12347 | ||
12348 | * testsuite/libgomp.oacc-c-c++-common/loop-dim-default.c: Skip on | |
12349 | hppa*-*-*. | |
12350 | * testsuite/libgomp.oacc-c-c++-common/reduction-cplx-dbl.c: Don't | |
12351 | include complex.h on hppa*-*-hpux*. | |
12352 | * testsuite/libgomp.oacc-c-c++-common/reduction-cplx-flt.c: Likewise. | |
12353 | ||
345a8c17 TS |
12354 | 2017-02-02 Thomas Schwinge <thomas@codesourcery.com> |
12355 | ||
e70ab10d TS |
12356 | * plugin/plugin-nvptx.c (nvptx_exec): Make it static. |
12357 | ||
345a8c17 TS |
12358 | * libgomp-plugin.h (GOMP_OFFLOAD_openacc_parallel): Rename to |
12359 | GOMP_OFFLOAD_openacc_exec. Adjust all users. | |
12360 | (GOMP_OFFLOAD_openacc_get_current_cuda_device): Rename to | |
12361 | GOMP_OFFLOAD_openacc_cuda_get_current_device. Adjust all users. | |
12362 | (GOMP_OFFLOAD_openacc_get_current_cuda_context): Rename to | |
12363 | GOMP_OFFLOAD_openacc_cuda_get_current_context. Adjust all users. | |
12364 | (GOMP_OFFLOAD_openacc_get_cuda_stream): Rename to | |
12365 | GOMP_OFFLOAD_openacc_cuda_get_stream. Adjust all users. | |
12366 | (GOMP_OFFLOAD_openacc_set_cuda_stream): Rename to | |
12367 | GOMP_OFFLOAD_openacc_cuda_set_stream. Adjust all users. | |
12368 | ||
dced339c TS |
12369 | 2017-01-31 Thomas Schwinge <thomas@codesourcery.com> |
12370 | ||
12371 | * libgomp-plugin.h: #include <stdbool.h>. | |
12372 | (GOMP_OFFLOAD_get_name, GOMP_OFFLOAD_get_caps) | |
12373 | (GOMP_OFFLOAD_get_type, GOMP_OFFLOAD_get_num_devices) | |
12374 | (GOMP_OFFLOAD_init_device, GOMP_OFFLOAD_fini_device) | |
12375 | (GOMP_OFFLOAD_version, GOMP_OFFLOAD_load_image) | |
12376 | (GOMP_OFFLOAD_unload_image, GOMP_OFFLOAD_alloc, GOMP_OFFLOAD_free) | |
12377 | (GOMP_OFFLOAD_dev2host, GOMP_OFFLOAD_host2dev) | |
12378 | (GOMP_OFFLOAD_dev2dev, GOMP_OFFLOAD_can_run, GOMP_OFFLOAD_run) | |
12379 | (GOMP_OFFLOAD_async_run, GOMP_OFFLOAD_openacc_parallel) | |
12380 | (GOMP_OFFLOAD_openacc_register_async_cleanup) | |
12381 | (GOMP_OFFLOAD_openacc_async_test) | |
12382 | (GOMP_OFFLOAD_openacc_async_test_all) | |
12383 | (GOMP_OFFLOAD_openacc_async_wait) | |
12384 | (GOMP_OFFLOAD_openacc_async_wait_async) | |
12385 | (GOMP_OFFLOAD_openacc_async_wait_all) | |
12386 | (GOMP_OFFLOAD_openacc_async_wait_all_async) | |
12387 | (GOMP_OFFLOAD_openacc_async_set_async) | |
12388 | (GOMP_OFFLOAD_openacc_create_thread_data) | |
12389 | (GOMP_OFFLOAD_openacc_destroy_thread_data) | |
12390 | (GOMP_OFFLOAD_openacc_get_current_cuda_device) | |
12391 | (GOMP_OFFLOAD_openacc_get_current_cuda_context) | |
12392 | (GOMP_OFFLOAD_openacc_get_cuda_stream) | |
12393 | (GOMP_OFFLOAD_openacc_set_cuda_stream): New prototypes. | |
12394 | * libgomp.h (struct acc_dispatch_t, struct gomp_device_descr): Use | |
12395 | these. | |
12396 | * plugin/plugin-hsa.c (GOMP_OFFLOAD_load_image) | |
12397 | (GOMP_OFFLOAD_unload_image): Fix argument types. | |
12398 | ||
23749904 JJ |
12399 | 2017-01-26 Jakub Jelinek <jakub@redhat.com> |
12400 | ||
c1cadde1 JJ |
12401 | * testsuite/lib/libgomp.exp |
12402 | (check_effective_target_hsa_offloading_selected_nocache): Fix up | |
12403 | check_compile invocation. Fix up removal of executable. Drop | |
12404 | bogus "2>&1" argument. | |
12405 | ||
23749904 JJ |
12406 | * testsuite/libgomp.fortran/declare-simd-4.f90: Add cleanup-modules |
12407 | directive. | |
12408 | ||
12409 | 2017-01-24 Pekka Jääskeläinen <pekka@parmance.com> | |
5fd1486c PJ |
12410 | Martin Jambor <mjambor@suse.cz> |
12411 | ||
12412 | * plugin/hsa.h: Moved to top level include. | |
12413 | * plugin/plugin-hsa.c: Chanfgd include of hsa.h accordingly. | |
12414 | ||
73aa401e JJ |
12415 | 2017-01-21 Jakub Jelinek <jakub@redhat.com> |
12416 | ||
12417 | PR other/79046 | |
12418 | * testsuite/Makefile.am (gcc_version): Use @get_gcc_base_ver@ instead | |
12419 | of cat to get version from BASE-VER file. | |
12420 | * testsuite/Makefile.in: Regenerated. | |
12421 | ||
b32e85fa JJ |
12422 | 2017-01-19 Jakub Jelinek <jakub@redhat.com> |
12423 | ||
12424 | * plugin/cuda/cuda.h (CUdeviceptr): Typedef to unsigned long long even | |
12425 | for _WIN64. | |
12426 | ||
3c36aa6b JJ |
12427 | 2017-01-17 Jakub Jelinek <jakub@redhat.com> |
12428 | ||
d190d5c0 JJ |
12429 | * plugin/hsa.h: Add GCC runtime library exception. |
12430 | * plugin/hsa_ext_finalize.h: Likewise. | |
12431 | ||
2393d337 JJ |
12432 | * plugin/configfrag.ac: For --without-cuda-driver don't initialize |
12433 | CUDA_DRIVER_INCLUDE nor CUDA_DRIVER_LIB. If both | |
12434 | CUDA_DRIVER_INCLUDE and CUDA_DRIVER_LIB are empty and linking small | |
12435 | cuda program fails, define PLUGIN_NVPTX_DYNAMIC to 1 and use | |
12436 | plugin/include/cuda as include dir and -ldl instead of -lcuda as | |
12437 | library to link ptx plugin against. | |
12438 | * plugin/plugin-nvptx.c: Include dlfcn.h if PLUGIN_NVPTX_DYNAMIC. | |
12439 | (CUDA_CALLS): Define. | |
12440 | (cuda_lib, cuda_lib_inited): New variables. | |
12441 | (init_cuda_lib): New function. | |
12442 | (CUDA_CALL_PREFIX): Define. | |
12443 | (CUDA_CALL_ERET, CUDA_CALL_ASSERT): Use CUDA_CALL_PREFIX. | |
12444 | (CUDA_CALL): Use FN instead of (FN). | |
12445 | (CUDA_CALL_NOCHECK): Define. | |
12446 | (cuda_error, fini_streams_for_device, select_stream_for_async, | |
12447 | nvptx_attach_host_thread_to_device, nvptx_open_device, link_ptx, | |
12448 | event_gc, nvptx_exec, nvptx_async_test, nvptx_async_test_all, | |
12449 | nvptx_wait_all, nvptx_set_clocktick, GOMP_OFFLOAD_unload_image, | |
12450 | nvptx_stacks_alloc, nvptx_stacks_free, GOMP_OFFLOAD_run): Use | |
12451 | CUDA_CALL_NOCHECK. | |
12452 | (nvptx_init): Call init_cuda_lib, if it fails, return false. Use | |
12453 | CUDA_CALL_NOCHECK. | |
12454 | (nvptx_get_num_devices): Call init_cuda_lib, if it fails, return 0. | |
12455 | Use CUDA_CALL_NOCHECK. | |
12456 | * plugin/cuda/cuda.h: New file. | |
12457 | * config.h.in: Regenerated. | |
12458 | * configure: Regenerated. | |
12459 | ||
3c36aa6b JJ |
12460 | PR other/79046 |
12461 | * configure.ac: Add GCC_BASE_VER. | |
12462 | * Makefile.am (gcc_version): Use @get_gcc_base_ver@ instead of cat to | |
12463 | get version from BASE-VER file. | |
12464 | * testsuite/Makefile.in: Regenerated. | |
12465 | * configure: Regenerated. | |
12466 | * Makefile.in: Regenerated. | |
12467 | ||
c508bc2d FXC |
12468 | 2017-01-09 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org> |
12469 | ||
12470 | PR libgomp/60670 | |
12471 | * Makefile.am: Make fincludedir multilib-aware. | |
12472 | * Makefile.in: Regenerate. | |
12473 | ||
c1a9c369 JJ |
12474 | 2017-01-01 Jakub Jelinek <jakub@redhat.com> |
12475 | ||
cbe34bb5 JJ |
12476 | Update copyright years. |
12477 | ||
c1a9c369 JJ |
12478 | * libgomp.texi: Bump @copying's copyright year. |
12479 | ||
e7a7f4be SH |
12480 | 2016-12-02 Sebastian Huber <sebastian.huber@embedded-brains.de> |
12481 | ||
12482 | * libgomp/config/rtems/pool.h (gomp_thread_pool_reservoir): Use | |
12483 | pthread_spinlock_t instead of gomp_mutex_t lock. | |
12484 | (gomp_get_thread_pool): Likewise. | |
12485 | (gomp_release_thread_pool): Likewise. | |
12486 | * libgomp/config/rtems/proc.c (allocate_thread_pool_reservoir): | |
12487 | Likewise. | |
12488 | ||
d313d52c SH |
12489 | 2016-12-02 Sebastian Huber <sebastian.huber@embedded-brains.de> |
12490 | ||
12491 | * config/rtems/pool.h (gomp_get_thread_pool): Return proper | |
12492 | thread pool in case nthreads == 1. | |
12493 | ||
630e3c3a AM |
12494 | 2016-11-30 Alexander Monakov <amonakov@ispras.ru> |
12495 | ||
12496 | * config/nvptx/env.c: Delete. | |
12497 | * icv.c: Move definitions of ICV variables back ... | |
12498 | * env.c: ...here. Do not compile environment-related functionality if | |
12499 | LIBGOMP_OFFLOADED_ONLY is set. | |
12500 | ||
9e38af5c AM |
12501 | 2016-11-30 Alexander Monakov <amonakov@ispras.ru> |
12502 | ||
12503 | * configure.ac [nvptx*-*-*] (libgomp_offloaded_only): Set and use it... | |
12504 | (LIBGOMP_OFFLOADED_ONLY): ...here; new define. | |
12505 | * configure: Regenerate. | |
12506 | * config.h.in: Likewise. | |
12507 | ||
f96b7f1f AM |
12508 | 2016-11-30 Alexander Monakov <amonakov@ispras.ru> |
12509 | ||
12510 | * Makefile.in: Regenerate with automake-1.11.6. | |
12511 | * aclocal.m4: Likewise. | |
12512 | * configure: Likewise. | |
12513 | * testsuite/Makefile.in: Likewise. | |
12514 | ||
6a6951b1 AM |
12515 | 2016-11-28 Alexander Monakov <amonakov@ispras.ru> |
12516 | ||
12517 | * config/nvptx/critical.c: Delete to use generic implementation. | |
12518 | ||
c7ac071f JH |
12519 | 2016-11-28 Jonas Hahnfeld <Hahnfeld@itc.rwth-aachen.de> |
12520 | ||
12521 | * config/linux/affinity.c [!HAVE_PTHREAD_AFFINITY_NP]: Include | |
12522 | ../../affinity.c as fallback. | |
12523 | * config/nvptx/affinity.c: Delete to use fallback implementation. | |
12524 | ||
6103184e | 12525 | 2016-11-23 Alexander Monakov <amonakov@ispras.ru> |
92a285c1 | 12526 | Jakub Jelinek <jakub@redhat.com> |
6103184e AM |
12527 | Dmitry Melnik <dm@ispras.ru> |
12528 | ||
12529 | * Makefile.am (libgomp_la_SOURCES): Add atomic.c, icv.c, icv-device.c. | |
12530 | * Makefile.in. Regenerate. | |
12531 | * configure.ac [nvptx*-*-*] (libgomp_use_pthreads): Set and use it... | |
12532 | (LIBGOMP_USE_PTHREADS): ...here; new define. | |
12533 | * configure: Regenerate. | |
12534 | * config.h.in: Likewise. | |
12535 | * config/posix/affinity.c: Move to... | |
12536 | * affinity.c: ...here (new file). Guard use of Pthreads-specific | |
12537 | interface by LIBGOMP_USE_PTHREADS. | |
12538 | * critical.c: Split out GOMP_atomic_{start,end} into... | |
12539 | * atomic.c: ...here (new file). | |
12540 | * env.c: Split out ICV definitions into... | |
12541 | * icv.c: ...here (new file) and... | |
12542 | * icv-device.c: ...here. New file. | |
12543 | * config/linux/lock.c (gomp_init_lock_30): Move to generic lock.c. | |
12544 | (gomp_destroy_lock_30): Ditto. | |
12545 | (gomp_set_lock_30): Ditto. | |
12546 | (gomp_unset_lock_30): Ditto. | |
12547 | (gomp_test_lock_30): Ditto. | |
12548 | (gomp_init_nest_lock_30): Ditto. | |
12549 | (gomp_destroy_nest_lock_30): Ditto. | |
12550 | (gomp_set_nest_lock_30): Ditto. | |
12551 | (gomp_unset_nest_lock_30): Ditto. | |
12552 | (gomp_test_nest_lock_30): Ditto. | |
12553 | * lock.c: New. | |
12554 | * config/nvptx/lock.c: New. | |
12555 | * config/nvptx/bar.c: New. | |
12556 | * config/nvptx/bar.h: New. | |
12557 | * config/nvptx/doacross.h: New. | |
12558 | * config/nvptx/error.c: New. | |
12559 | * config/nvptx/icv-device.c: New. | |
12560 | * config/nvptx/mutex.h: New. | |
12561 | * config/nvptx/pool.h: New. | |
12562 | * config/nvptx/proc.c: New. | |
12563 | * config/nvptx/ptrlock.h: New. | |
12564 | * config/nvptx/sem.h: New. | |
12565 | * config/nvptx/simple-bar.h: New. | |
12566 | * config/nvptx/target.c: New. | |
12567 | * config/nvptx/task.c: New. | |
12568 | * config/nvptx/team.c: New. | |
12569 | * config/nvptx/time.c: New. | |
12570 | * config/posix/simple-bar.h: New. | |
12571 | * libgomp.h: Guard pthread.h inclusion. Include simple-bar.h. | |
12572 | (gomp_num_teams_var): Declare. | |
12573 | (struct gomp_thread_pool): Change threads_dock member to | |
12574 | gomp_simple_barrier_t. | |
12575 | [__nvptx__] (gomp_thread): New implementation. | |
12576 | (gomp_thread_attr): Guard by LIBGOMP_USE_PTHREADS. | |
12577 | (gomp_thread_destructor): Ditto. | |
12578 | (gomp_init_thread_affinity): Ditto. | |
12579 | * team.c: Guard uses of Pthreads-specific interfaces by | |
12580 | LIBGOMP_USE_PTHREADS. Adjust all uses of threads_dock. | |
12581 | (gomp_free_thread) [__nvptx__]: Do not call 'free'. | |
12582 | * config/nvptx/alloc.c: Delete. | |
12583 | * config/nvptx/barrier.c: Ditto. | |
12584 | * config/nvptx/fortran.c: Ditto. | |
12585 | * config/nvptx/iter.c: Ditto. | |
12586 | * config/nvptx/iter_ull.c: Ditto. | |
12587 | * config/nvptx/loop.c: Ditto. | |
12588 | * config/nvptx/loop_ull.c: Ditto. | |
12589 | * config/nvptx/ordered.c: Ditto. | |
12590 | * config/nvptx/parallel.c: Ditto. | |
12591 | * config/nvptx/priority_queue.c: Ditto. | |
12592 | * config/nvptx/sections.c: Ditto. | |
12593 | * config/nvptx/single.c: Ditto. | |
12594 | * config/nvptx/splay-tree.c: Ditto. | |
12595 | * config/nvptx/work.c: Ditto. | |
12596 | * testsuite/libgomp.fortran/fortran.exp (lang_link_flags): Pass | |
12597 | -foffload=-lgfortran in addition to -lgfortran. | |
12598 | * testsuite/libgomp.oacc-fortran/fortran.exp (lang_link_flags): Ditto. | |
12599 | * plugin/plugin-nvptx.c: Include <limits.h>. | |
12600 | (struct targ_fn_descriptor): Add new fields. | |
12601 | (struct ptx_device): Ditto. Set them... | |
12602 | (nvptx_open_device): ...here. | |
12603 | (nvptx_adjust_launch_bounds): New. | |
12604 | (nvptx_host2dev): Allow NULL 'nvthd'. | |
12605 | (nvptx_dev2host): Ditto. | |
12606 | (GOMP_OFFLOAD_get_caps): Add GOMP_OFFLOAD_CAP_OPENMP_400. | |
12607 | (link_ptx): Adjust log sizes. | |
12608 | (nvptx_host2dev): Allow NULL 'nvthd'. | |
12609 | (nvptx_dev2host): Ditto. | |
12610 | (nvptx_set_clocktick): New. Use it... | |
12611 | (GOMP_OFFLOAD_load_image): ...here. Set new targ_fn_descriptor | |
12612 | fields. | |
12613 | (GOMP_OFFLOAD_dev2dev): New. | |
12614 | (nvptx_adjust_launch_bounds): New. | |
12615 | (nvptx_stacks_size): New. | |
12616 | (nvptx_stacks_alloc): New. | |
12617 | (nvptx_stacks_free): New. | |
12618 | (GOMP_OFFLOAD_run): New. | |
12619 | (GOMP_OFFLOAD_async_run): New (stub). | |
12620 | ||
56b1c60e MJ |
12621 | 2016-11-23 Martin Jambor <mjambor@suse.cz> |
12622 | ||
12623 | * testsuite/libgomp.hsa.c/bits-insns.c: New test. | |
12624 | * testsuite/libgomp.hsa.c/tiling-1.c: Likewise. | |
12625 | * testsuite/libgomp.hsa.c/tiling-2.c: Likewise. | |
12626 | ||
b8d89b03 | 12627 | 2016-11-23 Martin Liska <mliska@suse.cz> |
92a285c1 | 12628 | Martin Jambor <mjambor@suse.cz> |
b8d89b03 ML |
12629 | |
12630 | * plugin/hsa.h: New file. | |
12631 | * plugin/hsa_ext_finalize.h: New file. | |
12632 | * plugin/configfrag.ac: Remove hsa-kmt-lib test. Added checks for | |
12633 | header file unistd.h, and functions secure_getenv, __secure_getenv, | |
12634 | getuid, geteuid, getgid and getegid. | |
12635 | * plugin/Makefrag.am (libgomp_plugin_hsa_la_CPPFLAGS): Added | |
12636 | -D_GNU_SOURCE. | |
12637 | * plugin/plugin-hsa.c: Include config.h, inttypes.h and stdbool.h. | |
12638 | Handle various cases of secure_getenv presence, add an implementation | |
12639 | when we can test effective UID and GID. | |
12640 | (struct hsa_runtime_fn_info): New structure. | |
12641 | (hsa_runtime_fn_info hsa_fns): New variable. | |
12642 | (hsa_runtime_lib): Likewise. | |
12643 | (support_cpu_devices): Likewise. | |
12644 | (init_enviroment_variables): Load newly introduced ENV | |
12645 | variables. | |
12646 | (hsa_warn): Call hsa run-time functions via hsa_fns structure. | |
12647 | (hsa_fatal): Likewise. | |
12648 | (DLSYM_FN): New macro. | |
12649 | (init_hsa_runtime_functions): New function. | |
12650 | (suitable_hsa_agent_p): Call hsa run-time functions via hsa_fns | |
12651 | structure. Depending on environment, also allow CPU devices. | |
12652 | (init_hsa_context): Call hsa run-time functions via hsa_fns structure. | |
12653 | (get_kernarg_memory_region): Likewise. | |
12654 | (GOMP_OFFLOAD_init_device): Likewise. | |
12655 | (destroy_hsa_program): Likewise. | |
12656 | (init_basic_kernel_info): New function. | |
12657 | (GOMP_OFFLOAD_load_image): Use it. | |
12658 | (create_and_finalize_hsa_program): Call hsa run-time functions via | |
12659 | hsa_fns structure. | |
12660 | (create_single_kernel_dispatch): Likewise. | |
12661 | (release_kernel_dispatch): Likewise. | |
12662 | (init_single_kernel): Likewise. | |
12663 | (parse_target_attributes): Allow up multiple HSA grid dimensions. | |
12664 | (get_group_size): New function. | |
12665 | (run_kernel): Likewise. | |
12666 | (GOMP_OFFLOAD_run): Outline most functionality to run_kernel. | |
12667 | (GOMP_OFFLOAD_fini_device): Call hsa run-time functions via hsa_fns | |
12668 | structure. | |
12669 | * testsuite/lib/libgomp.exp: Remove hsa_kmt_lib support. | |
12670 | * testsuite/libgomp-test-support.exp.in: Likewise. | |
12671 | * Makefile.in: Regenerated. | |
12672 | * aclocal.m4: Likewise. | |
12673 | * config.h.in: Likewise. | |
12674 | * configure: Likewise. | |
12675 | * testsuite/Makefile.in: Likewise. | |
12676 | ||
18d2ada8 | 12677 | 2016-11-15 Martin Jambor <mjambor@suse.cz> |
92a285c1 | 12678 | Alexander Monakov <amonakov@ispras.ru> |
18d2ada8 MJ |
12679 | |
12680 | * testsuite/libgomp.fortran/examples-4/device-1.f90 (e_57_1): Add | |
12681 | mapping clauses to target constructs. | |
12682 | * testsuite/libgomp.fortran/examples-4/device-3.f90 (e_57_3): Ditto. | |
12683 | ||
84c1b9d3 MK |
12684 | 2016-11-15 Matthias Klose <doko@ubuntu.com> |
12685 | ||
12686 | * configure: Regenerate. | |
12687 | ||
b4c3a85b JJ |
12688 | 2016-11-10 Jakub Jelinek <jakub@redhat.com> |
12689 | ||
8ebd1b31 JJ |
12690 | * omp_lib.f90.in (openmp_version): Change to 201511 from 201307. |
12691 | * omp_lib.h.in (openmp_version): Likewise. | |
12692 | * testsuite/libgomp.fortran/openmp_version-1.f: Expect 201511 instead | |
12693 | of 201307. | |
12694 | * testsuite/libgomp.fortran/openmp_version-2.f90: Likewise. | |
12695 | ||
b4c3a85b JJ |
12696 | * testsuite/libgomp.fortran/examples-4/declare_target-1.f90 |
12697 | (fib_wrapper): Add map(from: x) clause. | |
12698 | * testsuite/libgomp.fortran/examples-4/declare_target-2.f90 | |
12699 | (e_53_2): Likewise. | |
12700 | * testsuite/libgomp.fortran/examples-4/declare_target-4.f90 | |
12701 | (accum): Add map(tmp) clause. | |
12702 | * testsuite/libgomp.fortran/examples-4/declare_target-5.f90 | |
12703 | (accum): Add map(tofrom: tmp) clause. | |
12704 | * testsuite/libgomp.fortran/examples-4/target_data-3.f90 | |
12705 | (gramSchmidt): Likewise. | |
12706 | * testsuite/libgomp.fortran/examples-4/teams-2.f90 (dotprod): Add | |
12707 | map(tofrom: sum) clause. | |
12708 | * testsuite/libgomp.fortran/nestedfn5.f90 (foo): Add twice | |
12709 | map (alloc: a, l) clause. Add defaultmap(tofrom: scalar) clause. | |
12710 | * testsuite/libgomp.fortran/pr66199-2.f90: Adjust for linear clause | |
12711 | only allowed on the loop iterator. | |
12712 | * testsuite/libgomp.fortran/target4.f90 (foo): Add map(t) clause. | |
12713 | * testsuite/libgomp.fortran/taskloop2.f90: New test. | |
12714 | * testsuite/libgomp.fortran/taskloop4.f90: New test. | |
12715 | * testsuite/libgomp.fortran/doacross1.f90: New test. | |
12716 | * testsuite/libgomp.fortran/doacross3.f90: New test. | |
12717 | * testsuite/libgomp.fortran/taskloop1.f90: New test. | |
12718 | * testsuite/libgomp.fortran/taskloop3.f90: New test. | |
12719 | * testsuite/libgomp.fortran/doacross2.f90: New test. | |
12720 | * testsuite/libgomp.c/doacross-1.c (main): Add missing | |
12721 | #pragma omp atomic read. | |
12722 | * testsuite/libgomp.c/doacross-2.c (main): Likewise. | |
12723 | * testsuite/libgomp.c/doacross-3.c (main): Likewise. | |
12724 | ||
6668eb45 CP |
12725 | 2016-11-02 Cesar Philippidis <cesar@codesourcery.com> |
12726 | Nathan Sidwell <nathan@acm.org> | |
12727 | ||
12728 | * plugin/plugin-nvptx.c (nvptx_exec): Interrogate board attributes | |
12729 | to determine default geometry. | |
12730 | * testsuite/libgomp.oacc-c-c++-common/loop-auto-1.c: Set gang | |
12731 | dimension. | |
12732 | ||
f10e37a1 JJ |
12733 | 2016-11-01 Jakub Jelinek <jakub@redhat.com> |
12734 | ||
12735 | * hashtab.h: Use standard GPLv3 with runtime exception | |
12736 | boilerplate. | |
12737 | ||
015c7760 AH |
12738 | 2016-10-27 Aldy Hernandez <aldyh@redhat.com> |
12739 | ||
12740 | * oacc-init.c (goacc_new_thread): Use sizeof of the appropriate | |
12741 | size when allocating new thread. | |
12742 | ||
20a1e5b8 MP |
12743 | 2016-09-14 Marek Polacek <polacek@redhat.com> |
12744 | ||
12745 | * testsuite/libgomp.c++/atomic-3.C: Use -Wno-deprecated. | |
12746 | ||
1cad9284 JJ |
12747 | 2016-08-19 Jakub Jelinek <jakub@redhat.com> |
12748 | ||
12749 | PR fortran/71014 | |
12750 | * testsuite/libgomp.fortran/pr71014.f90: New test. | |
12751 | ||
2c71d454 CLT |
12752 | 2016-08-18 Chung-Lin Tang <cltang@codesourcery.com> |
12753 | ||
12754 | PR middle-end/70895 | |
12755 | * testsuite/libgomp.oacc-fortran/reduction-7.f90: Add explicit | |
12756 | firstprivate clauses. | |
12757 | * testsuite/libgomp.oacc-fortran/reduction-6.f90: Remove explicit | |
12758 | copy clauses. | |
12759 | * testsuite/libgomp.oacc-c-c++-common/reduction-7.c: Likewise. | |
12760 | * testsuite/libgomp.oacc-c-c++-common/reduction-cplx-flt.c: Likewise. | |
12761 | * testsuite/libgomp.oacc-c-c++-common/reduction-flt.c: Likewise. | |
12762 | * testsuite/libgomp.oacc-c-c++-common/collapse-2.c: Likewise. | |
12763 | * testsuite/libgomp.oacc-c-c++-common/loop-red-wv-1.c: Likewise. | |
12764 | * testsuite/libgomp.oacc-c-c++-common/collapse-4.c: Likewise. | |
12765 | * testsuite/libgomp.oacc-c-c++-common/loop-red-v-1.c: Likewise. | |
12766 | * testsuite/libgomp.oacc-c-c++-common/reduction-cplx-dbl.c: Likewise. | |
12767 | * testsuite/libgomp.oacc-c-c++-common/loop-red-g-1.c: Likewise. | |
12768 | * testsuite/libgomp.oacc-c-c++-common/loop-red-gwv-1.c: Likewise. | |
12769 | * testsuite/libgomp.oacc-c-c++-common/loop-red-w-1.c: Likewise. | |
12770 | * testsuite/libgomp.oacc-c-c++-common/reduction-dbl.c: Likewise. | |
12771 | ||
7c713714 CLT |
12772 | 2016-08-14 Chung-Lin Tang <cltang@codesourcery.com> |
12773 | ||
12774 | PR fortran/70598 | |
12775 | * testsuite/libgomp.oacc-fortran/host_data-1.f90: New test. | |
12776 | ||
5c934396 JJ |
12777 | 2016-08-08 Jakub Jelinek <jakub@redhat.com> |
12778 | ||
12779 | PR c++/58706 | |
12780 | * testsuite/libgomp.c++/pr58706.C: New test. | |
12781 | ||
9ef64248 TS |
12782 | 2016-08-04 Thomas Schwinge <thomas@codesourcery.com> |
12783 | ||
bbc79c0e TS |
12784 | * testsuite/libgomp.oacc-c++/routine-1-auto.C: New file. |
12785 | * testsuite/libgomp.oacc-c++/routine-1-template-auto.C: Likewise. | |
12786 | * testsuite/libgomp.oacc-c++/routine-1-template-trailing-return-type.C: | |
12787 | Likewise. | |
12788 | * testsuite/libgomp.oacc-c++/routine-1-template.C: Likewise. | |
12789 | * testsuite/libgomp.oacc-c++/routine-1-trailing-return-type.C: | |
12790 | Likewise. | |
12791 | * testsuite/libgomp.oacc-c-c++-common/routine-1.c: Adjust. | |
12792 | ||
9ef64248 TS |
12793 | * testsuite/libgomp.oacc-c-c++-common/crash-1.c: Make it a "link" |
12794 | test, and don't hardcode -O0. | |
12795 | ||
c1311c86 NS |
12796 | 2016-08-03 Nathan Sidwell <nathan@codesourcery.com> |
12797 | ||
12798 | * testsuite/libgomp.oacc-c-c++-common/crash-1.c: New. | |
12799 | ||
b1c9c068 CP |
12800 | 2016-07-15 Cesar Philippidis <cesar@codesourcery.com> |
12801 | ||
12802 | * testsuite/libgomp.oacc-c-c++-common/zero_length_subarrays.c: New | |
12803 | test. | |
12804 | ||
b4410f63 L |
12805 | 2016-07-03 H.J. Lu <hongjiu.lu@intel.com> |
12806 | ||
12807 | PR middle-end/71734 | |
12808 | * testsuite/libgomp.fortran/pr71734-1.f90: New test. | |
12809 | * testsuite/libgomp.fortran/pr71734-2.f90: Likewise. | |
12810 | ||
a8dbab92 JJ |
12811 | 2016-07-01 Jakub Jelinek <jakub@redhat.com> |
12812 | ||
12813 | PR fortran/71717 | |
12814 | * testsuite/libgomp.fortran/associate3.f90: New test. | |
12815 | ||
9b6a8d0f JJ |
12816 | 2016-06-17 Jakub Jelinek <jakub@redhat.com> |
12817 | ||
12818 | * testsuite/libgomp.c++/target-21.C: New test. | |
12819 | ||
283635f9 JJ |
12820 | 2016-06-16 Jakub Jelinek <jakub@redhat.com> |
12821 | ||
12822 | * testsuite/libgomp.c++/target-20.C: New test. | |
12823 | ||
27d6ba88 TS |
12824 | 2016-06-10 Thomas Schwinge <thomas@codesourcery.com> |
12825 | Cesar Philippidis <cesar@codesourcery.com> | |
12826 | ||
12827 | PR middle-end/71373 | |
12828 | * libgomp.oacc-c/nested-function-1.c: New file. | |
12829 | * libgomp.oacc-c/nested-function-2.c: Likewise. | |
12830 | * libgomp.oacc-fortran/nested-function-1.f90: Likewise. | |
12831 | * libgomp.oacc-fortran/nested-function-2.f90: Likewise. | |
12832 | * libgomp.oacc-fortran/nested-function-3.f90: Likewise. | |
12833 | ||
4b1ffdb1 TS |
12834 | 2016-06-10 Thomas Schwinge <thomas@codesourcery.com> |
12835 | ||
12836 | PR c/71381 | |
12837 | * testsuite/libgomp.oacc-c-c++-common/cache-1.c: #include | |
12838 | "../../../gcc/testsuite/c-c++-common/goacc/cache-1.c". | |
12839 | * testsuite/libgomp.oacc-fortran/cache-1.f95: New file. | |
12840 | ||
d821b794 CLT |
12841 | 2016-06-03 Chung-Lin Tang <cltang@codesourcery.com> |
12842 | ||
12843 | * testsuite/libgomp.oacc-fortran/reduction-8.f90: New testcase. | |
12844 | * testsuite/libgomp.oacc-c-c++-common/reduction-8.c: New testcase. | |
12845 | ||
3616a8c5 CP |
12846 | 2016-06-01 Cesar Philippidis <cesar@codesourcery.com> |
12847 | ||
12848 | PR c/70688 | |
5eed9a88 | 12849 | * testsuite/libgomp.oacc-c-c++-common/pr70688.c: New file. |
3616a8c5 | 12850 | |
7211a097 JJ |
12851 | 2016-05-26 Jakub Jelinek <jakub@redhat.com> |
12852 | ||
12853 | * testsuite/libgomp.c/doacross-1.c (main): Use schedule(static) | |
12854 | instead of invalid schedule(static, 0). | |
12855 | * testsuite/libgomp.c/doacross-2.c (main): Likewise. | |
12856 | ||
b4557008 CLT |
12857 | 2016-05-26 Chung-Lin Tang <cltang@codesourcery.com> |
12858 | ||
12859 | * oacc-plugin.h (GOMP_PLUGIN_async_unmap_vars): Add int parameter. | |
12860 | * oacc-plugin.c (GOMP_PLUGIN_async_unmap_vars): Add 'int async' | |
12861 | parameter, use to set async stream around call to gomp_unmap_vars, | |
12862 | call gomp_unmap_vars() with 'do_copyfrom' set to true. | |
12863 | * plugin/plugin-nvptx.c (struct ptx_event): Add 'int val' field. | |
12864 | (event_gc): Adjust event handling loop, collect PTX_EVT_ASYNC_CLEANUP | |
12865 | events and call GOMP_PLUGIN_async_unmap_vars() for each of them. | |
12866 | (event_add): Add int parameter, initialize 'val' field when | |
12867 | adding new ptx_event struct. | |
12868 | (nvptx_evec): Adjust event_add() call arguments. | |
12869 | (nvptx_host2dev): Likewise. | |
12870 | (nvptx_dev2host): Likewise. | |
12871 | (nvptx_wait_async): Likewise. | |
12872 | (nvptx_wait_all_async): Likewise. | |
12873 | (GOMP_OFFLOAD_openacc_register_async_cleanup): Add async parameter, | |
12874 | pass to event_add() call. | |
12875 | * oacc-host.c (host_openacc_register_async_cleanup): Add 'int async' | |
12876 | parameter. | |
12877 | * oacc-mem.c (gomp_acc_remove_pointer): Adjust async case to | |
12878 | call openacc.register_async_cleanup_func() hook. | |
12879 | * oacc-parallel.c (GOACC_parallel_keyed): Likewise. | |
12880 | * target.c (gomp_copy_from_async): Delete function. | |
12881 | (gomp_map_vars): Remove async_refcount. | |
12882 | (gomp_unmap_vars): Likewise. | |
12883 | (gomp_load_image_to_device): Likewise. | |
12884 | (omp_target_associate_ptr): Likewise. | |
12885 | * libgomp.h (struct splay_tree_key_s): Remove async_refcount. | |
12886 | (acc_dispatch_t.register_async_cleanup_func): Add int parameter. | |
12887 | (gomp_copy_from_async): Remove. | |
12888 | ||
6ce13072 CLT |
12889 | 2016-05-26 Chung-Lin Tang <cltang@codesourcery.com> |
12890 | ||
12891 | * target.c (gomp_device_copy): New function. | |
12892 | (gomp_copy_host2dev): Likewise. | |
12893 | (gomp_copy_dev2host): Likewise. | |
12894 | (gomp_free_device_memory): Likewise. | |
12895 | (gomp_map_vars_existing): Adjust to call gomp_copy_host2dev. | |
12896 | (gomp_map_pointer): Likewise. | |
12897 | (gomp_map_vars): Adjust to call gomp_copy_host2dev, handle | |
12898 | NULL value from alloc_func plugin hook. | |
12899 | (gomp_unmap_tgt): Adjust to call gomp_free_device_memory. | |
12900 | (gomp_copy_from_async): Adjust to call gomp_copy_dev2host. | |
12901 | (gomp_unmap_vars): Likewise. | |
12902 | (gomp_update): Adjust to call gomp_copy_dev2host and | |
12903 | gomp_copy_host2dev functions. | |
12904 | (gomp_unload_image_from_device): Handle false value from | |
12905 | unload_image_func plugin hook. | |
12906 | (gomp_init_device): Handle false value from init_device_func | |
12907 | plugin hook. | |
12908 | (gomp_exit_data): Adjust to call gomp_copy_dev2host. | |
12909 | (omp_target_free): Adjust to call gomp_free_device_memory. | |
12910 | (omp_target_memcpy): Handle return values from host2dev_func, | |
12911 | dev2host_func, and dev2dev_func plugin hooks. | |
12912 | (omp_target_memcpy_rect_worker): Likewise. | |
12913 | (gomp_target_fini): Handle false value from fini_device_func | |
12914 | plugin hook. | |
12915 | * libgomp.h (struct gomp_device_descr): Adjust return type of | |
12916 | init_device_func, fini_device_func, unload_image_func, free_func, | |
12917 | dev2host_func,host2dev_func, and dev2dev_func plugin hooks to 'bool'. | |
12918 | * oacc-init.c (acc_shutdown_1): Handle false value from | |
12919 | fini_device_func plugin hook. | |
12920 | * oacc-host.c (host_init_device): Change return type to bool. | |
12921 | (host_fini_device): Likewise. | |
12922 | (host_unload_image): Likewise. | |
12923 | (host_free): Likewise. | |
12924 | (host_dev2host): Likewise. | |
12925 | (host_host2dev): Likewise. | |
12926 | * oacc-mem.c (acc_free): Handle plugin hook fatal error case. | |
12927 | (acc_memcpy_to_device): Likewise. | |
12928 | (acc_memcpy_from_device): Likewise. | |
12929 | (delete_copyout): Add libfnname parameter, handle free_func | |
12930 | hook fatal error case. | |
12931 | (acc_delete): Adjust delete_copyout call. | |
12932 | (acc_copyout): Likewise. | |
12933 | (update_dev_host): Move gomp_mutex_unlock to after | |
12934 | host2dev/dev2host hook calls. | |
12935 | ||
12936 | * plugin/plugin-hsa.c (hsa_warn): Adjust 'hsa_error' local variable | |
12937 | to 'hsa_error_msg', for clarity. | |
12938 | (hsa_fatal): Likewise. | |
12939 | (hsa_error): New function. | |
12940 | (init_hsa_context): Change return type to bool, adjust to return | |
12941 | false on error. | |
12942 | (GOMP_OFFLOAD_get_num_devices): Adjust to handle init_hsa_context | |
12943 | return value. | |
12944 | (GOMP_OFFLOAD_init_device): Change return type to bool, adjust to | |
12945 | return false on error. | |
12946 | (get_agent_info): Adjust to return NULL on error. | |
12947 | (destroy_hsa_program): Change return type to bool, adjust to | |
12948 | return false on error. | |
12949 | (GOMP_OFFLOAD_load_image): Adjust to return -1 on error. | |
12950 | (destroy_module): Change return type to bool, adjust to | |
12951 | return false on error. | |
12952 | (GOMP_OFFLOAD_unload_image): Likewise. | |
12953 | (GOMP_OFFLOAD_fini_device): Likewise. | |
12954 | (GOMP_OFFLOAD_alloc): Change to return NULL when called. | |
12955 | (GOMP_OFFLOAD_free): Change to return false when called. | |
12956 | (GOMP_OFFLOAD_dev2host): Likewise. | |
12957 | (GOMP_OFFLOAD_host2dev): Likewise. | |
12958 | (GOMP_OFFLOAD_dev2dev): Likewise. | |
12959 | ||
12960 | * plugin/plugin-nvptx.c (CUDA_CALL_ERET): New convenience macro. | |
12961 | (CUDA_CALL): Likewise. | |
12962 | (CUDA_CALL_ASSERT): Likewise. | |
12963 | (map_init): Change return type to bool, use CUDA_CALL* macros. | |
12964 | (map_fini): Likewise. | |
12965 | (init_streams_for_device): Change return type to bool, adjust | |
12966 | call to map_init. | |
12967 | (fini_streams_for_device): Change return type to bool, adjust | |
12968 | call to map_fini. | |
12969 | (select_stream_for_async): Release stream_lock before calls to | |
12970 | GOMP_PLUGIN_fatal, adjust call to map_init. | |
12971 | (nvptx_init): Use CUDA_CALL* macros. | |
12972 | (nvptx_attach_host_thread_to_device): Change return type to bool, | |
12973 | use CUDA_CALL* macros. | |
12974 | (nvptx_open_device): Use CUDA_CALL* macros. | |
12975 | (nvptx_close_device): Change return type to bool, use CUDA_CALL* | |
12976 | macros. | |
12977 | (nvptx_get_num_devices): Use CUDA_CALL* macros. | |
12978 | (link_ptx): Change return type to bool, use CUDA_CALL* macros. | |
12979 | (nvptx_exec): Use CUDA_CALL* macros. | |
12980 | (nvptx_alloc): Use CUDA_CALL* macros. | |
12981 | (nvptx_free): Change return type to bool, use CUDA_CALL* macros. | |
12982 | (nvptx_host2dev): Likewise. | |
12983 | (nvptx_dev2host): Likewise. | |
12984 | (nvptx_wait): Use CUDA_CALL* macros. | |
12985 | (nvptx_wait_async): Likewise. | |
12986 | (nvptx_wait_all): Likewise. | |
12987 | (nvptx_wait_all_async): Likewise. | |
12988 | (nvptx_set_cuda_stream): Adjust order of stream_lock acquire, | |
12989 | use CUDA_CALL* macros, adjust call to map_fini. | |
12990 | (GOMP_OFFLOAD_init_device): Change return type to bool, | |
12991 | adjust code accordingly. | |
12992 | (GOMP_OFFLOAD_fini_device): Likewise. | |
12993 | (GOMP_OFFLOAD_load_image): Adjust calls to | |
12994 | nvptx_attach_host_thread_to_device/link_ptx to handle errors, | |
12995 | use CUDA_CALL* macros. | |
12996 | (GOMP_OFFLOAD_unload_image): Change return type to bool, adjust | |
12997 | return code. | |
12998 | (GOMP_OFFLOAD_alloc): Adjust calls to code to handle error return. | |
12999 | (GOMP_OFFLOAD_free): Change return type to bool, adjust calls to | |
13000 | handle error return. | |
13001 | (GOMP_OFFLOAD_dev2host): Likewise. | |
13002 | (GOMP_OFFLOAD_host2dev): Likewise. | |
13003 | (GOMP_OFFLOAD_openacc_register_async_cleanup): Use CUDA_CALL* macros. | |
13004 | (GOMP_OFFLOAD_openacc_create_thread_data): Likewise. | |
13005 | ||
e46c7770 CP |
13006 | 2016-05-24 Cesar Philippidis <cesar@codesourcery.com> |
13007 | ||
13008 | * oacc-mem.c (acc_malloc): Update handling of shared-memory targets. | |
13009 | (acc_free): Likewise. | |
13010 | (acc_memcpy_to_device): Likewise. | |
13011 | (acc_memcpy_from_device): Likewise. | |
13012 | (acc_deviceptr): Likewise. | |
13013 | (acc_hostptr): Likewise. | |
13014 | (acc_is_present): Likewise. | |
13015 | (acc_map_data): Likewise. | |
13016 | (acc_unmap_data): Likewise. | |
13017 | (present_create_copy): Likewise. | |
13018 | (delete_copyout): Likewise. | |
13019 | (update_dev_host): Likewise. | |
13020 | * testsuite/libgomp.oacc-c-c++-common/asyncwait-1.c: Remove xfail. | |
13021 | * testsuite/libgomp.oacc-c-c++-common/data-2-lib.c: New test. | |
13022 | * testsuite/libgomp.oacc-c-c++-common/data-2.c: Adjust test. | |
13023 | * testsuite/libgomp.oacc-c-c++-common/data-3.c: Likewise. | |
13024 | * testsuite/libgomp.oacc-c-c++-common/enter_exit-lib.c: New test. | |
13025 | * testsuite/libgomp.oacc-c-c++-common/lib-13.c: Adjust test so that | |
13026 | it only runs on nvptx targets. | |
13027 | * testsuite/libgomp.oacc-c-c++-common/lib-14.c: Likewise. | |
13028 | * testsuite/libgomp.oacc-c-c++-common/lib-15.c: Likewise. | |
13029 | * testsuite/libgomp.oacc-c-c++-common/lib-16.c: Likewise. | |
13030 | * testsuite/libgomp.oacc-c-c++-common/lib-17.c: Likewise. | |
13031 | * testsuite/libgomp.oacc-c-c++-common/lib-18.c: Likewise. | |
13032 | * testsuite/libgomp.oacc-c-c++-common/lib-20.c: Likewise. | |
13033 | * testsuite/libgomp.oacc-c-c++-common/lib-21.c: Likewise. | |
13034 | * testsuite/libgomp.oacc-c-c++-common/lib-22.c: Likewise. | |
13035 | * testsuite/libgomp.oacc-c-c++-common/lib-23.c: Likewise. | |
13036 | * testsuite/libgomp.oacc-c-c++-common/lib-24.c: Likewise. | |
13037 | * testsuite/libgomp.oacc-c-c++-common/lib-25.c: Likewise. | |
13038 | * testsuite/libgomp.oacc-c-c++-common/lib-28.c: Likewise. | |
13039 | * testsuite/libgomp.oacc-c-c++-common/lib-29.c: Likewise. | |
13040 | * testsuite/libgomp.oacc-c-c++-common/lib-30.c: Likewise. | |
13041 | * testsuite/libgomp.oacc-c-c++-common/lib-34.c: Likewise. | |
13042 | * testsuite/libgomp.oacc-c-c++-common/lib-42.c: Likewise. | |
13043 | * testsuite/libgomp.oacc-c-c++-common/lib-43.c: Likewise. | |
13044 | * testsuite/libgomp.oacc-c-c++-common/lib-44.c: Likewise. | |
13045 | * testsuite/libgomp.oacc-c-c++-common/lib-47.c: Likewise. | |
13046 | * testsuite/libgomp.oacc-c-c++-common/lib-48.c: Likewise. | |
13047 | * testsuite/libgomp.oacc-c-c++-common/lib-52.c: Likewise. | |
13048 | * testsuite/libgomp.oacc-c-c++-common/lib-53.c: Likewise. | |
13049 | * testsuite/libgomp.oacc-c-c++-common/lib-54.c: Likewise. | |
13050 | ||
a5057543 MJ |
13051 | 2016-05-23 Martin Jambor <mjambor@suse.cz> |
13052 | ||
13053 | * testsuite/libgomp.hsa.c/switch-sbr-2.c: New test. | |
13054 | ||
e37288a6 CLT |
13055 | 2016-05-17 Chung-Lin Tang <cltang@codesourcery.com> |
13056 | ||
13057 | * oacc-init.c (acc_init): Remove !cached_base_dev condition on call | |
13058 | to gomp_init_targets_once. | |
13059 | (acc_set_device_type): Remove !cached_base_dev condition on call to | |
13060 | gomp_init_targets_once, move call to before acc_device_lock acquire, | |
13061 | to avoid deadlock. | |
13062 | (acc_get_device_num): Remove !cached_base_dev condition on call to | |
13063 | gomp_init_targets_once. | |
13064 | (acc_set_device_num): Likewise. | |
13065 | ||
51d9ed48 MJ |
13066 | 2016-05-16 Martin Jambor <mjambor@suse.cz> |
13067 | ||
92a285c1 | 13068 | * testsuite/libgomp.hsa.c/complex-align-2.c: New test. |
51d9ed48 | 13069 | |
5b37e866 NS |
13070 | 2016-05-02 Nathan Sidwell <nathan@codesourcery.com> |
13071 | ||
13072 | * testsuite/libgomp.oacc-c-c++-common/loop-auto-1.c: Adjust | |
13073 | expected partitioning. | |
13074 | ||
e7ff0319 CP |
13075 | 2016-04-29 Cesar Philippidis <cesar@codesourcery.com> |
13076 | ||
13077 | PR middle-end/70626 | |
13078 | * testsuite/libgomp.oacc-c++/template-reduction.C: Adjust test. | |
13079 | * testsuite/libgomp.oacc-c-c++-common/combined-reduction.c: New test. | |
13080 | * testsuite/libgomp.oacc-fortran/combined-reduction.f90: New test. | |
13081 | ||
c2bd3b69 AM |
13082 | 2016-04-21 Alexander Monakov <amonakov@ispras.ru> |
13083 | ||
13084 | * plugin/plugin-nvptx.c (map_fini): Make cuMemFreeHost error | |
13085 | non-fatal. | |
13086 | ||
84311083 JJ |
13087 | 2016-04-19 Jakub Jelinek <jakub@redhat.com> |
13088 | ||
13089 | PR middle-end/70680 | |
13090 | * testsuite/libgomp.c/pr70680-1.c: New test. | |
13091 | * testsuite/libgomp.c/pr70680-2.c: New test. | |
13092 | ||
aadc043f CP |
13093 | 2016-04-14 Cesar Philippidis <cesar@codesourcery.com> |
13094 | ||
13095 | * testsuite/libgomp.oacc-fortran/non-scalar-data.f90: Don't | |
13096 | pass parameter variables to subroutines. | |
13097 | ||
e387fc64 CP |
13098 | 2016-04-14 Cesar Philippidis <cesar@codesourcery.com> |
13099 | ||
13100 | PR middle-end/70643 | |
13101 | * testsuite/libgomp.oacc-fortran/pr70643.f90: New test. | |
13102 | ||
10c3c424 CP |
13103 | 2016-04-13 Cesar Philippidis <cesar@codesourcery.com> |
13104 | ||
13105 | PR testsuite/68242 | |
13106 | * testsuite/libgomp.oacc-c-c++-common/reduction-1.c: Adjust test. | |
13107 | * testsuite/libgomp.oacc-c-c++-common/reduction-2.c: Likewise. | |
13108 | ||
27f9add3 TS |
13109 | 2016-04-12 Thomas Schwinge <thomas@codesourcery.com> |
13110 | ||
58d32aeb TS |
13111 | * libgomp_g.h: Rename GOACC_parallel_keyd prototype to |
13112 | GOACC_parallel_keyed, restore GOACC_parallel prototype, new | |
13113 | GOACC_declare prototype. | |
13114 | ||
d97633ef TS |
13115 | * testsuite/libgomp.oacc-c-c++-common/loop-reduction-gang-np-1.c: |
13116 | Merge this file, and... | |
13117 | * testsuite/libgomp.oacc-c-c++-common/loop-reduction-gv-np-1.c: | |
13118 | ... this file, and... | |
13119 | * testsuite/libgomp.oacc-c-c++-common/loop-reduction-gw-np-1.c: | |
13120 | ... this file, and... | |
13121 | * testsuite/libgomp.oacc-c-c++-common/loop-reduction-gwv-np-1.c: | |
13122 | ... this file, and... | |
13123 | * testsuite/libgomp.oacc-c-c++-common/loop-reduction-gwv-np-2.c: | |
13124 | ... this file, and... | |
13125 | * testsuite/libgomp.oacc-c-c++-common/loop-reduction-gwv-np-3.c: | |
13126 | ... this file, and... | |
13127 | * testsuite/libgomp.oacc-c-c++-common/loop-reduction-gwv-np-4.c: | |
13128 | ... this file, and... | |
13129 | * testsuite/libgomp.oacc-c-c++-common/loop-reduction-vector-p-1.c: | |
13130 | ... this file, and... | |
13131 | * testsuite/libgomp.oacc-c-c++-common/loop-reduction-vector-p-2.c: | |
13132 | ... this file, and... | |
13133 | * testsuite/libgomp.oacc-c-c++-common/loop-reduction-worker-p-1.c: | |
13134 | ... this file, and... | |
13135 | * testsuite/libgomp.oacc-c-c++-common/loop-reduction-wv-p-1.c: | |
13136 | ... this file, and... | |
13137 | * testsuite/libgomp.oacc-c-c++-common/loop-reduction-wv-p-2.c: | |
13138 | ... this file, and... | |
13139 | * testsuite/libgomp.oacc-c-c++-common/loop-reduction-wv-p-3.c: | |
13140 | ... this file into... | |
13141 | * testsuite/libgomp.oacc-c-c++-common/reduction-7.c: ... this | |
13142 | file. | |
13143 | ||
27f9add3 TS |
13144 | * testsuite/libgomp.oacc-c-c++-common/par-loop-comb-reduction-2.c: |
13145 | Make failure observable. | |
13146 | ||
21f3a236 JJ |
13147 | 2016-04-12 Jakub Jelinek <jakub@redhat.com> |
13148 | ||
13149 | * libgomp.h (struct gomp_target_task): Remove firstprivate_copies | |
13150 | field. | |
13151 | * target.c (gomp_target_fallback_firstprivate, | |
13152 | gomp_target_unshare_firstprivate): Removed. | |
13153 | (GOMP_target_ext): Copy firstprivate vars into gomp_allocaed memory | |
13154 | before waiting for dependencies. | |
13155 | (gomp_target_task_fn): Don't copy firstprivate vars here. | |
13156 | * task.c (GOMP_PLUGIN_target_task_completion): Don't free | |
13157 | firstprivate_copies here. | |
13158 | (gomp_create_target_task): Don't initialize firstprivate_copies field. | |
13159 | * testsuite/libgomp.c/target-25.c (main): Use map (to:) instead of | |
13160 | explicit/implicit firstprivate. | |
13161 | ||
c42cfb5c CP |
13162 | 2016-04-08 Cesar Philippidis <cesar@codesourcery.com> |
13163 | ||
13164 | PR lto/70289 | |
13165 | PR ipa/70348 | |
13166 | PR tree-optimization/70373 | |
13167 | PR middle-end/70533 | |
13168 | PR middle-end/70534 | |
13169 | PR middle-end/70535 | |
13170 | * testsuite/libgomp.oacc-c-c++-common/loop-reduction-gang-np-1.c: New | |
13171 | test. | |
13172 | * testsuite/libgomp.oacc-c-c++-common/loop-reduction-gw-np-1.c: New | |
13173 | test. | |
13174 | * testsuite/libgomp.oacc-c-c++-common/loop-reduction-gwv-np-1.c: New | |
13175 | test. | |
13176 | * testsuite/libgomp.oacc-c-c++-common/loop-reduction-gwv-np-2.c: New | |
13177 | test. | |
13178 | * testsuite/libgomp.oacc-c-c++-common/loop-reduction-gwv-np-3.c: New | |
13179 | test. | |
13180 | * testsuite/libgomp.oacc-c-c++-common/loop-reduction-gwv-np-4.c: New | |
13181 | test. | |
13182 | * testsuite/libgomp.oacc-c-c++-common/loop-reduction-vector-p-1.c: New | |
13183 | test. | |
13184 | * testsuite/libgomp.oacc-c-c++-common/loop-reduction-vector-p-2.c: New | |
13185 | test. | |
13186 | * testsuite/libgomp.oacc-c-c++-common/loop-reduction-worker-p-1.c: New | |
13187 | test. | |
13188 | * testsuite/libgomp.oacc-c-c++-common/loop-reduction-wv-p-1.c: New test. | |
13189 | * testsuite/libgomp.oacc-c-c++-common/loop-reduction-wv-p-2.c: New test. | |
13190 | * testsuite/libgomp.oacc-c-c++-common/loop-reduction-wv-p-3.c: New test. | |
13191 | * testsuite/libgomp.oacc-c-c++-common/par-loop-comb-reduction-1.c: New | |
13192 | test. | |
13193 | * testsuite/libgomp.oacc-c-c++-common/par-loop-comb-reduction-2.c: New | |
13194 | test. | |
13195 | * testsuite/libgomp.oacc-c-c++-common/par-loop-comb-reduction-3.c: New | |
13196 | test. | |
13197 | * testsuite/libgomp.oacc-c-c++-common/par-loop-comb-reduction-4.c: New | |
13198 | test. | |
13199 | * testsuite/libgomp.oacc-c-c++-common/par-reduction-1.c: Add test | |
13200 | coverage. | |
13201 | * testsuite/libgomp.oacc-c-c++-common/par-reduction-2.c: Likewise. | |
13202 | * testsuite/libgomp.oacc-c-c++-common/parallel-dims.c: Likewise. | |
13203 | * testsuite/libgomp.oacc-c-c++-common/parallel-reduction.c: New test. | |
13204 | * testsuite/libgomp.oacc-c-c++-common/pr70289.c: New test. | |
13205 | * testsuite/libgomp.oacc-c-c++-common/pr70373.c: New test. | |
13206 | * testsuite/libgomp.oacc-c-c++-common/reduction-1.c: Add test | |
13207 | coverage. | |
13208 | * testsuite/libgomp.oacc-c-c++-common/reduction-2.c: Likewise. | |
13209 | * testsuite/libgomp.oacc-c-c++-common/reduction-3.c: Likewise. | |
13210 | * testsuite/libgomp.oacc-c-c++-common/reduction-4.c: Likewise. | |
13211 | * testsuite/libgomp.oacc-c-c++-common/reduction-5.c: Likewise. | |
13212 | * testsuite/libgomp.oacc-c-c++-common/reduction-6.c: New test. | |
13213 | * testsuite/libgomp.oacc-c-c++-common/reduction.h: New test. | |
13214 | * testsuite/libgomp.oacc-fortran/parallel-reduction.f90: New test. | |
13215 | * testsuite/libgomp.oacc-fortran/pr70289.f90: New test. | |
13216 | * testsuite/libgomp.oacc-fortran/reduction-1.f90: Add test coverage. | |
13217 | * testsuite/libgomp.oacc-fortran/reduction-2.f90: Likewise. | |
13218 | * testsuite/libgomp.oacc-fortran/reduction-3.f90: Likewise. | |
13219 | * testsuite/libgomp.oacc-fortran/reduction-4.f90: Likewise. | |
13220 | * testsuite/libgomp.oacc-fortran/reduction-5.f90: Likewise. | |
13221 | * testsuite/libgomp.oacc-fortran/reduction-6.f90: Likewise. | |
13222 | * testsuite/libgomp.oacc-fortran/reduction-7.f90: New test. | |
13223 | ||
2620c80d TS |
13224 | 2016-03-30 Thomas Schwinge <thomas@codesourcery.com> |
13225 | James Norris <jnorris@codesourcery.com> | |
13226 | Nathan Sidwell <nathan@codesourcery.com> | |
13227 | Julian Brown <julian@codesourcery.com> | |
13228 | Cesar Philippidis <cesar@codesourcery.com> | |
13229 | Chung-Lin Tang <cltang@codesourcery.com> | |
13230 | Tom de Vries <tom@codesourcery.com> | |
13231 | ||
13232 | * testsuite/libgomp.oacc-c-c++-common/clauses-1.c: Update. | |
13233 | * testsuite/libgomp.oacc-c-c++-common/deviceptr-1.c: Likewise. | |
13234 | * testsuite/libgomp.oacc-c-c++-common/if-1.c: Likewise. | |
13235 | * testsuite/libgomp.oacc-c-c++-common/vector-loop.c: Likewise. | |
13236 | * testsuite/libgomp.oacc-fortran/asyncwait-1.f90: Likewise. | |
13237 | * testsuite/libgomp.oacc-fortran/asyncwait-2.f90: Likewise. | |
13238 | * testsuite/libgomp.oacc-fortran/asyncwait-3.f90: Likewise. | |
13239 | * testsuite/libgomp.oacc-fortran/declare-1.f90: Likewise. | |
13240 | * testsuite/libgomp.oacc-c-c++-common/asyncwait-1.c: Likewise. | |
13241 | XFAIL. | |
13242 | * testsuite/libgomp.oacc-c-c++-common/firstprivate-1.c: Update. | |
13243 | Incorporate... | |
13244 | * testsuite/libgomp.oacc-c-c++-common/firstprivate-2.c: ... this | |
13245 | file. | |
13246 | * testsuite/libgomp.oacc-c++/template-reduction.C: New file. | |
13247 | * testsuite/libgomp.oacc-c-c++-common/gang-static-1.c: Likewise. | |
13248 | * testsuite/libgomp.oacc-c-c++-common/gang-static-2.c: Likewise. | |
13249 | * testsuite/libgomp.oacc-c-c++-common/kernels-loop-clauses.c: | |
13250 | Likewise. | |
13251 | * testsuite/libgomp.oacc-c-c++-common/private-variables.c: | |
13252 | Likewise. | |
13253 | * testsuite/libgomp.oacc-c-c++-common/reduction-7.c: Likewise. | |
13254 | * testsuite/libgomp.oacc-c-c++-common/routine-1.c: Likewise. | |
13255 | * testsuite/libgomp.oacc-c-c++-common/routine-4.c: Likewise. | |
13256 | * testsuite/libgomp.oacc-c-c++-common/routine-wv-2.c: Likewise. | |
13257 | * testsuite/libgomp.oacc-fortran/clauses-1.f90: Likewise. | |
13258 | * testsuite/libgomp.oacc-fortran/default-1.f90: Likewise. | |
13259 | * testsuite/libgomp.oacc-fortran/firstprivate-1.f90: Likewise. | |
13260 | * testsuite/libgomp.oacc-fortran/gang-static-1.f90: Likewise. | |
13261 | * testsuite/libgomp.oacc-fortran/if-1.f90: Likewise. | |
13262 | * testsuite/libgomp.oacc-fortran/implicit-firstprivate-ref.f90: | |
13263 | Likewise. | |
13264 | * testsuite/libgomp.oacc-fortran/pr68813.f90: Likewise. | |
13265 | * testsuite/libgomp.oacc-fortran/private-variables.f90: Likewise. | |
13266 | * testsuite/libgomp.oacc-c-c++-common/kernels-1.c: Merge this | |
13267 | file... | |
13268 | * testsuite/libgomp.oacc-c-c++-common/parallel-1.c: ..., and this | |
13269 | file into... | |
13270 | * testsuite/libgomp.oacc-c-c++-common/data-clauses.h: ... this new | |
13271 | file. Update. | |
13272 | * testsuite/libgomp.oacc-c-c++-common/data-clauses-kernels.c: New | |
13273 | file. | |
13274 | * testsuite/libgomp.oacc-c-c++-common/data-clauses-parallel.c: | |
13275 | Likewise. | |
13276 | * testsuite/libgomp.oacc-c-c++-common/kernels-2.c: Rename to... | |
13277 | * testsuite/libgomp.oacc-c-c++-common/data-clauses-kernels-ipa-pta.c: | |
13278 | ... this new file. Update. | |
13279 | * testsuite/libgomp.oacc-c-c++-common/parallel-2.c: Rename to... | |
13280 | * testsuite/libgomp.oacc-c-c++-common/data-clauses-parallel-ipa-pta.c: | |
13281 | ... this new file. Update. | |
13282 | * testsuite/libgomp.oacc-c-c++-common/mode-transitions.c: New | |
13283 | file. Incorporate... | |
13284 | * testsuite/libgomp.oacc-c-c++-common/worker-single-1a.c: ... this | |
13285 | file, and... | |
13286 | * testsuite/libgomp.oacc-c-c++-common/worker-single-4.c: ... this | |
13287 | file, and... | |
13288 | * testsuite/libgomp.oacc-c-c++-common/worker-single-6.c: ... this | |
13289 | file. | |
13290 | * testsuite/libgomp.oacc-c-c++-common/update-1-2.c: Remove file. | |
13291 | ||
ce83104b TS |
13292 | 2016-03-29 Thomas Schwinge <thomas@codesourcery.com> |
13293 | ||
13294 | * testsuite/libgomp.oacc-c++/c++.exp [!lang_test_file_found]: Call | |
13295 | set-torture-options. | |
13296 | ||
6e0df3b7 TS |
13297 | 2016-03-24 Thomas Schwinge <thomas@codesourcery.com> |
13298 | ||
13299 | * testsuite/libgomp.oacc-c++/c++.exp: Set up torture testing, use | |
13300 | gcc-dg-runtest. | |
13301 | * testsuite/libgomp.oacc-c/c.exp: Likewise. | |
13302 | * testsuite/libgomp.oacc-c-c++-common/acc-on-device-2.c: Specify | |
13303 | -fno-builtin-acc_on_device instead of -O0. | |
13304 | * testsuite/libgomp.oacc-c-c++-common/acc-on-device.c: Skip for | |
13305 | -O0. | |
13306 | * testsuite/libgomp.oacc-c-c++-common/loop-auto-1.c: Likewise. | |
13307 | * testsuite/libgomp.oacc-c-c++-common/loop-dim-default.c: | |
13308 | Likewise. | |
13309 | * testsuite/libgomp.oacc-c-c++-common/loop-g-1.c: Likewise. | |
13310 | * testsuite/libgomp.oacc-c-c++-common/loop-g-2.c: Likewise. | |
13311 | * testsuite/libgomp.oacc-c-c++-common/loop-gwv-1.c: Likewise. | |
13312 | * testsuite/libgomp.oacc-c-c++-common/loop-red-g-1.c: Likewise. | |
13313 | * testsuite/libgomp.oacc-c-c++-common/loop-red-gwv-1.c: Likewise. | |
13314 | * testsuite/libgomp.oacc-c-c++-common/loop-red-v-1.c: Likewise. | |
13315 | * testsuite/libgomp.oacc-c-c++-common/loop-red-v-2.c: Likewise. | |
13316 | * testsuite/libgomp.oacc-c-c++-common/loop-red-w-1.c: Likewise. | |
13317 | * testsuite/libgomp.oacc-c-c++-common/loop-red-w-2.c: Likewise. | |
13318 | * testsuite/libgomp.oacc-c-c++-common/loop-v-1.c: Likewise. | |
13319 | * testsuite/libgomp.oacc-c-c++-common/loop-w-1.c: Likewise. | |
13320 | * testsuite/libgomp.oacc-c-c++-common/loop-wv-1.c: Likewise. | |
13321 | * testsuite/libgomp.oacc-c-c++-common/routine-g-1.c: Likewise. | |
13322 | * testsuite/libgomp.oacc-c-c++-common/routine-gwv-1.c: Likewise. | |
13323 | * testsuite/libgomp.oacc-c-c++-common/routine-v-1.c: Likewise. | |
13324 | * testsuite/libgomp.oacc-c-c++-common/routine-w-1.c: Likewise. | |
13325 | * testsuite/libgomp.oacc-c-c++-common/routine-wv-1.c: Likewise. | |
13326 | * testsuite/libgomp.oacc-c-c++-common/kernels-alias-ipa-pta-2.c: | |
13327 | Don't specify -O2. | |
13328 | * testsuite/libgomp.oacc-c-c++-common/kernels-alias-ipa-pta-3.c: | |
13329 | Likewise. | |
13330 | * testsuite/libgomp.oacc-c-c++-common/kernels-alias-ipa-pta.c: | |
13331 | Likewise. | |
13332 | ||
f9c8babb ML |
13333 | 2016-03-24 Martin Liska <mliska@suse.cz> |
13334 | ||
13335 | * plugin/plugin-hsa.c (packet_store_release): New function | |
13336 | that is taken from the HSA runtime manual. | |
13337 | (GOMP_OFFLOAD_run): Use the function. | |
13338 | ||
04833609 JJ |
13339 | 2016-03-23 Jakub Jelinek <jakub@redhat.com> |
13340 | ||
13341 | PR c++/70376 | |
13342 | * testsuite/libgomp.c++/pr70376.C: New test. | |
13343 | ||
d79ee524 TV |
13344 | 2016-03-23 Tom de Vries <tom@codesourcery.com> |
13345 | ||
13346 | * testsuite/libgomp.oacc-fortran/reduction-2.f90: Add missing | |
13347 | initialization of lresult and lvresult. | |
13348 | * testsuite/libgomp.oacc-fortran/reduction-3.f90: Same. | |
13349 | ||
b6d1f2b5 JN |
13350 | 2016-03-23 James Norris <jnorris@codesourcery.com> |
13351 | Daichi Fukuoka <dc-fukuoka@sgi.com> | |
13352 | ||
13353 | PR libgomp/69414 | |
13354 | * oacc-mem.c (delete_copyout, update_dev_host): Fix device address. | |
13355 | * testsuite/libgomp.oacc-c-c++-common/update-1.c: Additional tests. | |
13356 | * testsuite/libgomp.oacc-c-c++-common/update-1-2.c: Likewise. | |
13357 | * testsuite/libgomp.oacc-fortran/update-1.f90: New file. | |
13358 | ||
7397fce2 ML |
13359 | 2016-03-23 Martin Liska <mliska@suse.cz> |
13360 | ||
13361 | PR hsa/70337 | |
13362 | * plugin/plugin-hsa.c (GOMP_OFFLOAD_run): Copy shadow | |
13363 | argument just in case a dispatched kernel uses that argument. | |
13364 | ||
ee2e7d51 TS |
13365 | 2016-03-16 Thomas Schwinge <thomas@codesourcery.com> |
13366 | ||
13367 | * testsuite/libgomp.oacc-fortran/kernels-loop-2.f95: Adjust to | |
13368 | -ftree-parallelize-loops/-fopenacc changes. | |
13369 | * testsuite/libgomp.oacc-fortran/kernels-loop-data-2.f95: | |
13370 | Likewise. | |
13371 | * testsuite/libgomp.oacc-fortran/kernels-loop-data-enter-exit-2.f95: | |
13372 | Likewise. | |
13373 | * testsuite/libgomp.oacc-fortran/kernels-loop-data-enter-exit.f95: | |
13374 | Likewise. | |
13375 | * testsuite/libgomp.oacc-fortran/kernels-loop-data-update.f95: | |
13376 | Likewise. | |
13377 | * testsuite/libgomp.oacc-fortran/kernels-loop-data.f95: Likewise. | |
13378 | * testsuite/libgomp.oacc-fortran/kernels-loop.f95: Likewise. | |
13379 | ||
be9f7143 TS |
13380 | 2016-03-13 Thomas Schwinge <thomas@codesourcery.com> |
13381 | ||
13382 | * testsuite/lib/libgomp.exp (libgomp_init): Potentially append to | |
13383 | always_ld_library_path the path to libgcc_s. | |
13384 | ||
f6c1032d CP |
13385 | 2016-03-10 Cesar Philippidis <cesar@codesourcery.com> |
13386 | ||
13387 | PR testsuite/70009 | |
13388 | * testsuite/libgomp.oacc-c-c++-common/vprop.c: Make test data signed. | |
13389 | ||
5a6452e6 TV |
13390 | 2016-03-09 Tom de Vries <tom@codesourcery.com> |
13391 | ||
13392 | * testsuite/libgomp.oacc-fortran/kernels-loop-2.f95: New test. | |
13393 | * testsuite/libgomp.oacc-fortran/kernels-loop-data-2.f95: Same. | |
13394 | * testsuite/libgomp.oacc-fortran/kernels-loop-data-enter-exit-2.f95: | |
13395 | Same. | |
13396 | * testsuite/libgomp.oacc-fortran/kernels-loop-data-enter-exit.f95: Same. | |
13397 | * testsuite/libgomp.oacc-fortran/kernels-loop-data-update.f95: Same. | |
13398 | * testsuite/libgomp.oacc-fortran/kernels-loop-data.f95: Same. | |
13399 | * testsuite/libgomp.oacc-fortran/kernels-loop.f95: Same. | |
13400 | ||
96a71bd5 MJ |
13401 | 2016-03-07 Martin Jambor <mjambor@suse.cz> |
13402 | ||
13403 | * testsuite/lib/libgomp.exp | |
13404 | (check_effective_target_hsa_offloading_selected_nocache): New. | |
13405 | (check_effective_target_hsa_offloading_selected): Likewise. | |
13406 | * testsuite/libgomp.hsa.c/c.exp: Likewise. | |
13407 | * testsuite/libgomp.hsa.c/alloca-1.c: Likewise. | |
13408 | * testsuite/libgomp.hsa.c/bitfield-1.c: Likewise. | |
13409 | * testsuite/libgomp.hsa.c/builtins-1.c: Likewise. | |
13410 | * testsuite/libgomp.hsa.c/complex-1.c: Likewise. | |
13411 | * testsuite/libgomp.hsa.c/formal-actual-args-1.c: Likewise. | |
13412 | * testsuite/libgomp.hsa.c/function-call-1.c: Likewise. | |
13413 | * testsuite/libgomp.hsa.c/get-level-1.c: Likewise. | |
13414 | * testsuite/libgomp.hsa.c/gridify-1.c: Likewise. | |
13415 | * testsuite/libgomp.hsa.c/gridify-2.c: Likewise. | |
13416 | * testsuite/libgomp.hsa.c/gridify-3.c: Likewise. | |
13417 | * testsuite/libgomp.hsa.c/gridify-4.c: Likewise. | |
13418 | * testsuite/libgomp.hsa.c/memory-operations-1.c: Likewise. | |
13419 | * testsuite/libgomp.hsa.c/pr69568.c: Likewise. | |
13420 | * testsuite/libgomp.hsa.c/rotate-1.c: Likewise. | |
13421 | * testsuite/libgomp.hsa.c/switch-1.c: Likewise. | |
13422 | * testsuite/libgomp.hsa.c/switch-branch-1.c: Likewise. | |
13423 | ||
02e0b5b2 MJ |
13424 | 2016-03-07 Martin Jambor <mjambor@suse.cz> |
13425 | ||
13426 | * testsuite/libgomp.c/examples-4/async_target-2.c: Only run on | |
13427 | non-shared memory accelerators. | |
13428 | * testsuite/libgomp.c/examples-4/device-1.c: Likewise. | |
13429 | * testsuite/libgomp.c/examples-4/target-5.c: Likewise. | |
13430 | * testsuite/libgomp.c/examples-4/target_data-6.c: Likewise. | |
13431 | * testsuite/libgomp.c/examples-4/target_data-7.c: Likewise. | |
13432 | * testsuite/libgomp.fortran/examples-4/async_target-2.f90: Likewise. | |
13433 | * testsuite/libgomp.fortran/examples-4/device-1.f90: Likewise. | |
13434 | * testsuite/libgomp.fortran/examples-4/target-5.f90: Likewise. | |
13435 | * testsuite/libgomp.fortran/examples-4/target_data-6.f90: Likewise. | |
13436 | * testsuite/libgomp.fortran/examples-4/target_data-7.f90: Likewise. | |
13437 | ||
45548f30 MJ |
13438 | 2016-03-07 Martin Jambor <mjambor@suse.cz> |
13439 | ||
13440 | * testsuite/lib/libgomp.exp (libgomp_init): Append -Wno-hsa to | |
13441 | ALWAYS_CFLAGS. | |
13442 | ||
da3d46cb JJ |
13443 | 2016-03-02 Jakub Jelinek <jakub@redhat.com> |
13444 | ||
13445 | PR libgomp/69555 | |
13446 | * testsuite/libgomp.c++/pr69555-1.C: New test. | |
13447 | * testsuite/libgomp.c++/pr69555-2.C: New test. | |
13448 | ||
622174b2 KM |
13449 | 2016-02-26 Keith McDaniel <k.allen.mcdaniel@gmail.com> |
13450 | Martin Jambor <mjambor@suse.cz> | |
13451 | ||
13452 | * testsuite/lib/libgomp.exp | |
13453 | (check_effective_target_offload_device_shared_as): New proc. | |
13454 | * testsuite/libgomp.c++/declare_target-1.C: New test. | |
13455 | ||
e6861a99 IV |
13456 | 2016-02-25 Ilya Verbin <ilya.verbin@intel.com> |
13457 | ||
13458 | PR driver/68463 | |
13459 | * testsuite/libgomp.oacc-c-c++-common/parallel-dims-2.c: Remove. | |
13460 | ||
f99c3557 TS |
13461 | 2016-02-23 Thomas Schwinge <thomas@codesourcery.com> |
13462 | ||
13463 | * oacc-parallel.c (GOACC_parallel_keyed): Initialize dims. | |
13464 | * plugin/plugin-nvptx.c (nvptx_exec): Provide default values for | |
13465 | dims. | |
13466 | * testsuite/libgomp.oacc-c-c++-common/kernels-loop-2.c: Adjust to | |
13467 | -ftree-parallelize-loops/-fopenacc changes. | |
13468 | * testsuite/libgomp.oacc-c-c++-common/kernels-loop-3.c: Likewise. | |
13469 | * testsuite/libgomp.oacc-c-c++-common/kernels-loop-and-seq-2.c: | |
13470 | Likewise. | |
13471 | * testsuite/libgomp.oacc-c-c++-common/kernels-loop-and-seq-3.c: | |
13472 | Likewise. | |
13473 | * testsuite/libgomp.oacc-c-c++-common/kernels-loop-and-seq-4.c: | |
13474 | Likewise. | |
13475 | * testsuite/libgomp.oacc-c-c++-common/kernels-loop-and-seq-5.c: | |
13476 | Likewise. | |
13477 | * testsuite/libgomp.oacc-c-c++-common/kernels-loop-and-seq-6.c: | |
13478 | Likewise. | |
13479 | * testsuite/libgomp.oacc-c-c++-common/kernels-loop-and-seq.c: | |
13480 | Likewise. | |
13481 | * testsuite/libgomp.oacc-c-c++-common/kernels-loop-collapse.c: | |
13482 | Likewise. | |
13483 | * testsuite/libgomp.oacc-c-c++-common/kernels-loop-g.c: Likewise. | |
13484 | * testsuite/libgomp.oacc-c-c++-common/kernels-loop-mod-not-zero.c: | |
13485 | Likewise. | |
13486 | * testsuite/libgomp.oacc-c-c++-common/kernels-loop-n.c: Likewise. | |
13487 | * testsuite/libgomp.oacc-c-c++-common/kernels-loop-nest.c: | |
13488 | Likewise. | |
13489 | * testsuite/libgomp.oacc-c-c++-common/kernels-loop.c: Likewise. | |
13490 | * testsuite/libgomp.oacc-c-c++-common/kernels-reduction.c: | |
13491 | Likewise. | |
13492 | ||
d5ace3b5 CP |
13493 | 2016-02-22 Cesar Philippidis <cesar@codesourcery.com> |
13494 | ||
13495 | * testsuite/libgomp.oacc-c-c++-common/vprop.c: New test. | |
13496 | ||
f3609a89 JJ |
13497 | 2016-02-19 Jakub Jelinek <jakub@redhat.com> |
13498 | ||
13499 | PR driver/69805 | |
13500 | * testsuite/libgomp.c/pr69805.c: New test. | |
13501 | ||
2175df99 TV |
13502 | 2016-02-16 Tom de Vries <tom@codesourcery.com> |
13503 | ||
13504 | PR lto/67709 | |
13505 | * testsuite/libgomp.fortran/declare-simd-4.f90: New test. | |
13506 | ||
17b6426c TV |
13507 | 2016-02-09 Tom de Vries <tom@codesourcery.com> |
13508 | ||
13509 | PR tree-optimization/69599 | |
13510 | * testsuite/libgomp.c/omp-nested-3.c: New test. | |
13511 | * testsuite/libgomp.c/pr46032-2.c: New test. | |
13512 | * testsuite/libgomp.oacc-c-c++-common/kernels-2.c: New test. | |
13513 | * testsuite/libgomp.oacc-c-c++-common/parallel-2.c: New test. | |
13514 | ||
34df756c TV |
13515 | 2016-02-09 Tom de Vries <tom@codesourcery.com> |
13516 | ||
13517 | PR lto/69707 | |
13518 | * testsuite/libgomp.oacc-c-c++-common/parallel-dims-2.c: New test. | |
13519 | ||
5854ee30 AM |
13520 | 2016-02-02 Alexander Monakov <amonakov@ispras.ru> |
13521 | ||
13522 | * testsuite/libgomp.c/target-31.c: Fix testcase. | |
13523 | ||
e70b6ad7 AM |
13524 | 2016-02-02 Alexander Monakov <amonakov@ispras.ru> |
13525 | ||
13526 | * testsuite/libgomp.c/examples-4/teams-3.c: Add missing reduction | |
13527 | clause. | |
13528 | * testsuite/libgomp.c/examples-4/teams-4.c: Likewise. | |
13529 | * testsuite/libgomp.fortran/examples-4/teams-3.f90: Add missing | |
13530 | reduction and map clauses. | |
13531 | * testsuite/libgomp.fortran/examples-4/teams-4.f90: Likewise. | |
13532 | ||
bd78a45f JN |
13533 | 2016-02-02 James Norris <jnorris@codesourcery.com> |
13534 | ||
13535 | * testsuite/libgomp.oacc-c-c++-common/declare-4.c: Fix clause. | |
13536 | ||
41d809d3 TS |
13537 | 2016-02-02 Thomas Schwinge <thomas@codesourcery.com> |
13538 | ||
18f60146 TS |
13539 | * libgomp.map (GOACC_2.0): Remove GOACC_host_data. |
13540 | * oacc-parallel.c (GOACC_host_data): Remove function definition. | |
13541 | ||
1a06f5e6 TS |
13542 | * testsuite/lib/libgomp.exp: Skip hsa offloading for OpenACC test |
13543 | cases. | |
13544 | ||
033ff3d1 TS |
13545 | * plugin/configfrag.ac (HSA_KMT_LIB, HSA_KMT_LDFLAGS): New |
13546 | variables. | |
13547 | * testsuite/libgomp-test-support.exp.in (hsa_runtime_lib) | |
13548 | (hsa_kmt_lib): Set variables. | |
13549 | * testsuite/lib/libgomp.exp (libgomp_init): Use them to amend | |
13550 | always_ld_library_path. | |
13551 | * Makefile.in: Regenerate. | |
13552 | * configure: Likewise. | |
13553 | * testsuite/Makefile.in: Likewise. | |
13554 | ||
4a88d9b7 TS |
13555 | * plugin/configfrag.ac (offload_additional_options) |
13556 | (offload_additional_lib_paths): Don't amend for hsa offloading. | |
13557 | * configure: Regenerate. | |
13558 | ||
41d809d3 TS |
13559 | * plugin/configfrag.ac: Don't configure for offloading target if |
13560 | we don't build the corresponding plugin. | |
13561 | * configure: Regenerate. | |
13562 | ||
b6adbb9f NS |
13563 | 2016-02-01 Nathan Sidwell <nathan@codesourcery.com> |
13564 | ||
13565 | * testsuite/libgomp.oacc-c-c++-common/loop-dim-default.c: New. | |
13566 | * testsuite/libgomp.oacc-fortran/routine-7.f90: Serialize loop. | |
13567 | ||
8dfdb419 TV |
13568 | 2016-01-26 Tom de Vries <tom@codesourcery.com> |
13569 | ||
13570 | PR tree-optimization/69110 | |
13571 | * testsuite/libgomp.c/pr69110.c: New test. | |
13572 | ||
02ef53f2 RB |
13573 | 2016-01-25 Richard Biener <rguenther@suse.de> |
13574 | ||
13575 | PR lto/69393 | |
13576 | * testsuite/libgomp.c++/pr69393.C: New testcase. | |
13577 | ||
eb4048f2 IV |
13578 | 2016-01-22 Ilya Verbin <ilya.verbin@intel.com> |
13579 | ||
13580 | * target.c (gomp_get_target_fn_addr): Allow host fallback if target | |
13581 | function wasn't mapped to the device with non-shared memory. | |
13582 | ||
b235cdd5 IV |
13583 | 2016-01-20 Ilya Verbin <ilya.verbin@intel.com> |
13584 | ||
13585 | * task.c (gomp_create_target_task): Set firstprivate_copies to NULL. | |
13586 | ||
b2b40051 MJ |
13587 | 2016-01-19 Martin Jambor <mjambor@suse.cz> |
13588 | Martin Liska <mliska@suse.cz> | |
13589 | ||
13590 | * plugin/Makefrag.am: Add HSA plugin requirements. | |
13591 | * plugin/configfrag.ac (HSA_RUNTIME_INCLUDE): New variable. | |
13592 | (HSA_RUNTIME_LIB): Likewise. | |
13593 | (HSA_RUNTIME_CPPFLAGS): Likewise. | |
13594 | (HSA_RUNTIME_INCLUDE): New substitution. | |
13595 | (HSA_RUNTIME_LIB): Likewise. | |
13596 | (HSA_RUNTIME_LDFLAGS): Likewise. | |
13597 | (hsa-runtime): New configure option. | |
13598 | (hsa-runtime-include): Likewise. | |
13599 | (hsa-runtime-lib): Likewise. | |
13600 | (PLUGIN_HSA): New substitution variable. | |
13601 | Fill HSA_RUNTIME_INCLUDE and HSA_RUNTIME_LIB according to the new | |
13602 | configure options. | |
13603 | (PLUGIN_HSA_CPPFLAGS): Likewise. | |
13604 | (PLUGIN_HSA_LDFLAGS): Likewise. | |
13605 | (PLUGIN_HSA_LIBS): Likewise. | |
13606 | Check that we have access to HSA run-time. | |
13607 | * libgomp-plugin.h (offload_target_type): New element | |
13608 | OFFLOAD_TARGET_TYPE_HSA. | |
13609 | * libgomp.h (gomp_target_task): New fields firstprivate_copies and | |
13610 | args. | |
13611 | (bool gomp_create_target_task): Updated. | |
13612 | (gomp_device_descr): Extra parameter of run_func and async_run_func, | |
13613 | new field can_run_func. | |
13614 | * libgomp_g.h (GOMP_target_ext): Update prototype. | |
13615 | * oacc-host.c (host_run): Added a new parameter args. | |
13616 | * target.c (calculate_firstprivate_requirements): New function. | |
13617 | (copy_firstprivate_data): Likewise. | |
13618 | (gomp_target_fallback_firstprivate): Use them. | |
13619 | (gomp_target_unshare_firstprivate): New function. | |
13620 | (gomp_get_target_fn_addr): Allow returning NULL for shared memory | |
13621 | devices. | |
13622 | (GOMP_target): Do host fallback for all shared memory devices. Do not | |
13623 | pass any args to plugins. | |
13624 | (GOMP_target_ext): Introduce device-specific argument parameter args. | |
13625 | Allow host fallback if device shares memory. Do not remap data if | |
13626 | device has shared memory. | |
13627 | (gomp_target_task_fn): Likewise. Also treat shared memory devices | |
13628 | like host fallback for mappings. | |
13629 | (GOMP_target_data): Treat shared memory devices like host fallback. | |
13630 | (GOMP_target_data_ext): Likewise. | |
13631 | (GOMP_target_update): Likewise. | |
13632 | (GOMP_target_update_ext): Likewise. Also pass NULL as args to | |
13633 | gomp_create_target_task. | |
13634 | (GOMP_target_enter_exit_data): Likewise. | |
13635 | (omp_target_alloc): Treat shared memory devices like host fallback. | |
13636 | (omp_target_free): Likewise. | |
13637 | (omp_target_is_present): Likewise. | |
13638 | (omp_target_memcpy): Likewise. | |
13639 | (omp_target_memcpy_rect): Likewise. | |
13640 | (omp_target_associate_ptr): Likewise. | |
13641 | (gomp_load_plugin_for_device): Also load can_run. | |
13642 | * task.c (GOMP_PLUGIN_target_task_completion): Free | |
13643 | firstprivate_copies. | |
13644 | (gomp_create_target_task): Accept new argument args and store it to | |
13645 | ttask. | |
13646 | * plugin/plugin-hsa.c: New file. | |
13647 | ||
5d7804a9 TV |
13648 | 2016-01-18 Tom de Vries <tom@codesourcery.com> |
13649 | ||
13650 | * testsuite/libgomp.oacc-c-c++-common/kernels-loop-2.c: New test. | |
13651 | * testsuite/libgomp.oacc-c-c++-common/kernels-loop-3.c: Same. | |
13652 | * testsuite/libgomp.oacc-c-c++-common/kernels-loop-and-seq-2.c: Same. | |
13653 | * testsuite/libgomp.oacc-c-c++-common/kernels-loop-and-seq-3.c: Same. | |
13654 | * testsuite/libgomp.oacc-c-c++-common/kernels-loop-and-seq-4.c: Same. | |
13655 | * testsuite/libgomp.oacc-c-c++-common/kernels-loop-and-seq-5.c: Same. | |
13656 | * testsuite/libgomp.oacc-c-c++-common/kernels-loop-and-seq-6.c: Same. | |
13657 | * testsuite/libgomp.oacc-c-c++-common/kernels-loop-and-seq.c: Same. | |
13658 | * testsuite/libgomp.oacc-c-c++-common/kernels-loop-collapse.c: Same. | |
13659 | * testsuite/libgomp.oacc-c-c++-common/kernels-loop-data-2.c: Same. | |
13660 | * testsuite/libgomp.oacc-c-c++-common/kernels-loop-data-enter-exit-2.c: | |
13661 | Same. | |
13662 | * testsuite/libgomp.oacc-c-c++-common/kernels-loop-data-enter-exit.c: | |
13663 | Same. | |
13664 | * testsuite/libgomp.oacc-c-c++-common/kernels-loop-data-update.c: Same. | |
13665 | * testsuite/libgomp.oacc-c-c++-common/kernels-loop-data.c: Same. | |
13666 | * testsuite/libgomp.oacc-c-c++-common/kernels-loop-g.c: Same. | |
13667 | * testsuite/libgomp.oacc-c-c++-common/kernels-loop-mod-not-zero.c: Same. | |
13668 | * testsuite/libgomp.oacc-c-c++-common/kernels-loop-n.c: Same. | |
13669 | * testsuite/libgomp.oacc-c-c++-common/kernels-loop-nest.c: Same. | |
13670 | * testsuite/libgomp.oacc-c-c++-common/kernels-loop.c: Same. | |
13671 | * testsuite/libgomp.oacc-c-c++-common/kernels-parallel-loop-data-enter-exit.c: | |
13672 | Same. | |
13673 | * testsuite/libgomp.oacc-c-c++-common/kernels-reduction.c: Same. | |
13674 | ||
cb11f3cf JJ |
13675 | 2016-01-15 Jakub Jelinek <jakub@redhat.com> |
13676 | ||
13677 | * task.c (GOMP_PLUGIN_target_task_completion): Add missing return. | |
13678 | ||
33a126a6 CP |
13679 | 2016-01-15 Cesar Philippidis <cesar@codesourcery.com> |
13680 | ||
13681 | * testsuite/libgomp.oacc-fortran/kernels-data.f90: New test. | |
13682 | ||
cdf6119d JN |
13683 | 2016-01-12 James Norris <jnorris@codesourcery.com> |
13684 | ||
13685 | * libgomp.texi: Updates for OpenACC. | |
13686 | ||
0d58938e AM |
13687 | 2016-01-11 Alexander Monakov <amonakov@ispras.ru> |
13688 | ||
13689 | * plugin/plugin-nvptx.c (link_ptx): Do not set CU_JIT_TARGET. | |
13690 | ||
95918b49 L |
13691 | 2016-01-07 H.J. Lu <hongjiu.lu@intel.com> |
13692 | ||
13693 | PR fortran/66680 | |
13694 | * testsuite/libgomp.fortran/pr66680.f90: New test. | |
13695 | ||
8fc708b7 JJ |
13696 | 2016-01-07 Jakub Jelinek <jakub@redhat.com> |
13697 | ||
13698 | PR middle-end/68960 | |
13699 | * testsuite/libgomp.c/pr68960.c: New test. | |
13700 | ||
e9b596c1 NS |
13701 | 2016-01-06 Nathan Sidwell <nathan@acm.org> |
13702 | ||
1a14faf2 | 13703 | * openacc.h (acc_on_device): Add routine pragma for C++ wrapper. |
e9b596c1 NS |
13704 | * testsuite/libgomp.oacc-c-c++-common/acc-on-device-2.c: New. |
13705 | ||
21fa2a29 JJ |
13706 | 2016-01-04 Jakub Jelinek <jakub@redhat.com> |
13707 | ||
818ab71a JJ |
13708 | Update copyright years. |
13709 | ||
21fa2a29 JJ |
13710 | * libgomp.texi: Bump @copying's copyright year. |
13711 | ||
9310efbc NS |
13712 | 2015-12-31 Nathan Sidwell <nathan@acm.org> |
13713 | ||
13714 | * testsuite/libgomp.oacc-c-c++-common/loop-red-w-2.c: Correct | |
13715 | dg-additional-options syntax. | |
13716 | * testsuite/libgomp.oacc-c-c++-common/loop-wv-1.c: Likewise. | |
13717 | * testsuite/libgomp.oacc-c-c++-common/loop-gwv-1.c: Likewise. | |
13718 | * testsuite/libgomp.oacc-c-c++-common/routine-v-1.c: Likewise. | |
13719 | * testsuite/libgomp.oacc-c-c++-common/loop-red-gwv-1.c: Likewise. | |
13720 | * testsuite/libgomp.oacc-c-c++-common/routine-gwv-1.c: Likewise. | |
13721 | * testsuite/libgomp.oacc-c-c++-common/routine-g-1.c: Likewise. | |
13722 | * testsuite/libgomp.oacc-c-c++-common/loop-v-1.c: Likewise. | |
13723 | * testsuite/libgomp.oacc-c-c++-common/loop-auto-1.c: Likewise. | |
13724 | * testsuite/libgomp.oacc-c-c++-common/routine-w-1.c: Likewise. | |
13725 | * testsuite/libgomp.oacc-c-c++-common/routine-wv-1.c: Likewise. | |
13726 | * testsuite/libgomp.oacc-c-c++-common/loop-red-v-1.c: Likewise. | |
13727 | * testsuite/libgomp.oacc-c-c++-common/loop-g-1.c: Likewise. | |
13728 | * testsuite/libgomp.oacc-c-c++-common/loop-w-1.c: Likewise. | |
13729 | * testsuite/libgomp.oacc-c-c++-common/loop-red-wv-1.c: Likewise. | |
13730 | * testsuite/libgomp.oacc-c-c++-common/loop-red-v-2.c: Likewise. | |
13731 | * testsuite/libgomp.oacc-c-c++-common/loop-g-2.c: Likewise. | |
13732 | * testsuite/libgomp.oacc-c-c++-common/loop-red-g-1.c: Likewise. | |
13733 | * testsuite/libgomp.oacc-c-c++-common/loop-red-w-1.c: Likewise. | |
13734 | ||
4a38b02b IV |
13735 | 2015-12-15 Ilya Verbin <ilya.verbin@intel.com> |
13736 | ||
13737 | * libgomp.h (REFCOUNT_LINK): Define. | |
13738 | (struct splay_tree_key_s): Add link_key. | |
13739 | * target.c (gomp_map_vars): Treat REFCOUNT_LINK objects as not mapped. | |
13740 | Replace target address of the pointer with target address of newly | |
13741 | mapped object in the splay tree. Set link pointer on target to the | |
13742 | device address of the mapped object. | |
13743 | (gomp_unmap_vars): Restore target address of the pointer in the splay | |
13744 | tree for REFCOUNT_LINK objects after unmapping. | |
13745 | (gomp_load_image_to_device): Set refcount to REFCOUNT_LINK for "omp | |
13746 | declare target link" objects. | |
13747 | (gomp_unload_image_from_device): Replace j with i. Force unmap of all | |
13748 | "omp declare target link" objects, which were mapped for the image. | |
13749 | (gomp_exit_data): Restore target address of the pointer in the splay | |
13750 | tree for REFCOUNT_LINK objects after unmapping. | |
13751 | * testsuite/libgomp.c/target-link-1.c: New file. | |
13752 | ||
d84ffc0a IV |
13753 | 2015-12-14 Ilya Verbin <ilya.verbin@intel.com> |
13754 | ||
13755 | * libgomp.h (gomp_device_state): New enum. | |
13756 | (struct gomp_device_descr): Replace is_initialized with state. | |
13757 | (gomp_fini_device): Remove declaration. | |
13758 | * oacc-host.c (host_dispatch): Use state instead of is_initialized. | |
13759 | * oacc-init.c (acc_init_1): Use state instead of is_initialized. | |
13760 | (acc_shutdown_1): Likewise. Inline gomp_fini_device. | |
13761 | (acc_set_device_type): Use state instead of is_initialized. | |
13762 | (acc_set_device_num): Likewise. | |
13763 | * target.c (resolve_device): Use state instead of is_initialized. | |
13764 | Do not initialize finalized device. | |
13765 | (gomp_map_vars): Do nothing if device is finalized. | |
13766 | (gomp_unmap_vars): Likewise. | |
13767 | (gomp_update): Likewise. | |
13768 | (GOMP_offload_register_ver): Use state instead of is_initialized. | |
13769 | (GOMP_offload_unregister_ver): Likewise. | |
13770 | (gomp_init_device): Likewise. | |
13771 | (gomp_unload_device): Likewise. | |
13772 | (gomp_fini_device): Remove. | |
13773 | (gomp_get_target_fn_addr): Do nothing if device is finalized. | |
13774 | (GOMP_target): Go to host fallback if device is finalized. | |
13775 | (GOMP_target_ext): Likewise. | |
13776 | (gomp_exit_data): Do nothing if device is finalized. | |
13777 | (gomp_target_task_fn): Go to host fallback if device is finalized. | |
13778 | (gomp_target_fini): New static function. | |
13779 | (gomp_target_init): Use state instead of is_initialized. | |
13780 | Call gomp_target_fini at exit. | |
13781 | ||
76680678 TV |
13782 | 2015-12-09 Tom de Vries <tom@codesourcery.com> |
13783 | ||
13784 | PR tree-optimization/68716 | |
13785 | * testsuite/libgomp.c/omp-nested-2.c: New test. | |
13786 | ||
ff7a55bf TS |
13787 | 2015-12-02 Thomas Schwinge <thomas@codesourcery.com> |
13788 | ||
13789 | * testsuite/libgomp.oacc-c-c++-common/host_data-2.c: Restrict to | |
13790 | target openacc_nvidia_accel_selected. | |
13791 | * testsuite/libgomp.oacc-c-c++-common/host_data-4.c: Likewise. | |
13792 | * testsuite/libgomp.oacc-c-c++-common/host_data-5.c: Likewise. | |
13793 | * testsuite/libgomp.oacc-c-c++-common/host_data-3.c: Remove file. | |
13794 | * testsuite/libgomp.oacc-c-c++-common/host_data-6.c: Remove file. | |
13795 | ||
37d5ad46 JB |
13796 | 2015-12-01 Julian Brown <julian@codesourcery.com> |
13797 | James Norris <James_Norris@mentor.com> | |
13798 | ||
13799 | * oacc-parallel.c (GOACC_host_data): New function. | |
13800 | * libgomp.map (GOACC_host_data): Add to GOACC_2.0.1. | |
13801 | * testsuite/libgomp.oacc-c-c++-common/host_data-1.c: New test. | |
13802 | * testsuite/libgomp.oacc-c-c++-common/host_data-2.c: New test. | |
13803 | * testsuite/libgomp.oacc-c-c++-common/host_data-3.c: New test. | |
13804 | * testsuite/libgomp.oacc-c-c++-common/host_data-4.c: New test. | |
13805 | * testsuite/libgomp.oacc-c-c++-common/host_data-5.c: New test. | |
13806 | * testsuite/libgomp.oacc-c-c++-common/host_data-6.c: New test. | |
13807 | ||
db941d7e CP |
13808 | 2015-11-30 James Norris <jnorris@codesourcery.com> |
13809 | Cesar Philippidis <cesar@codesourcery.com> | |
13810 | ||
13811 | libgomp/ | |
13812 | * libgomp.oacc-fortran/routine-5.f90: New test. | |
13813 | * libgomp.oacc-fortran/routine-7.f90: New test. | |
13814 | * libgomp.oacc-fortran/routine-9.f90: New test. | |
13815 | ||
e0ca27c5 TV |
13816 | 2015-11-30 Tom de Vries <tom@codesourcery.com> |
13817 | ||
13818 | PR tree-optimization/46032 | |
13819 | * testsuite/libgomp.c/pr46032.c: New test. | |
13820 | ||
aec17bfe JJ |
13821 | 2015-11-27 Jakub Jelinek <jakub@redhat.com> |
13822 | ||
8e4e4719 JJ |
13823 | PR libgomp/68579 |
13824 | * task.c (gomp_task_run_post_handle_depend_hash): New forward decl. | |
13825 | (gomp_create_target_task): Call it before freeing | |
13826 | GOMP_TARGET_TASK_DATA tasks. | |
13827 | ||
aec17bfe JJ |
13828 | PR c/63326 |
13829 | * testsuite/libgomp.c/cancel-parallel-2.c (foo): Add semicolon | |
13830 | in between case label and OpenMP standalone directives. | |
13831 | * testsuite/libgomp.c++/cancel-parallel-2.C (foo): Likewise. | |
13832 | ||
6cfe90e6 DE |
13833 | 2015-11-26 David Edelsohn <dje.gcc@gmail.com> |
13834 | ||
13835 | * configure: Regenerate. | |
13836 | ||
0e65fd7d JJ |
13837 | 2015-11-26 Jakub Jelinek <jakub@redhat.com> |
13838 | ||
13839 | * testsuite/libgomp.c/target-35.c: New test. | |
13840 | ||
dc7a8b4b JN |
13841 | 2015-11-22 James Norris <jnorris@codesourcery.com> |
13842 | Cesar Philippidis <cesar@codesourcery.com> | |
13843 | ||
13844 | * testsuite/libgomp.oacc-fortran/declare-1.f90: New test. | |
13845 | * testsuite/libgomp.oacc-fortran/declare-2.f90: Likewise. | |
13846 | * testsuite/libgomp.oacc-fortran/declare-3.f90: Likewise. | |
13847 | * testsuite/libgomp.oacc-fortran/declare-4.f90: Likewise. | |
13848 | * testsuite/libgomp.oacc-fortran/declare-5.f90: Likewise. | |
13849 | ||
48a78aee JJ |
13850 | 2015-11-20 Jakub Jelinek <jakub@redhat.com> |
13851 | ||
13852 | PR middle-end/68221 | |
13853 | * testsuite/libgomp.c/reduction-11.c: Remove xfail. | |
13854 | * testsuite/libgomp.c/reduction-12.c: Likewise. | |
13855 | * testsuite/libgomp.c++/reduction-11.C: Likewise. | |
13856 | * testsuite/libgomp.c++/reduction-12.C: Likewise. | |
13857 | ||
2d256816 NS |
13858 | 2015-11-19 Nathan Sidwell <nathan@codesourcery.com> |
13859 | ||
13860 | * libgomp.oacc-c-c++-common/reduction-dbl.c: New. | |
13861 | * libgomp.oacc-c-c++-common/reduction-flt.c: New. | |
13862 | * libgomp.oacc-c-c++-common/reduction-cplx-dbl.c: Use typedef. | |
13863 | * libgomp.oacc-c-c++-common/reduction-cplx-flt.c: Use typedef. | |
13864 | * libgomp.oacc-c-c++-common/reduction-2.c: Uncomment broken tests | |
13865 | and fix. | |
13866 | * libgomp.oacc-c-c++-common/reduction-3.c: Likewise. | |
13867 | * libgomp.oacc-c-c++-common/reduction-4.c: Likewise. | |
13868 | ||
33f47f42 NS |
13869 | 2015-11-18 Nathan Sidwell <nathan@codesourcery.com> |
13870 | ||
13871 | * testsuite/libgomp.oacc-c-c++-common/reduction-cplx-flt.c: Add | |
13872 | worker & gang cases. | |
13873 | * testsuite/libgomp.oacc-c-c++-common/reduction-cplx-dbl.c: Likewise. | |
13874 | ||
3d7bfee0 CP |
13875 | 2015-11-17 Cesar Philippidis <cesar@codesourcery.com> |
13876 | ||
13877 | * config/nvptx/priority_queue.c: New file. | |
13878 | ||
00b9bd52 JJ |
13879 | 2015-11-14 Jakub Jelinek <jakub@redhat.com> |
13880 | ||
13881 | * libgomp.texi: Update references from OpenMP 4.0 to OpenMP 4.5 | |
13882 | sections. | |
13883 | ||
e4606348 JJ |
13884 | 2015-11-14 Jakub Jelinek <jakub@redhat.com> |
13885 | Aldy Hernandez <aldyh@redhat.com> | |
13886 | Ilya Verbin <ilya.verbin@intel.com> | |
13887 | ||
13888 | * ordered.c (gomp_doacross_init, GOMP_doacross_post, | |
13889 | GOMP_doacross_wait, gomp_doacross_ull_init, GOMP_doacross_ull_post, | |
13890 | GOMP_doacross_ull_wait): For GFS_GUIDED don't divide number of | |
13891 | iterators or IV by chunk size. | |
13892 | * parallel.c (gomp_resolve_num_threads): Don't assume that | |
13893 | if thr->ts.team is non-NULL, then pool must be non-NULL. | |
13894 | * libgomp-plugin.h (GOMP_PLUGIN_target_task_completion): Declare. | |
13895 | * libgomp.map (GOMP_PLUGIN_1.1): New symbol version, export | |
13896 | GOMP_PLUGIN_target_task_completion. | |
13897 | * Makefile.am (libgomp_la_SOURCES): Add priority_queue.c. | |
13898 | * Makefile.in: Regenerate. | |
13899 | * libgomp.h: Shuffle prototypes and forward definitions around so | |
13900 | priority queues can be defined. | |
13901 | (enum gomp_task_kind): Add GOMP_TASK_ASYNC_RUNNING. | |
13902 | (enum gomp_target_task_state): New enum. | |
13903 | (struct gomp_target_task): Add state, tgt, task and team fields. | |
13904 | (gomp_create_target_task): Change return type to bool, add | |
13905 | state argument. | |
13906 | (gomp_target_task_fn): Change return type to bool. | |
13907 | (struct gomp_device_descr): Add async_run_func. | |
13908 | (struct gomp_task): Remove children, next_child, prev_child, | |
13909 | next_queue, prev_queue, next_taskgroup, prev_taskgroup. | |
13910 | Add pnode field. | |
13911 | (struct gomp_taskgroup): Remove children. | |
13912 | Add taskgroup_queue. | |
13913 | (struct gomp_team): Change task_queue type to a priority queue. | |
13914 | (splay_compare): Define inline. | |
13915 | (priority_queue_offset): New. | |
13916 | (priority_node_to_task): New. | |
13917 | (task_to_priority_node): New. | |
13918 | * oacc-mem.c: Do not include splay-tree.h. | |
13919 | * priority_queue.c: New file. | |
13920 | * priority_queue.h: New file. | |
13921 | * splay-tree.c: Do not include splay-tree.h. | |
13922 | (splay_tree_foreach_internal): New. | |
13923 | (splay_tree_foreach): New. | |
13924 | * splay-tree.h: Become re-entrant if splay_tree_prefix is defined. | |
13925 | (splay_tree_callback): Define typedef. | |
13926 | * target.c (splay_compare): Move to libgomp.h. | |
13927 | (GOMP_target): Don't adjust *thr in any way around running offloaded | |
13928 | task. | |
13929 | (GOMP_target_ext): Likewise. Handle target nowait. | |
13930 | (GOMP_target_update_ext, GOMP_target_enter_exit_data): Check | |
13931 | return value from gomp_create_target_task, if false, fallthrough | |
13932 | as if no dependencies exist. | |
13933 | (gomp_target_task_fn): Change return type to bool, return true | |
13934 | if the task should have another part scheduled later. Handle | |
13935 | target nowait. | |
13936 | (gomp_load_plugin_for_device): Initialize async_run. | |
13937 | * task.c (gomp_init_task): Initialize children_queue. | |
13938 | (gomp_clear_parent_in_list): New. | |
13939 | (gomp_clear_parent_in_tree): New. | |
13940 | (gomp_clear_parent): Handle priorities. | |
13941 | (GOMP_task): Likewise. | |
13942 | (priority_queue_move_task_first, | |
13943 | gomp_target_task_completion, GOMP_PLUGIN_target_task_completion): | |
13944 | New functions. | |
13945 | (gomp_create_target_task): Use priority queues. Change return type | |
13946 | to bool, add state argument, return false if for async | |
13947 | {{enter,exit} data,update} constructs no dependencies need to be | |
13948 | waited for, handle target nowait. Set task->fn to NULL instead of | |
13949 | gomp_target_task_fn. | |
13950 | (verify_children_queue): Remove. | |
13951 | (priority_list_upgrade_task): New. | |
13952 | (priority_queue_upgrade_task): New. | |
13953 | (verify_task_queue): Remove. | |
13954 | (priority_list_downgrade_task): New. | |
13955 | (priority_queue_downgrade_task): New. | |
13956 | (gomp_task_run_pre): Use priority queues. | |
13957 | Abstract code out to priority_queue_downgrade_task. | |
13958 | (gomp_task_run_post_handle_dependers): Use priority queues. | |
13959 | (gomp_task_run_post_remove_parent): Likewise. | |
13960 | (gomp_task_run_post_remove_taskgroup): Likewise. | |
13961 | (gomp_barrier_handle_tasks): Likewise. Handle target nowait target | |
13962 | tasks specially. | |
13963 | (GOMP_taskwait): Likewise. | |
13964 | (gomp_task_maybe_wait_for_dependencies): Likewise. Abstract code to | |
13965 | priority-queue_upgrade_task. | |
13966 | (GOMP_taskgroup_start): Use priority queues. | |
13967 | (GOMP_taskgroup_end): Likewise. Handle target nowait target tasks | |
13968 | specially. If taskgroup is NULL, and thr->ts.level is 0, act as a | |
13969 | barrier. | |
13970 | * taskloop.c (GOMP_taskloop): Handle priorities. | |
13971 | * team.c (gomp_new_team): Call priority_queue_init. | |
13972 | (free_team): Call priority_queue_free. | |
13973 | (gomp_free_thread): Call gomp_team_end if thr->ts.team is artificial | |
13974 | team created for target nowait in implicit parallel region. | |
13975 | (gomp_team_start): For nested check, test thr->ts.level instead of | |
13976 | thr->ts.team != NULL. | |
13977 | * testsuite/libgomp.c/doacross-3.c: New test. | |
13978 | * testsuite/libgomp.c/ordered-5.c: New test. | |
13979 | * testsuite/libgomp.c/priority.c: New test. | |
13980 | * testsuite/libgomp.c/target-31.c: New test. | |
13981 | * testsuite/libgomp.c/target-32.c: New test. | |
13982 | * testsuite/libgomp.c/target-33.c: New test. | |
13983 | * testsuite/libgomp.c/target-34.c: New test. | |
13984 | ||
1d1ab74f NS |
13985 | 2015-11-13 Nathan Sidwell <nathan@codesourcery.com> |
13986 | ||
c5a64cfe NS |
13987 | * testsuite/libgomp.oacc-c-c++-common/loop-auto-1.c: New. |
13988 | ||
1d1ab74f NS |
13989 | * testsuite/libgomp.oacc-c-c++-common/collapse-2.c: Sequential |
13990 | loop is sequential. | |
13991 | ||
dd3c1b14 NS |
13992 | 2015-11-13 Nathan Sidwell <nathan@codesourcery.com> |
13993 | ||
13994 | * testsuite/libgomp.oacc-c-c++-common/reduction-cplx-dbl.c: New. | |
13995 | * testsuite/libgomp.oacc-c-c++-common/reduction-cplx-flt.c: New. | |
13996 | ||
6e232ba4 JN |
13997 | 2015-11-12 James Norris <jnorris@codesourcery.com> |
13998 | Joseph Myers <joseph@codesourcery.com> | |
13999 | ||
14000 | * libgomp.map (GOACC_2.0.1): Export GOACC_declare. | |
14001 | * oacc-parallel.c (GOACC_declare): New function. | |
14002 | * testsuite/libgomp.oacc-c-c++-common/declare-1.c: New test. | |
14003 | * testsuite/libgomp.oacc-c-c++-common/declare-2.c: Likewise. | |
14004 | * testsuite/libgomp.oacc-c-c++-common/declare-4.c: Likewise. | |
14005 | * testsuite/libgomp.oacc-c-c++-common/declare-5.c: Likewise. | |
14006 | * testsuite/libgomp.oacc-c++/declare-1.C: Likewise. | |
14007 | ||
fffeedeb NS |
14008 | 2015-11-12 Nathan Sidwell <nathan@codesourcery.com> |
14009 | ||
14010 | * testsuite/libgomp.oacc-c-c++-common/default-1.c: New. | |
14011 | ||
182190f2 NS |
14012 | 2015-11-1 Nathan Sidwell <nathan@codesourcery.com> |
14013 | ||
14014 | * testsuite/libgomp.oacc-c-c++-common/firstprivate-1.c: New. | |
14015 | * testsuite/libgomp.oacc-c-c++-common/firstprivate-2.c: New. | |
14016 | ||
36fa0f5f NS |
14017 | 2015-11-09 Nathan Sidwell <nathan@codesourcery.com> |
14018 | ||
d350c40c NS |
14019 | * testsuite/libgomp.oacc-c-c++-common/firstprivate-1.c: Remove |
14020 | inadvertent commit. | |
14021 | ||
14022 | 2015-11-09 Nathan Sidwell <nathan@codesourcery.com> | |
14023 | ||
36fa0f5f NS |
14024 | * testsuite/libgomp.oacc-c-c++-common/routine-g-1.c: New. |
14025 | * testsuite/libgomp.oacc-c-c++-common/routine-gwv-1.c: New. | |
14026 | * testsuite/libgomp.oacc-c-c++-common/routine-v-1.c: New. | |
14027 | * testsuite/libgomp.oacc-c-c++-common/routine-w-1.c: New. | |
14028 | * testsuite/libgomp.oacc-c-c++-common/routine-wv-1.c: New. | |
14029 | ||
66a5f0b4 TS |
14030 | 2015-11-06 Thomas Schwinge <thomas@codesourcery.com> |
14031 | ||
14032 | * testsuite/libgomp.oacc-c-c++-common/loop-red-v-2.c: XFAIL. | |
14033 | * testsuite/libgomp.oacc-c-c++-common/loop-red-w-2.c: Likewise. | |
14034 | ||
e01d41e5 JJ |
14035 | 2015-11-05 Jakub Jelinek <jakub@redhat.com> |
14036 | Ilya Verbin <ilya.verbin@intel.com> | |
14037 | ||
14038 | * libgomp_g.h (GOMP_loop_nonmonotonic_dynamic_next, | |
14039 | GOMP_loop_nonmonotonic_dynamic_start, | |
14040 | GOMP_loop_nonmonotonic_guided_next, | |
14041 | GOMP_loop_nonmonotonic_guided_start, | |
14042 | GOMP_loop_ull_nonmonotonic_dynamic_next, | |
14043 | GOMP_loop_ull_nonmonotonic_dynamic_start, | |
14044 | GOMP_loop_ull_nonmonotonic_guided_next, | |
14045 | GOMP_loop_ull_nonmonotonic_guided_start, | |
14046 | GOMP_parallel_loop_nonmonotonic_dynamic, | |
14047 | GOMP_parallel_loop_nonmonotonic_guided): New prototypes. | |
14048 | (GOMP_target_41): Renamed to ... | |
14049 | (GOMP_target_ext): ... this. Add num_teams and thread_limit | |
14050 | arguments. | |
14051 | (GOMP_target_data_41): Renamed to ... | |
14052 | (GOMP_target_data_ext): ... this. | |
14053 | (GOMP_target_update_41): Renamed to ... | |
14054 | (GOMP_target_update_ext): ... this. | |
14055 | * libgomp.map (GOMP_4.5): Export GOMP_target_ext, | |
14056 | GOMP_target_data_ext and GOMP_target_update_ext instead of | |
14057 | GOMP_target_41, GOMP_target_data_41 and GOMP_target_update_41. | |
14058 | Export GOMP_loop_nonmonotonic_dynamic_next, | |
14059 | GOMP_loop_nonmonotonic_dynamic_start, | |
14060 | GOMP_loop_nonmonotonic_guided_next, | |
14061 | GOMP_loop_nonmonotonic_guided_start, | |
14062 | GOMP_loop_ull_nonmonotonic_dynamic_next, | |
14063 | GOMP_loop_ull_nonmonotonic_dynamic_start, | |
14064 | GOMP_loop_ull_nonmonotonic_guided_next, | |
14065 | GOMP_loop_ull_nonmonotonic_guided_start, | |
14066 | GOMP_parallel_loop_nonmonotonic_dynamic and | |
14067 | GOMP_parallel_loop_nonmonotonic_guided. | |
14068 | * loop.c (GOMP_parallel_loop_nonmonotonic_dynamic, | |
14069 | GOMP_parallel_loop_nonmonotonic_guided, | |
14070 | GOMP_loop_nonmonotonic_dynamic_start, | |
14071 | GOMP_loop_nonmonotonic_guided_start, | |
14072 | GOMP_loop_nonmonotonic_dynamic_next, | |
14073 | GOMP_loop_nonmonotonic_guided_next): New aliases or functions. | |
14074 | * loop_ull.c (GOMP_loop_ull_nonmonotonic_dynamic_start, | |
14075 | GOMP_loop_ull_nonmonotonic_guided_start, | |
14076 | GOMP_loop_ull_nonmonotonic_dynamic_next, | |
14077 | GOMP_loop_ull_nonmonotonic_guided_next): Likewise. | |
14078 | * target.c (gomp_map_0len_lookup, gomp_map_val): New inline | |
14079 | functions. | |
14080 | (gomp_map_vars): Handle GOMP_MAP_ALWAYS_POINTER. For | |
14081 | GOMP_MAP_ZERO_LEN_ARRAY_SECTION use gomp_map_0len_lookup. | |
14082 | Use gomp_map_val function. | |
14083 | (gomp_target_fallback_firstprivate): New static function. | |
14084 | (GOMP_target_41): Renamed to ... | |
14085 | (GOMP_target_ext): ... this. Add num_teams and thread_limit | |
14086 | arguments. Move firstprivate fallback handling into a new | |
14087 | function. | |
14088 | (GOMP_target_data_41): Renamed to ... | |
14089 | (GOMP_target_data_ext): ... this. | |
14090 | (GOMP_target_update_41): Renamed to ... | |
14091 | (GOMP_target_update_ext): ... this. | |
14092 | (gomp_exit_data): For GOMP_MAP_*ZERO_LEN* use | |
14093 | gomp_map_0len_lookup instead of gomp_map_lookup. | |
14094 | (omp_target_is_present): Use gomp_map_0len_lookup instead of | |
14095 | gomp_map_lookup. | |
14096 | * testsuite/libgomp.c/target-28.c: Likewise. | |
14097 | * testsuite/libgomp.c/monotonic-1.c: New test. | |
14098 | * testsuite/libgomp.c/monotonic-2.c: New test. | |
14099 | * testsuite/libgomp.c/nonmonotonic-1.c: New test. | |
14100 | * testsuite/libgomp.c/nonmonotonic-2.c: New test. | |
14101 | * testsuite/libgomp.c/pr66199-5.c: New test. | |
14102 | * testsuite/libgomp.c/pr66199-6.c: New test. | |
14103 | * testsuite/libgomp.c/pr66199-7.c: New test. | |
14104 | * testsuite/libgomp.c/pr66199-8.c: New test. | |
14105 | * testsuite/libgomp.c/pr66199-9.c: New test. | |
14106 | * testsuite/libgomp.c/reduction-11.c: New test. | |
14107 | * testsuite/libgomp.c/reduction-12.c: New test. | |
14108 | * testsuite/libgomp.c/reduction-13.c: New test. | |
14109 | * testsuite/libgomp.c/reduction-14.c: New test. | |
14110 | * testsuite/libgomp.c/reduction-15.c: New test. | |
14111 | * testsuite/libgomp.c/target-12.c (main): Adjust for | |
14112 | omp_target_is_present change for one-past-last element. | |
14113 | * testsuite/libgomp.c/target-17.c (foo): Drop tests where | |
14114 | the same var is both mapped and privatized. | |
14115 | * testsuite/libgomp.c/target-19.c (foo): Adjust for different | |
14116 | handling of zero-length array sections. | |
14117 | * testsuite/libgomp.c/target-28.c: New test. | |
14118 | * testsuite/libgomp.c/target-29.c: New test. | |
14119 | * testsuite/libgomp.c/target-30.c: New test. | |
14120 | * testsuite/libgomp.c/target-teams-1.c: New test. | |
14121 | * testsuite/libgomp.c++/member-6.C: New test. | |
14122 | * testsuite/libgomp.c++/member-7.C: New test. | |
14123 | * testsuite/libgomp.c++/monotonic-1.C: New test. | |
14124 | * testsuite/libgomp.c++/monotonic-2.C: New test. | |
14125 | * testsuite/libgomp.c++/nonmonotonic-1.C: New test. | |
14126 | * testsuite/libgomp.c++/nonmonotonic-2.C: New test. | |
14127 | * testsuite/libgomp.c++/pr66199-3.C: New test. | |
14128 | * testsuite/libgomp.c++/pr66199-4.C: New test. | |
14129 | * testsuite/libgomp.c++/pr66199-5.C: New test. | |
14130 | * testsuite/libgomp.c++/pr66199-6.C: New test. | |
14131 | * testsuite/libgomp.c++/pr66199-7.C: New test. | |
14132 | * testsuite/libgomp.c++/pr66199-8.C: New test. | |
14133 | * testsuite/libgomp.c++/pr66199-9.C: New test. | |
14134 | * testsuite/libgomp.c++/reduction-11.C: New test. | |
14135 | * testsuite/libgomp.c++/reduction-12.C: New test. | |
14136 | * testsuite/libgomp.c++/target-13.C: New test. | |
14137 | * testsuite/libgomp.c++/target-14.C: New test. | |
14138 | * testsuite/libgomp.c++/target-15.C: New test. | |
14139 | * testsuite/libgomp.c++/target-16.C: New test. | |
14140 | * testsuite/libgomp.c++/target-17.C: New test. | |
14141 | * testsuite/libgomp.c++/target-18.C: New test. | |
14142 | * testsuite/libgomp.c++/target-19.C: New test. | |
14143 | ||
ccc8282b NS |
14144 | 2015-11-04 Nathan Sidwell <nathan@codesourcery.com> |
14145 | ||
14146 | * testsuite/libgomp.oacc-fortran/reduction-1.f90: Fix dimensions | |
14147 | and reduction copy. | |
14148 | * testsuite/libgomp.oacc-fortran/reduction-2.f90: Likewise. | |
14149 | * testsuite/libgomp.oacc-fortran/reduction-3.f90: Likewise. | |
14150 | * testsuite/libgomp.oacc-fortran/reduction-4.f90: Likewise. | |
14151 | * testsuite/libgomp.oacc-fortran/reduction-6.f90: Likewise. | |
14152 | * testsuite/libgomp.oacc-c-c++-common/par-reduction-1.c: Likewise. | |
14153 | * testsuite/libgomp.oacc-c-c++-common/reduction-3.c: Likewise. | |
14154 | * testsuite/libgomp.oacc-c-c++-common/collapse-2.c: Likewise. | |
14155 | * testsuite/libgomp.oacc-c-c++-common/par-reduction-2.c: Likewise. | |
14156 | * testsuite/libgomp.oacc-c-c++-common/reduction-4.c: Likewise. | |
14157 | * testsuite/libgomp.oacc-c-c++-common/reduction-initial-1.c: Likewise. | |
14158 | * testsuite/libgomp.oacc-c-c++-common/reduction-1.c: Likewise. | |
14159 | * testsuite/libgomp.oacc-c-c++-common/reduction-5.c: Likewise. | |
14160 | * testsuite/libgomp.oacc-c-c++-common/reduction-2.c: Likewise. | |
14161 | * testsuite/libgomp.oacc-c-c++-common/parallel-dims.c: New. | |
14162 | ||
5d6823a2 NS |
14163 | 2015-11-04 Nathan Sidwell <nathan@codesourcery.com> |
14164 | ||
14165 | * libgomp.oacc-c-c++-common/loop-red-g-1.c: New. | |
14166 | * libgomp.oacc-c-c++-common/loop-red-gwv-1.c: New. | |
14167 | * libgomp.oacc-c-c++-common/loop-red-v-1.c: New. | |
14168 | * libgomp.oacc-c-c++-common/loop-red-v-2.c: New. | |
14169 | * libgomp.oacc-c-c++-common/loop-red-w-1.c: New. | |
14170 | * libgomp.oacc-c-c++-common/loop-red-w-2.c: New. | |
14171 | * libgomp.oacc-c-c++-common/loop-red-wv-1.c: New. | |
14172 | * libgomp.oacc-fortran/reduction-5.f90: Avoid reference var. | |
14173 | ||
5c06742f NS |
14174 | 2015-11-03 Nathan Sidwell <nathan@codesourcery.com> |
14175 | ||
14176 | * libgomp.h (struct acc_dispatch_t): Remove args from exec_func. | |
14177 | * plugin/plugin-nvptx.c (nvptx_exec): Remove sizes & kinds arg. | |
14178 | (GOMP_OFFLOAD_openacc_parallel): Likewise. | |
14179 | * oacc-host.c (host_openacc_exec): Likewise. | |
14180 | * oacc-parallel.c (GOACC_parallel_keyed): Adjust exec_func call. | |
14181 | ||
4bf9e5a8 TS |
14182 | 2015-11-03 Julian Brown <julian@codesourcery.com> |
14183 | Thomas Schwinge <thomas@codesourcery.com> | |
14184 | ||
14185 | * testsuite/libgomp.oacc-c-c++-common/par-reduction-1.c: New file. | |
14186 | * testsuite/libgomp.oacc-c-c++-common/par-reduction-2.c: Likewise. | |
14187 | * testsuite/libgomp.oacc-c-c++-common/worker-single-1a.c: | |
14188 | Likewise. | |
14189 | * testsuite/libgomp.oacc-c-c++-common/worker-single-4.c: Likewise. | |
14190 | * testsuite/libgomp.oacc-c-c++-common/worker-single-6.c: Likewise. | |
14191 | ||
14192 | 2015-11-03 James Norris <jnorris@codesourcery.com> | |
14193 | ||
14194 | * testsuite/libgomp.oacc-c-c++-common/atomic_capture-1.c: New | |
14195 | file. | |
14196 | * testsuite/libgomp.oacc-c-c++-common/atomic_capture-2.c: | |
14197 | Likewise. | |
14198 | * testsuite/libgomp.oacc-c-c++-common/atomic_rw-1.c: Likewise. | |
14199 | * testsuite/libgomp.oacc-c-c++-common/atomic_update-1.c: Likewise. | |
14200 | * testsuite/libgomp.oacc-fortran/atomic_capture-1.f90: Likewise. | |
14201 | * testsuite/libgomp.oacc-fortran/atomic_rw-1.f90: New file. | |
14202 | * testsuite/libgomp.oacc-fortran/atomic_update-1.f90: Likewise. | |
14203 | ||
a0e701d8 NS |
14204 | 2015-10-29 Nathan Sidwell <nathan@codesourcery.com> |
14205 | ||
14206 | * openacc.h (enum acc_device_t): Reformat. Ensure layout | |
14207 | compatibility. | |
14208 | (enum acc_async_t): Reformat. | |
14209 | (acc_on_device): Declare compatible with builtin and provide C++ | |
14210 | wrapper. | |
14211 | * testsuite/libgomp.oacc-c-c++-common/acc-on-device.c: New. | |
14212 | ||
41e977ac TS |
14213 | 2015-10-29 Thomas Schwinge <thomas@codesourcery.com> |
14214 | Cesar Philippidis <cesar@codesourcery.com> | |
14215 | ||
14216 | * testsuite/libgomp.oacc-c-c++-common/combdir-1.c: Rename to... | |
14217 | * testsuite/libgomp.oacc-c-c++-common/combined-directives-1.c: | |
14218 | ... this. Add a description of the test at the top of the file. | |
14219 | * testsuite/libgomp.oacc-fortran/combdir-1.f90: Rename file to... | |
14220 | * testsuite/libgomp.oacc-fortran/combined-directives-1.f90: | |
14221 | ... this. Add a description of the test at the top of the file. | |
14222 | ||
e3091406 NS |
14223 | 2015-10-28 Nathan Sidwell <nathan@codesourcery.com> |
14224 | ||
14225 | * testsuite/libgomp.oacc-c-c++-common/loop-g-1.c: New. | |
14226 | * testsuite/libgomp.oacc-c-c++-common/loop-g-2.c: New. | |
14227 | * testsuite/libgomp.oacc-c-c++-common/loop-gwv-1.c: New. | |
14228 | * testsuite/libgomp.oacc-c-c++-common/loop-v-1.c: New. | |
14229 | * testsuite/libgomp.oacc-c-c++-common/loop-w-1.c: New. | |
14230 | * testsuite/libgomp.oacc-c-c++-common/loop-wv-1.c: New. | |
14231 | ||
a1c1908b NS |
14232 | 2015-10-27 Nathan Sidwell <nathan@codesourcery.com> |
14233 | ||
14234 | * plugin/plugin-nvptx.c (nvptx_exec): Remove check on compute | |
14235 | dimensions. | |
14236 | ||
b3962a4a TS |
14237 | 2015-10-27 Thomas Schwinge <thomas@codesourcery.com> |
14238 | ||
14239 | PR testsuite/68063 | |
14240 | * testsuite/libgomp.c++/member-1.C (A::m1): Add missing private clause. | |
14241 | ||
88bae6f4 TS |
14242 | 2015-10-27 James Norris <jnorris@codesourcery.com> |
14243 | ||
14244 | * testsuite/libgomp.oacc-c-c++-common/combdir-1.c: New file. | |
14245 | * testsuite/libgomp.oacc-fortran/combdir-1.f90: Likewise. | |
14246 | ||
8baa7864 TS |
14247 | 2015-10-26 Thomas Schwinge <thomas@codesourcery.com> |
14248 | ||
bdeb752c TS |
14249 | * testsuite/libgomp.oacc-c-c++-common/abort-1.c: Print to stderr. |
14250 | * testsuite/libgomp.oacc-c-c++-common/abort-3.c: Likewise. | |
14251 | ||
ecd4fd43 TS |
14252 | * testsuite/libgomp.oacc-c-c++-common/lib-1.c: Remove explicit |
14253 | acc_device_nvidia usage. | |
14254 | * testsuite/libgomp.oacc-c-c++-common/lib-10.c: Likewise. | |
14255 | * testsuite/libgomp.oacc-c-c++-common/lib-2.c: Likewise. | |
14256 | * testsuite/libgomp.oacc-c-c++-common/lib-9.c: Likewise. | |
14257 | ||
aa8b7d30 TS |
14258 | * oacc-init.c (acc_shutdown): Call gomp_init_targets_once. |
14259 | * testsuite/libgomp.oacc-c-c++-common/lib-8.c: New file. | |
14260 | ||
7c8f138d TS |
14261 | PR libgomp/66518 |
14262 | * testsuite/libgomp.oacc-c-c++-common/lib-3.c: Resolve XFAIL. | |
14263 | ||
8baa7864 TS |
14264 | PR libgomp/65437 |
14265 | PR libgomp/66518 | |
14266 | * oacc-mem.c (update_dev_host): Call goacc_lazy_initialize. | |
14267 | * testsuite/libgomp.oacc-c-c++-common/lib-42.c: Remove XFAIL. | |
14268 | ||
88ebcde5 TV |
14269 | 2015-10-23 Tom de Vries <tom@codesourcery.com> |
14270 | ||
14271 | PR testsuite/68063 | |
14272 | * testsuite/libgomp.c++/member-2.C (A::m1): Add missing private clause. | |
14273 | ||
9ef83c04 NS |
14274 | 2015-10-20 Nathan Sidwell <nathan@codesourcery.com> |
14275 | ||
14276 | * testsuite/libgomp.oacc-c-c++-common/reduction-5.c: Set sane | |
14277 | vector_length. | |
14278 | * testsuite/libgomp.oacc-fortran/reduction-6.f90: Likewise. | |
14279 | ||
3837c6d6 IV |
14280 | 2015-10-14 Ilya Verbin <ilya.verbin@intel.com> |
14281 | Aleksander Ivanushenko <aleksander.ivanushenko@intel.com> | |
14282 | ||
14283 | * target.c (gomp_map_vars): Initialize tgt->tgt_start and tgt->tgt_end | |
14284 | to 0 when mapnum is 0. | |
14285 | ||
ac8a1965 SH |
14286 | 2015-10-14 Sebastian Huber <sebastian.huber@embedded-brains.de> |
14287 | ||
14288 | * fortran.c (omp_get_place_proc_ids_, omp_get_partition_place_nums_): | |
14289 | Cast to int from int32_t. | |
14290 | ||
d9a6bd32 JJ |
14291 | 2015-10-13 Jakub Jelinek <jakub@redhat.com> |
14292 | Aldy Hernandez <aldyh@redhat.com> | |
14293 | Ilya Verbin <ilya.verbin@intel.com> | |
14294 | ||
14295 | * config/linux/affinity.c (omp_get_place_num_procs, | |
14296 | omp_get_place_proc_ids, gomp_get_place_proc_ids_8): New functions. | |
14297 | * config/linux/doacross.h: New file. | |
14298 | * config/posix/affinity.c (omp_get_place_num_procs, | |
14299 | omp_get_place_proc_ids, gomp_get_place_proc_ids_8): New functions. | |
14300 | * config/posix/doacross.h: New file. | |
14301 | * env.c: Include gomp-constants.h. | |
14302 | (struct gomp_task_icv): Rename run_sched_modifier to | |
14303 | run_sched_chunk_size. | |
14304 | (gomp_max_task_priority_var): New variable. | |
14305 | (parse_schedule): Rename run_sched_modifier to run_sched_chunk_size. | |
14306 | (handle_omp_display_env): Change _OPENMP value from 201307 to | |
14307 | 201511. Print OMP_MAX_TASK_PRIORITY. | |
14308 | (initialize_env): Parse OMP_MAX_TASK_PRIORITY. | |
14309 | (omp_set_schedule, omp_get_schedule): Rename modifier argument to | |
14310 | chunk_size and run_sched_modifier to run_sched_chunk_size. | |
14311 | (omp_get_max_task_priority, omp_get_initial_device, | |
14312 | omp_get_num_places, omp_get_place_num, omp_get_partition_num_places, | |
14313 | omp_get_partition_place_nums): New functions. | |
14314 | * fortran.c (omp_set_schedule_, omp_set_schedule_8_, | |
14315 | omp_get_schedule_, omp_get_schedule_8_): Rename modifier argument | |
14316 | to chunk_size. | |
14317 | (omp_get_num_places_, omp_get_place_num_procs_, | |
14318 | omp_get_place_num_procs_8_, omp_get_place_proc_ids_, | |
14319 | omp_get_place_proc_ids_8_, omp_get_place_num_, | |
14320 | omp_get_partition_num_places_, omp_get_partition_place_nums_, | |
14321 | omp_get_partition_place_nums_8_, omp_get_initial_device_, | |
14322 | omp_get_max_task_priority_): New functions. | |
14323 | * libgomp_g.h (GOMP_loop_doacross_static_start, | |
14324 | GOMP_loop_doacross_dynamic_start, GOMP_loop_doacross_guided_start, | |
14325 | GOMP_loop_doacross_runtime_start, GOMP_loop_ull_doacross_static_start, | |
14326 | GOMP_loop_ull_doacross_dynamic_start, | |
14327 | GOMP_loop_ull_doacross_guided_start, | |
14328 | GOMP_loop_ull_doacross_runtime_start, GOMP_doacross_post, | |
14329 | GOMP_doacross_wait, GOMP_doacross_ull_post, GOMP_doacross_wait, | |
14330 | GOMP_taskloop, GOMP_taskloop_ull, GOMP_target_41, | |
14331 | GOMP_target_data_41, GOMP_target_update_41, | |
14332 | GOMP_target_enter_exit_data): New prototypes. | |
14333 | (GOMP_task): Add prototype argument. | |
14334 | * libgomp.h (_LIBGOMP_CHECKING_): Define to 0 if not yet defined. | |
14335 | (struct gomp_doacross_work_share): New type. | |
14336 | (struct gomp_work_share): Add doacross field. | |
14337 | (struct gomp_task_icv): Rename run_sched_modifier to | |
14338 | run_sched_chunk_size. | |
14339 | (enum gomp_task_kind): Rename GOMP_TASK_IFFALSE to | |
14340 | GOMP_TASK_UNDEFERRED. Add comments. | |
14341 | (struct gomp_task_depend_entry): Add comments. | |
14342 | (struct gomp_task): Likewise. | |
14343 | (struct gomp_taskgroup): Likewise. | |
14344 | (struct gomp_target_task): New type. | |
14345 | (struct gomp_team): Add comment. | |
14346 | (gomp_get_place_proc_ids_8, gomp_doacross_init, | |
14347 | gomp_doacross_ull_init, gomp_task_maybe_wait_for_dependencies, | |
14348 | gomp_create_target_task, gomp_target_task_fn): New prototypes. | |
14349 | (struct target_var_desc): New type. | |
14350 | (struct target_mem_desc): Adjust comment. Use struct | |
14351 | target_var_desc instead of splay_tree_key for list. | |
14352 | (REFCOUNT_INFINITY): Define. | |
14353 | (struct splay_tree_key_s): Remove copy_from field. | |
14354 | (struct gomp_device_descr): Add dev2dev_func field. | |
14355 | (enum gomp_map_vars_kind): New enum. | |
14356 | (gomp_map_vars): Add one argument. | |
14357 | * libgomp.map (OMP_4.5): Export omp_get_max_task_priority, | |
14358 | omp_get_max_task_priority_, omp_get_num_places, omp_get_num_places_, | |
14359 | omp_get_place_num_procs, omp_get_place_num_procs_, | |
14360 | omp_get_place_num_procs_8_, omp_get_place_proc_ids, | |
14361 | omp_get_place_proc_ids_, omp_get_place_proc_ids_8_, omp_get_place_num, | |
14362 | omp_get_place_num_, omp_get_partition_num_places, | |
14363 | omp_get_partition_num_places_, omp_get_partition_place_nums, | |
14364 | omp_get_partition_place_nums_, omp_get_partition_place_nums_8_, | |
14365 | omp_get_initial_device, omp_get_initial_device_, omp_target_alloc, | |
14366 | omp_target_free, omp_target_is_present, omp_target_memcpy, | |
14367 | omp_target_memcpy_rect, omp_target_associate_ptr and | |
14368 | omp_target_disassociate_ptr. | |
14369 | (GOMP_4.0.2): Renamed to ... | |
14370 | (GOMP_4.5): ... this. Export GOMP_target_41, GOMP_target_data_41, | |
14371 | GOMP_target_update_41, GOMP_target_enter_exit_data, GOMP_taskloop, | |
14372 | GOMP_taskloop_ull, GOMP_loop_doacross_dynamic_start, | |
14373 | GOMP_loop_doacross_guided_start, GOMP_loop_doacross_runtime_start, | |
14374 | GOMP_loop_doacross_static_start, GOMP_doacross_post, | |
14375 | GOMP_doacross_wait, GOMP_loop_ull_doacross_dynamic_start, | |
14376 | GOMP_loop_ull_doacross_guided_start, | |
14377 | GOMP_loop_ull_doacross_runtime_start, | |
14378 | GOMP_loop_ull_doacross_static_start, GOMP_doacross_ull_post and | |
14379 | GOMP_doacross_ull_wait. | |
14380 | * libgomp.texi: Document omp_get_max_task_priority. | |
14381 | Rename modifier argument to chunk_size for omp_set_schedule and | |
14382 | omp_get_schedule. Document OMP_MAX_TASK_PRIORITY env var. | |
14383 | * loop.c (GOMP_loop_runtime_start): Adjust for run_sched_modifier | |
14384 | to run_sched_chunk_size renaming. | |
14385 | (GOMP_loop_ordered_runtime_start): Likewise. | |
14386 | (gomp_loop_doacross_static_start, gomp_loop_doacross_dynamic_start, | |
14387 | gomp_loop_doacross_guided_start, GOMP_loop_doacross_runtime_start, | |
14388 | GOMP_parallel_loop_runtime_start): New functions. | |
14389 | (GOMP_parallel_loop_runtime): Adjust for run_sched_modifier | |
14390 | to run_sched_chunk_size renaming. | |
14391 | (GOMP_loop_doacross_static_start, GOMP_loop_doacross_dynamic_start, | |
14392 | GOMP_loop_doacross_guided_start): New functions or aliases. | |
14393 | * loop_ull.c (GOMP_loop_ull_runtime_start): Adjust for | |
14394 | run_sched_modifier to run_sched_chunk_size renaming. | |
14395 | (GOMP_loop_ull_ordered_runtime_start): Likewise. | |
14396 | (gomp_loop_ull_doacross_static_start, | |
14397 | gomp_loop_ull_doacross_dynamic_start, | |
14398 | gomp_loop_ull_doacross_guided_start, | |
14399 | GOMP_loop_ull_doacross_runtime_start): New functions. | |
14400 | (GOMP_loop_ull_doacross_static_start, | |
14401 | GOMP_loop_ull_doacross_dynamic_start, | |
14402 | GOMP_loop_ull_doacross_guided_start): New functions or aliases. | |
14403 | * oacc-mem.c (acc_map_data, present_create_copy, | |
14404 | gomp_acc_insert_pointer): Pass GOMP_MAP_VARS_OPENACC instead of false | |
14405 | to gomp_map_vars. | |
14406 | (gomp_acc_remove_pointer): Use copy_from from target_var_desc. | |
14407 | * oacc-parallel.c (GOACC_data_start): Pass GOMP_MAP_VARS_OPENACC | |
14408 | instead of false to gomp_map_vars. | |
14409 | (GOACC_parallel_keyed): Likewise. Use copy_from from target_var_desc. | |
14410 | * omp.h.in (omp_lock_hint_t): New type. | |
14411 | (omp_init_lock_with_hint, omp_init_nest_lock_with_hint, | |
14412 | omp_get_num_places, omp_get_place_num_procs, omp_get_place_proc_ids, | |
14413 | omp_get_place_num, omp_get_partition_num_places, | |
14414 | omp_get_partition_place_nums, omp_get_initial_device, | |
14415 | omp_get_max_task_priority, omp_target_alloc, omp_target_free, | |
14416 | omp_target_is_present, omp_target_memcpy, omp_target_memcpy_rect, | |
14417 | omp_target_associate_ptr, omp_target_disassociate_ptr): New | |
14418 | prototypes. | |
14419 | * omp_lib.f90.in (omp_lock_hint_kind): New parameter. | |
14420 | (omp_lock_hint_none, omp_lock_hint_uncontended, | |
14421 | omp_lock_hint_contended, omp_lock_hint_nonspeculative, | |
14422 | omp_lock_hint_speculative): New parameters. | |
14423 | (omp_init_lock_with_hint, omp_init_nest_lock_with_hint, | |
14424 | omp_get_num_places, omp_get_place_num_procs, omp_get_place_proc_ids, | |
14425 | omp_get_place_num, omp_get_partition_num_places, | |
14426 | omp_get_partition_place_nums, omp_get_initial_device, | |
14427 | omp_get_max_task_priority): New interfaces. | |
14428 | (omp_set_schedule, omp_get_schedule): Rename modifier argument | |
14429 | to chunk_size. | |
14430 | * omp_lib.h.in (omp_lock_hint_kind): New parameter. | |
14431 | (omp_lock_hint_none, omp_lock_hint_uncontended, | |
14432 | omp_lock_hint_contended, omp_lock_hint_nonspeculative, | |
14433 | omp_lock_hint_speculative): New parameters. | |
14434 | (omp_init_lock_with_hint, omp_init_nest_lock_with_hint, | |
14435 | omp_get_num_places, omp_get_place_num_procs, omp_get_place_proc_ids, | |
14436 | omp_get_place_num, omp_get_partition_num_places, | |
14437 | omp_get_partition_place_nums, omp_get_initial_device, | |
14438 | omp_get_max_task_priority): New functions and subroutines. | |
14439 | * ordered.c: Include stdarg.h and string.h. | |
14440 | (MAX_COLLAPSED_BITS): Define. | |
14441 | (gomp_doacross_init, GOMP_doacross_post, GOMP_doacross_wait, | |
14442 | gomp_doacross_ull_init, GOMP_doacross_ull_post, | |
14443 | GOMP_doacross_ull_wait): New functions. | |
14444 | * target.c: Include errno.h. | |
14445 | (resolve_device): If device is not initialized, call | |
14446 | gomp_init_device on it. | |
14447 | (gomp_map_lookup): New function. | |
14448 | (gomp_map_vars_existing): Add tgt_var argument, fill it in. | |
14449 | Don't bump refcount if REFCOUNT_INFINITY. Handle | |
14450 | GOMP_MAP_ALWAYS_TO_P. | |
14451 | (get_kind): Rename is_openacc argument to short_mapkind. | |
14452 | (gomp_map_pointer): Use gomp_map_lookup. | |
14453 | (gomp_map_fields_existing): New function. | |
14454 | (gomp_map_vars): Rename is_openacc argument to short_mapkind | |
14455 | and is_target to pragma_kind. Handle GOMP_MAP_VARS_ENTER_DATA, | |
14456 | handle GOMP_MAP_FIRSTPRIVATE_INT, GOMP_MAP_STRUCT, | |
14457 | GOMP_MAP_USE_DEVICE_PTR, GOMP_MAP_ZERO_LEN_ARRAY_SECTION. | |
14458 | Adjust for tgt->list changed type and copy_from living in there. | |
14459 | (gomp_copy_from_async): Adjust for tgt->list changed type and | |
14460 | copy_from living in there. | |
14461 | (gomp_unmap_vars): Likewise. | |
14462 | (gomp_update): Likewise. Rename is_openacc argument to | |
14463 | short_mapkind. Don't fail if object is not mapped. | |
14464 | (gomp_load_image_to_device): Initialize refcount to | |
14465 | REFCOUNT_INFINITY. | |
14466 | (gomp_target_fallback): New function. | |
14467 | (gomp_get_target_fn_addr): Likewise. | |
14468 | (GOMP_target): Adjust gomp_map_vars caller, use | |
14469 | gomp_get_target_fn_addr and gomp_target_fallback. | |
14470 | (GOMP_target_41): New function. | |
14471 | (gomp_target_data_fallback): New function. | |
14472 | (GOMP_target_data): Use it, adjust gomp_map_vars caller. | |
14473 | (GOMP_target_data_41): New function. | |
14474 | (GOMP_target_update): Adjust gomp_update caller. | |
14475 | (GOMP_target_update_41): New function. | |
14476 | (gomp_exit_data, GOMP_target_enter_exit_data, | |
14477 | gomp_target_task_fn, omp_target_alloc, omp_target_free, | |
14478 | omp_target_is_present, omp_target_memcpy, | |
14479 | omp_target_memcpy_rect_worker, omp_target_memcpy_rect, | |
14480 | omp_target_associate_ptr, omp_target_disassociate_ptr, | |
14481 | gomp_load_plugin_for_device): New functions. | |
14482 | * task.c: Include gomp-constants.h. Include taskloop.c | |
14483 | twice to get GOMP_taskloop and GOMP_taskloop_ull definitions. | |
14484 | (gomp_task_handle_depend): New function. | |
14485 | (GOMP_task): Use it. Add priority argument. Use | |
14486 | gomp-constant.h constants instead of hardcoded numbers. | |
14487 | Rename GOMP_TASK_IFFALSE to GOMP_TASK_UNDEFERRED. | |
14488 | (gomp_create_target_task): New function. | |
14489 | (verify_children_queue, verify_taskgroup_queue, | |
14490 | verify_task_queue): New functions. | |
14491 | (gomp_task_run_pre): Call verify_*_queue functions. | |
14492 | If an upcoming tied task is about to leave the sibling or | |
14493 | taskgroup queues in an invalid state, adjust appropriately. | |
14494 | Remove taskgroup argument. Add comments. | |
14495 | (gomp_task_run_post_handle_dependers): Add comments. | |
14496 | (gomp_task_run_post_remove_parent): Likewise. | |
14497 | (gomp_barrier_handle_tasks): Adjust gomp_task_run_pre caller. | |
14498 | (GOMP_taskwait): Likewise. Add comments. | |
14499 | (gomp_task_maybe_wait_for_dependencies): Fix scheduling | |
14500 | problem such that the first non parent_depends_on task does not | |
14501 | end up at the end of the children queue. | |
14502 | (GOMP_taskgroup_start): Rename GOMP_TASK_IFFALSE to | |
14503 | GOMP_TASK_UNDEFERRED. | |
14504 | (GOMP_taskgroup_end): Adjust gomp_task_run_pre caller. | |
14505 | * taskloop.c: New file. | |
14506 | * testsuite/lib/libgomp.exp | |
14507 | (check_effective_target_offload_device_nonshared_as): New proc. | |
14508 | * testsuite/libgomp.c/affinity-2.c: New test. | |
14509 | * testsuite/libgomp.c/doacross-1.c: New test. | |
14510 | * testsuite/libgomp.c/doacross-2.c: New test. | |
14511 | * testsuite/libgomp.c/examples-4/declare_target-1.c (fib_wrapper): | |
14512 | Add map clause to target. | |
14513 | * testsuite/libgomp.c/examples-4/declare_target-4.c (accum): Likewise. | |
14514 | * testsuite/libgomp.c/examples-4/declare_target-5.c (accum): Likewise. | |
14515 | * testsuite/libgomp.c/examples-4/device-1.c (main): Likewise. | |
14516 | * testsuite/libgomp.c/examples-4/device-3.c (main): Likewise. | |
14517 | * testsuite/libgomp.c/examples-4/target_data-3.c (gramSchmidt): | |
14518 | Likewise. | |
14519 | * testsuite/libgomp.c/examples-4/teams-2.c (dotprod): Likewise. | |
14520 | * testsuite/libgomp.c/examples-4/teams-3.c (dotprod): Likewise. | |
14521 | * testsuite/libgomp.c/examples-4/teams-4.c (dotprod): Likewise. | |
14522 | * testsuite/libgomp.c/for-2.h (OMPTGT, OMPTO, OMPFROM): Define if | |
14523 | not defined. Use those where needed. | |
14524 | * testsuite/libgomp.c/for-4.c: New test. | |
14525 | * testsuite/libgomp.c/for-5.c: New test. | |
14526 | * testsuite/libgomp.c/for-6.c: New test. | |
14527 | * testsuite/libgomp.c/linear-1.c: New test. | |
14528 | * testsuite/libgomp.c/ordered-4.c: New test. | |
14529 | * testsuite/libgomp.c/pr66199-2.c (f2): Adjust for linear clause | |
14530 | only allowed on the loop iterator. | |
14531 | * testsuite/libgomp.c/pr66199-3.c: New test. | |
14532 | * testsuite/libgomp.c/pr66199-4.c: New test. | |
14533 | * testsuite/libgomp.c/reduction-7.c: New test. | |
14534 | * testsuite/libgomp.c/reduction-8.c: New test. | |
14535 | * testsuite/libgomp.c/reduction-9.c: New test. | |
14536 | * testsuite/libgomp.c/reduction-10.c: New test. | |
14537 | * testsuite/libgomp.c/target-1.c (fn2, fn3, fn4): Add | |
14538 | map(tofrom:s). | |
14539 | * testsuite/libgomp.c/target-2.c (fn2, fn3, fn4): Likewise. | |
14540 | * testsuite/libgomp.c/target-7.c (foo): Add map(h) where needed. | |
14541 | * testsuite/libgomp.c/target-11.c: New test. | |
14542 | * testsuite/libgomp.c/target-12.c: New test. | |
14543 | * testsuite/libgomp.c/target-13.c: New test. | |
14544 | * testsuite/libgomp.c/target-14.c: New test. | |
14545 | * testsuite/libgomp.c/target-15.c: New test. | |
14546 | * testsuite/libgomp.c/target-16.c: New test. | |
14547 | * testsuite/libgomp.c/target-17.c: New test. | |
14548 | * testsuite/libgomp.c/target-18.c: New test. | |
14549 | * testsuite/libgomp.c/target-19.c: New test. | |
14550 | * testsuite/libgomp.c/target-20.c: New test. | |
14551 | * testsuite/libgomp.c/target-21.c: New test. | |
14552 | * testsuite/libgomp.c/target-22.c: New test. | |
14553 | * testsuite/libgomp.c/target-23.c: New test. | |
14554 | * testsuite/libgomp.c/target-24.c: New test. | |
14555 | * testsuite/libgomp.c/target-25.c: New test. | |
14556 | * testsuite/libgomp.c/target-26.c: New test. | |
14557 | * testsuite/libgomp.c/target-27.c: New test. | |
14558 | * testsuite/libgomp.c/taskloop-1.c: New test. | |
14559 | * testsuite/libgomp.c/taskloop-2.c: New test. | |
14560 | * testsuite/libgomp.c/taskloop-3.c: New test. | |
14561 | * testsuite/libgomp.c/taskloop-4.c: New test. | |
14562 | * testsuite/libgomp.c++/ctor-13.C: New test. | |
14563 | * testsuite/libgomp.c++/doacross-1.C: New test. | |
14564 | * testsuite/libgomp.c++/examples-4/declare_target-2.C: | |
14565 | Replace offload_device with offload_device_nonshared_as. | |
14566 | * testsuite/libgomp.c++/for-12.C: New test. | |
14567 | * testsuite/libgomp.c++/for-13.C: New test. | |
14568 | * testsuite/libgomp.c++/for-14.C: New test. | |
14569 | * testsuite/libgomp.c++/linear-1.C: New test. | |
14570 | * testsuite/libgomp.c++/member-1.C: New test. | |
14571 | * testsuite/libgomp.c++/member-2.C: New test. | |
14572 | * testsuite/libgomp.c++/member-3.C: New test. | |
14573 | * testsuite/libgomp.c++/member-4.C: New test. | |
14574 | * testsuite/libgomp.c++/member-5.C: New test. | |
14575 | * testsuite/libgomp.c++/ordered-1.C: New test. | |
14576 | * testsuite/libgomp.c++/reduction-5.C: New test. | |
14577 | * testsuite/libgomp.c++/reduction-6.C: New test. | |
14578 | * testsuite/libgomp.c++/reduction-7.C: New test. | |
14579 | * testsuite/libgomp.c++/reduction-8.C: New test. | |
14580 | * testsuite/libgomp.c++/reduction-9.C: New test. | |
14581 | * testsuite/libgomp.c++/reduction-10.C: New test. | |
14582 | * testsuite/libgomp.c++/reference-1.C: New test. | |
14583 | * testsuite/libgomp.c++/simd14.C: New test. | |
14584 | * testsuite/libgomp.c++/target-2.C (fn2): Add map(tofrom: s) clause. | |
14585 | * testsuite/libgomp.c++/target-5.C: New test. | |
14586 | * testsuite/libgomp.c++/target-6.C: New test. | |
14587 | * testsuite/libgomp.c++/target-7.C: New test. | |
14588 | * testsuite/libgomp.c++/target-8.C: New test. | |
14589 | * testsuite/libgomp.c++/target-9.C: New test. | |
14590 | * testsuite/libgomp.c++/target-10.C: New test. | |
14591 | * testsuite/libgomp.c++/target-11.C: New test. | |
14592 | * testsuite/libgomp.c++/target-12.C: New test. | |
14593 | * testsuite/libgomp.c++/taskloop-1.C: New test. | |
14594 | * testsuite/libgomp.c++/taskloop-2.C: New test. | |
14595 | * testsuite/libgomp.c++/taskloop-3.C: New test. | |
14596 | * testsuite/libgomp.c++/taskloop-4.C: New test. | |
14597 | * testsuite/libgomp.c++/taskloop-5.C: New test. | |
14598 | * testsuite/libgomp.c++/taskloop-6.C: New test. | |
14599 | * testsuite/libgomp.c++/taskloop-7.C: New test. | |
14600 | * testsuite/libgomp.c++/taskloop-8.C: New test. | |
14601 | * testsuite/libgomp.c++/taskloop-9.C: New test. | |
14602 | * testsuite/libgomp.fortran/affinity1.f90: New test. | |
14603 | * testsuite/libgomp.fortran/affinity2.f90: New test. | |
14604 | ||
1f600fea TV |
14605 | 2015-10-13 Tom de Vries <tom@codesourcery.com> |
14606 | ||
14607 | PR tree-optimization/67476 | |
14608 | * testsuite/libgomp.c/autopar-3.c: New test. | |
14609 | * testsuite/libgomp.c/autopar-4.c: New test. | |
14610 | * testsuite/libgomp.c/autopar-5.c: New test. | |
14611 | * testsuite/libgomp.c/autopar-6.c: New test. | |
14612 | * testsuite/libgomp.c/autopar-7.c: New test. | |
14613 | * testsuite/libgomp.c/autopar-8.c: New test. | |
14614 | ||
058a654b JN |
14615 | 2015-10-12 James Norris <jnorris@codesourcery.com> |
14616 | ||
14617 | * testsuite/libgomp.oacc-c-c++-common/vector-loop.c: Fix loop | |
14618 | initializer. | |
14619 | ||
9e531d37 DM |
14620 | 2015-10-09 David Malcolm <dmalcolm@redhat.com> |
14621 | ||
14622 | * testsuite/lib/libgomp.exp: Load multiline.exp before prune.exp, | |
14623 | using load_gcc_lib. | |
14624 | ||
113020dc TS |
14625 | 2015-10-02 Thomas Schwinge <thomas@codesourcery.com> |
14626 | ||
14627 | * oacc-ptx.h: Remove file, moving its content into... | |
14628 | * config/nvptx/fortran.c: ... here... | |
14629 | * config/nvptx/oacc-init.c: ..., here... | |
14630 | * config/nvptx/oacc-parallel.c: ..., and here. | |
14631 | * config/nvptx/openacc.f90: New file. | |
14632 | * plugin/plugin-nvptx.c: Don't include "oacc-ptx.h". | |
14633 | (link_ptx): Don't link in predefined bits of PTX code. | |
14634 | ||
cc3cd79b NS |
14635 | 2015-09-30 Nathan Sidwell <nathan@codesourcery.com> |
14636 | Bernd Schmidt <bernds@codesourcery.com> | |
14637 | ||
14638 | * plugin/plugin-nvptx.c (targ_fn_launch): Use GOMP_DIM_MAX. | |
14639 | (struct targ_ptx_obj): New. | |
14640 | (nvptx_tdata): Move earlier, change data format. | |
14641 | (link_ptx): Take targ_ptx_obj ptr and count. Allow multiple | |
14642 | objects. | |
14643 | (GOMP_OFFLOAD_load_image): Adjust. | |
14644 | ||
4e2a5450 TS |
14645 | 2015-09-30 Thomas Schwinge <thomas@codesourcery.com> |
14646 | ||
14647 | * testsuite/libgomp.oacc-c-c++-common/abort-1.c: Add checkpoint. | |
14648 | * testsuite/libgomp.oacc-c-c++-common/abort-3.c: Likewise. | |
14649 | * testsuite/libgomp.oacc-c-c++-common/clauses-2.c: Likewise. | |
14650 | * testsuite/libgomp.oacc-c-c++-common/data-already-1.c: Likewise. | |
14651 | * testsuite/libgomp.oacc-c-c++-common/data-already-2.c: Likewise. | |
14652 | * testsuite/libgomp.oacc-c-c++-common/data-already-3.c: Likewise. | |
14653 | * testsuite/libgomp.oacc-c-c++-common/data-already-4.c: Likewise. | |
14654 | * testsuite/libgomp.oacc-c-c++-common/data-already-5.c: Likewise. | |
14655 | * testsuite/libgomp.oacc-c-c++-common/data-already-6.c: Likewise. | |
14656 | * testsuite/libgomp.oacc-c-c++-common/data-already-7.c: Likewise. | |
14657 | * testsuite/libgomp.oacc-c-c++-common/data-already-8.c: Likewise. | |
14658 | * testsuite/libgomp.oacc-c-c++-common/lib-1.c: Likewise. | |
14659 | * testsuite/libgomp.oacc-c-c++-common/lib-11.c: Likewise. | |
14660 | * testsuite/libgomp.oacc-c-c++-common/lib-16.c: Likewise. | |
14661 | * testsuite/libgomp.oacc-c-c++-common/lib-17.c: Likewise. | |
14662 | * testsuite/libgomp.oacc-c-c++-common/lib-18.c: Likewise. | |
14663 | * testsuite/libgomp.oacc-c-c++-common/lib-2.c: Likewise. | |
14664 | * testsuite/libgomp.oacc-c-c++-common/lib-20.c: Likewise. | |
14665 | * testsuite/libgomp.oacc-c-c++-common/lib-21.c: Likewise. | |
14666 | * testsuite/libgomp.oacc-c-c++-common/lib-22.c: Likewise. | |
14667 | * testsuite/libgomp.oacc-c-c++-common/lib-23.c: Likewise. | |
14668 | * testsuite/libgomp.oacc-c-c++-common/lib-25.c: Likewise. | |
14669 | * testsuite/libgomp.oacc-c-c++-common/lib-26.c: Likewise. | |
14670 | * testsuite/libgomp.oacc-c-c++-common/lib-27.c: Likewise. | |
14671 | * testsuite/libgomp.oacc-c-c++-common/lib-28.c: Likewise. | |
14672 | * testsuite/libgomp.oacc-c-c++-common/lib-29.c: Likewise. | |
14673 | * testsuite/libgomp.oacc-c-c++-common/lib-3.c: Likewise. | |
14674 | * testsuite/libgomp.oacc-c-c++-common/lib-30.c: Likewise. | |
14675 | * testsuite/libgomp.oacc-c-c++-common/lib-34.c: Likewise. | |
14676 | * testsuite/libgomp.oacc-c-c++-common/lib-35.c: Likewise. | |
14677 | * testsuite/libgomp.oacc-c-c++-common/lib-36.c: Likewise. | |
14678 | * testsuite/libgomp.oacc-c-c++-common/lib-39.c: Likewise. | |
14679 | * testsuite/libgomp.oacc-c-c++-common/lib-4.c: Likewise. | |
14680 | * testsuite/libgomp.oacc-c-c++-common/lib-40.c: Likewise. | |
14681 | * testsuite/libgomp.oacc-c-c++-common/lib-42.c: Likewise. | |
14682 | * testsuite/libgomp.oacc-c-c++-common/lib-43.c: Likewise. | |
14683 | * testsuite/libgomp.oacc-c-c++-common/lib-44.c: Likewise. | |
14684 | * testsuite/libgomp.oacc-c-c++-common/lib-47.c: Likewise. | |
14685 | * testsuite/libgomp.oacc-c-c++-common/lib-48.c: Likewise. | |
14686 | * testsuite/libgomp.oacc-c-c++-common/lib-52.c: Likewise. | |
14687 | * testsuite/libgomp.oacc-c-c++-common/lib-53.c: Likewise. | |
14688 | * testsuite/libgomp.oacc-c-c++-common/lib-54.c: Likewise. | |
14689 | * testsuite/libgomp.oacc-c-c++-common/lib-57.c: Likewise. | |
14690 | * testsuite/libgomp.oacc-c-c++-common/lib-58.c: Likewise. | |
14691 | * testsuite/libgomp.oacc-c-c++-common/lib-62.c: Likewise. | |
14692 | * testsuite/libgomp.oacc-c-c++-common/lib-63.c: Likewise. | |
14693 | * testsuite/libgomp.oacc-c-c++-common/lib-64.c: Likewise. | |
14694 | * testsuite/libgomp.oacc-c-c++-common/lib-65.c: Likewise. | |
14695 | * testsuite/libgomp.oacc-c-c++-common/lib-67.c: Likewise. | |
14696 | * testsuite/libgomp.oacc-c-c++-common/lib-68.c: Likewise. | |
14697 | * testsuite/libgomp.oacc-c-c++-common/lib-71.c: Likewise. | |
14698 | * testsuite/libgomp.oacc-c-c++-common/lib-77.c: Likewise. | |
14699 | * testsuite/libgomp.oacc-c-c++-common/lib-80.c: Likewise. | |
14700 | * testsuite/libgomp.oacc-c-c++-common/present-1.c: Likewise. | |
14701 | * testsuite/libgomp.oacc-fortran/abort-1.f90: Likewise. | |
14702 | * testsuite/libgomp.oacc-fortran/data-already-1.f: Likewise. | |
14703 | * testsuite/libgomp.oacc-fortran/data-already-2.f: Likewise. | |
14704 | * testsuite/libgomp.oacc-fortran/data-already-3.f: Likewise. | |
14705 | * testsuite/libgomp.oacc-fortran/data-already-4.f: Likewise. | |
14706 | * testsuite/libgomp.oacc-fortran/data-already-5.f: Likewise. | |
14707 | * testsuite/libgomp.oacc-fortran/data-already-6.f: Likewise. | |
14708 | * testsuite/libgomp.oacc-fortran/data-already-7.f: Likewise. | |
14709 | * testsuite/libgomp.oacc-fortran/data-already-8.f: Likewise. | |
14710 | ||
164453bb NS |
14711 | 2015-09-29 Nathan Sidwell <nathan@codesourcery.com> |
14712 | ||
14713 | * oacc-init.c (acc_on_device): Force optimization level. | |
14714 | ||
a12a0437 NS |
14715 | 2015-09-29 Nathan Sidwell <nathan@codesourcery.com> |
14716 | ||
14717 | * plugin/plugin-nvptx.c (ARRAYSIZE): Delete. | |
14718 | (cuda_errlist): Delete. | |
14719 | (cuda_error): Reimplement. | |
14720 | ||
3e32ee19 NS |
14721 | 2015-09-28 Nathan Sidwell <nathan@codesourcery.com> |
14722 | ||
14723 | * libgomp.h (acc_dispatch_t): Replace separate geometry args with | |
14724 | array. | |
14725 | * libgomp.map (GOACC_parallel_keyed): New. | |
14726 | * oacc-parallel.c (goacc_wait): Take pointer to va_list. Adjust | |
14727 | all callers. | |
14728 | (GOACC_parallel_keyed): New interface. Lose geometry arguments | |
14729 | and take keyed varargs list. Adjust call to exec_func. | |
14730 | (GOACC_parallel): Force host fallback. | |
14731 | * libgomp_g.h (GOACC_parallel): Remove. | |
14732 | (GOACC_parallel_keyed): Declare. | |
14733 | * plugin/plugin-nvptx.c (struct targ_fn_launch): New struct. | |
93d90219 | 14734 | (struct targ_gn_descriptor): Replace name field with launch field. |
3e32ee19 NS |
14735 | (nvptx_exec): Lose separate geometry args, take array. Process |
14736 | dynamic dimensions and adjust. | |
14737 | (struct nvptx_tdata): Replace fn_names field with fn_descs. | |
14738 | (GOMP_OFFLOAD_load_image): Adjust for change in function table | |
14739 | data. | |
14740 | (GOMP_OFFLOAD_openacc_parallel): Adjust for change in dimension | |
14741 | passing. | |
14742 | * oacc-host.c (host_openacc_exec): Adjust for change in dimension | |
14743 | passing. | |
14744 | ||
6bb4c3e2 CLT |
14745 | 2015-09-22 Chung-Lin Tang <cltang@codesourcery.com> |
14746 | ||
14747 | PR libgomp/67141 | |
14748 | * oacc-int.h (goacc_host_init): Add declaration. | |
14749 | * oacc-host.c (goacc_host_init): Remove static and constructor attribute. | |
14750 | * oacc-init.c (goacc_runtime_initialize): Call goacc_host_init() at end. | |
14751 | ||
74032f47 | 14752 | 2015-09-08 Aditya Kumar <hiraditya@msn.com> |
34b18169 | 14753 | Sebastian Pop <s.pop@samsung.com> |
74032f47 | 14754 | |
93d90219 | 14755 | * testsuite/libgomp.graphite/bounds.c (int foo): Modified test case to |
74032f47 AK |
14756 | match o/p. |
14757 | * testsuite/libgomp.graphite/force-parallel-1.c (void parloop): Same. | |
14758 | * testsuite/libgomp.graphite/force-parallel-4.c: Same. | |
14759 | * testsuite/libgomp.graphite/force-parallel-5.c: Same. | |
14760 | * testsuite/libgomp.graphite/force-parallel-7.c: Same. | |
14761 | * testsuite/libgomp.graphite/force-parallel-8.c: Same. | |
14762 | ||
97875f4a JJ |
14763 | 2015-09-03 Jakub Jelinek <jakub@redhat.com> |
14764 | ||
14765 | * configure.tgt: Add missing ;; in between nvptx and rtems | |
14766 | snippets. | |
14767 | ||
06441dd5 SH |
14768 | 2015-09-03 Sebastian Huber <sebastian.huber@embedded-brains.de> |
14769 | ||
14770 | * config/posix/pool.h (gomp_adjust_thread_attr): New. | |
14771 | * config/rtems/pool.h (gomp_adjust_thread_attr): Likewise. | |
14772 | (gomp_thread_pool_reservoir): Add priority member. | |
14773 | * confi/rtems/proc.c (allocate_thread_pool_reservoir): Add | |
14774 | priority. | |
14775 | (parse_thread_pools): Likewise. | |
14776 | * team.c (gomp_team_start): Call configuration provided | |
14777 | gomp_adjust_thread_attr(). Destroy thread attributes if | |
14778 | necessary. | |
14779 | * libgomp.texi: Document GOMP_RTEMS_THREAD_POOLS. | |
14780 | ||
66c59f92 SH |
14781 | 2015-09-03 Sebastian Huber <sebastian.huber@embedded-brains.de> |
14782 | ||
14783 | * config/posix/pool.h: New. | |
14784 | * config/rtems/pool.h: Likewise. | |
14785 | * config/rtems/proc.c: Likewise. | |
14786 | * libgomp.h (gomp_thread_destructor): Declare. | |
14787 | * team.c: Include configuration provided "pool.h". | |
14788 | (gomp_get_thread_pool): Define in configuration. | |
14789 | (gomp_team_end): Call configuration defined | |
14790 | gomp_release_thread_pool(). | |
14791 | ||
13c41b2e SH |
14792 | 2015-09-03 Sebastian Huber <sebastian.huber@embedded-brains.de> |
14793 | ||
14794 | * config/rtems/bar.c: New. | |
14795 | * config/rtems/bar.h: Likewise. | |
14796 | * config/rtems/mutex.c: Likewise. | |
14797 | * config/rtems/mutex.h: Likewise. | |
14798 | * config/rtems/sem.c: Likewise. | |
14799 | * config/rtems/sem.h: Likewise. | |
14800 | * configure.ac (*-*-rtems*): Check that Newlib provides a proper | |
14801 | <sys/lock.h> header file. | |
14802 | * configure.tgt (*-*-rtems*): Enable RTEMS configuration if | |
14803 | supported by Newlib. | |
14804 | * configure: Regenerate. | |
14805 | ||
7892ec67 SH |
14806 | 2015-09-03 Sebastian Huber <sebastian.huber@embedded-brains.de> |
14807 | ||
14808 | * team.c (gomp_new_thread_pool): Delete and move content to ... | |
14809 | (gomp_get_thread_pool): ... new function. Allocate and | |
14810 | initialize thread pool on demand. | |
14811 | (get_last_team): Use gomp_get_thread_pool(). | |
14812 | (gomp_team_start): Delete thread pool initialization. | |
14813 | ||
1b96e9a4 TV |
14814 | 2015-09-03 Tom de Vries <tom@codesourcery.com> |
14815 | ||
14816 | PR tree-optimization/65637 | |
14817 | * testsuite/libgomp.c/autopar-2.c: New test. | |
14818 | ||
3ff2d74e TV |
14819 | 2015-08-29 Tom de Vries <tom@codesourcery.com> |
14820 | ||
14821 | PR tree-optimization/46193 | |
14822 | * testsuite/libgomp.c/pr46193.c: New test. | |
14823 | ||
2a21ff19 NS |
14824 | 2015-08-24 Nathan Sidwell <nathan@codesourcery.com> |
14825 | ||
14826 | libgomp/ | |
14827 | * libgomp.map: Add 4.0.2 version. | |
14828 | * target.c (offload_image_descr): Add version field. | |
14829 | (gomp_load_image_to_device): Add version argument. Adjust plugin | |
14830 | call. Improve load mismatch diagnostic. | |
14831 | (gomp_unload_image_from_device): Add version argument. Adjust plugin | |
14832 | call. | |
14833 | (GOMP_offload_regster): Make stub function, move bulk to ... | |
14834 | (GOMP_offload_register_ver): ... here. Process version argument. | |
14835 | (GOMP_offload_unregister): Make stub function, move bulk to ... | |
14836 | (GOMP_offload_unregister_ver): ... here. Process version argument. | |
14837 | (gomp_init_device): Process version field. | |
14838 | (gomp_unload_device): Process version field. | |
14839 | (gomp_load_plugin_for_device): Reimplement DLSYM & DLSYM_OPT | |
14840 | macros. Check plugin version. | |
14841 | * libgomp.h (gomp_device_descr): Add version function field. Adjust | |
14842 | loader and unloader types. | |
14843 | * oacc-host.c: Include gomp-constants.h. | |
14844 | (host_version): New. | |
14845 | (host_load_image, host_unload_image): Adjust. | |
14846 | (host_dispatch): Add host_version. | |
14847 | * plugin/plugin-nvptx.c: Include gomp-constants.h. | |
14848 | (GOMP_OFFLOAD_version): New. | |
14849 | (GOMP_OFFLOAD_load_image): Add version arg and check it. | |
14850 | (GOMP_OFFLOAD_unload_image): Likewise. | |
14851 | * plugin/plugin-host.c: Include gomp-constants.h. | |
14852 | (GOMP_OFFLOAD_version): New. | |
14853 | (GOMP_OFFLOAD_load_image): Add version arg. | |
14854 | (GOMP_OFFLOAD_unload_image): Likewise. | |
14855 | ||
1358a747 TV |
14856 | 2015-08-24 Tom de Vries <tom@codesourcery.com> |
14857 | ||
14858 | PR tree-optimization/65468 | |
14859 | * testsuite/libgomp.oacc-c-c++-common/vector-loop.c: New test. | |
14860 | ||
6be5c241 TV |
14861 | 2015-08-24 Tom de Vries <tom@codesourcery.com> |
14862 | ||
14863 | PR tree-optimization/65468 | |
14864 | * testsuite/libgomp.c/static-chunk-size-one.c: New test. | |
14865 | ||
bfe7ac89 JV |
14866 | 2015-08-24 Joost VandeVondele <vondele@gnu.gcc.org> |
14867 | ||
14868 | PR libgomp/66761 | |
14869 | PR libgomp/67303 | |
14870 | * iter.c (gomp_iter_dynamic_next): Employ an atomic load. | |
14871 | (gomp_iter_guided_next): Idem. | |
14872 | * iter_ull.c (gomp_iter_ull_dynamic_next): Idem. | |
14873 | (gomp_iter_ull_guided_next): Idem. | |
14874 | * config/linux/wait.h (do_spin): Idem. | |
14875 | ||
b97e78b7 TS |
14876 | 2015-08-10 Thomas Schwinge <thomas@codesourcery.com> |
14877 | ||
14878 | * libgomp-plugin.h (enum offload_target_type): Remove | |
14879 | OFFLOAD_TARGET_TYPE_HOST_NONSHM. | |
14880 | * openacc.f90 (openacc_kinds): Remove acc_device_host_nonshm. | |
14881 | * openacc.h (enum acc_device_t): Likewise. | |
14882 | * openacc_lib.h: Likewise. | |
14883 | * oacc-init.c (name_of_acc_device_t): Don't handle it. | |
14884 | (acc_on_device): Just use __builtin_acc_on_device. | |
14885 | * testsuite/libgomp.oacc-c-c++-common/if-1.c: Don't forbid usage | |
14886 | of acc_on_device builtin. | |
14887 | * plugin/plugin-host.h: Remove file. | |
14888 | * plugin/plugin-host.c: Likewise, but salvage some content into... | |
14889 | * oacc-host.c: ... this file. | |
14890 | * plugin/Makefrag.am: Don't build libgomp-plugin-host_nonshm.la. | |
14891 | * plugin/configfrag.ac (offload_targets): Don't add host_nonshm. | |
14892 | * Makefile.in: Regenerate. | |
14893 | * configure: Likewise. | |
14894 | * testsuite/lib/libgomp.exp | |
14895 | (check_effective_target_openacc_host_nonshm_selected): Remove. | |
14896 | * testsuite/libgomp.oacc-c++/c++.exp: Don't handle | |
14897 | ACC_DEVICE_TYPE=host_nonshm. | |
14898 | * testsuite/libgomp.oacc-c/c.exp: Likewise. | |
14899 | * testsuite/libgomp.oacc-fortran/fortran.exp: Likewise. | |
14900 | * testsuite/libgomp.oacc-c-c++-common/acc_on_device-1.c: Likewise. | |
14901 | * testsuite/libgomp.oacc-fortran/acc_on_device-1-1.f90: Likewise. | |
14902 | * testsuite/libgomp.oacc-fortran/acc_on_device-1-2.f: Likewise. | |
14903 | * testsuite/libgomp.oacc-fortran/acc_on_device-1-3.f: Likewise. | |
14904 | ||
44a7d18d TS |
14905 | 2015-08-10 Thomas Schwinge <thomas@codesourcery.com> |
14906 | Jakub Jelinek <jakub@redhat.com> | |
14907 | ||
14908 | * config/nvptx/affinity.c: New file. | |
14909 | * config/nvptx/alloc.c: Likewise. | |
14910 | * config/nvptx/bar.c: Likewise. | |
14911 | * config/nvptx/barrier.c: Likewise. | |
14912 | * config/nvptx/critical.c: Likewise. | |
14913 | * config/nvptx/env.c: Likewise. | |
14914 | * config/nvptx/error.c: Likewise. | |
14915 | * config/nvptx/fortran.c: Likewise. | |
14916 | * config/nvptx/iter.c: Likewise. | |
14917 | * config/nvptx/iter_ull.c: Likewise. | |
14918 | * config/nvptx/libgomp-plugin.c: Likewise. | |
14919 | * config/nvptx/lock.c: Likewise. | |
14920 | * config/nvptx/loop.c: Likewise. | |
14921 | * config/nvptx/loop_ull.c: Likewise. | |
14922 | * config/nvptx/mutex.c: Likewise. | |
14923 | * config/nvptx/oacc-async.c: Likewise. | |
14924 | * config/nvptx/oacc-cuda.c: Likewise. | |
14925 | * config/nvptx/oacc-host.c: Likewise. | |
14926 | * config/nvptx/oacc-init.c: Likewise. | |
14927 | * config/nvptx/oacc-mem.c: Likewise. | |
14928 | * config/nvptx/oacc-parallel.c: Likewise. | |
14929 | * config/nvptx/oacc-plugin.c: Likewise. | |
14930 | * config/nvptx/omp-lock.h: Likewise. | |
14931 | * config/nvptx/ordered.c: Likewise. | |
14932 | * config/nvptx/parallel.c: Likewise. | |
14933 | * config/nvptx/proc.c: Likewise. | |
14934 | * config/nvptx/ptrlock.c: Likewise. | |
14935 | * config/nvptx/sections.c: Likewise. | |
14936 | * config/nvptx/sem.c: Likewise. | |
14937 | * config/nvptx/single.c: Likewise. | |
14938 | * config/nvptx/splay-tree.c: Likewise. | |
14939 | * config/nvptx/target.c: Likewise. | |
14940 | * config/nvptx/task.c: Likewise. | |
14941 | * config/nvptx/team.c: Likewise. | |
14942 | * config/nvptx/time.c: Likewise. | |
14943 | * config/nvptx/work.c: Likewise. | |
14944 | * configure.ac: Don't probe pthreads support for host nvptx*-*-*. | |
14945 | * configure: Regenerate. | |
14946 | * configure.tgt (config_path): Set to "nvptx" for target | |
14947 | nvptx*-*-*. | |
14948 | ||
96a2d174 TS |
14949 | 2015-08-10 Thomas Schwinge <thomas@codesourcery.com> |
14950 | ||
14951 | * testsuite/libgomp.oacc-c-c++-common/vector-type-1.c: New file. | |
14952 | ||
9ebddeb0 NS |
14953 | 2015-08-03 Nathan Sidwell <nathan@codesourcery.com> |
14954 | ||
14955 | * plugin/plugin-nvptx.c: Don't include dlfcn.h. | |
14956 | (cuda_errlist): Constify. | |
14957 | (errmsg): Move into ... | |
14958 | (cuda_error): ... here. Make smaller. | |
14959 | (_XSTR, _STR): Delete. | |
14960 | (cuda_synames): Delete. | |
14961 | (verify_device_library): Delete. | |
14962 | (nvptx_init): Don't call it. | |
14963 | ||
12efb1d7 TV |
14964 | 2015-07-28 Tom de Vries <tom@codesourcery.com> |
14965 | ||
14966 | * testsuite/libgomp.c/uns-outer-4.c: New test. | |
14967 | ||
710ee218 CP |
14968 | 2015-07-24 Cesar Philippidis <cesar@codesourcery.com> |
14969 | ||
14970 | * testsuite/libgomp.c/pr66714.c: New test. | |
14971 | ||
27c4ac7d MB |
14972 | 2015-07-22 Maxim Blumenthal <maxim.blumenthal@intel.com> |
14973 | ||
14974 | PR libgomp/66950 | |
14975 | * testsuite/libgomp.c/examples-4/simd-7.c (N): Change to 30 from 45. | |
14976 | (fib_ref): New function. | |
14977 | (fib): Correct corner cases in the recursion. | |
14978 | (main): Replace the non-simd loop with fib_ref call. | |
14979 | * testsuite/libgomp.fortran/examples-4/simd-7.f90: (fib_ref): New | |
14980 | subroutine. | |
14981 | (fibonacci): Lower the parameter N to 30. Correct accordingly check | |
14982 | for the last array element value. Replace the non-simd loop with | |
14983 | fib_ref call. Remove redundant b_ref array. Remove the comparison | |
14984 | of the last array element with according Fibonacci sequence element. | |
14985 | (fib): Correct corner cases in the recursion. | |
14986 | ||
22be2349 NS |
14987 | 2015-07-21 Nathan Sidwell <nathan@codesourcery.com> |
14988 | ||
14989 | * target.c (gomp_offload_image_to_device): Rename to ... | |
14990 | (gomp_load_image_to_device): ... here. | |
14991 | (GOMP_offload_register): Adjust call. | |
14992 | (gomp_init_device): Likewise. | |
14993 | (gomp_unload_image_from_device): New. Broken out of ... | |
14994 | (GOMP_offload_unregister): ... here. Call it. | |
14995 | (gomp_unload_device): New. | |
14996 | * libgomp.h (gomp_unload_device): Declare. | |
14997 | * oacc-init.c (acc_shutdown_1): Unload from device before deleting | |
14998 | mem maps. | |
14999 | ||
f3e9a059 NS |
15000 | 2015-07-20 Nathan Sidwell <nathan@codesourcery.com> |
15001 | ||
a091118d NS |
15002 | * oacc-parallel.c (GOACC_parallel): Move variadic handling into |
15003 | wait=-specific if. | |
15004 | (GOACC_enter_exit_data, GOACC_update): Use consistent num_waits | |
15005 | !=0 condition. | |
15006 | (goacc_waits): Move !num_waits handling to ... | |
15007 | (GOACC_wait): ... here, the only caller that might have zero waits. | |
15008 | ||
f3e9a059 NS |
15009 | * plugin/plugin-nvptx.c (struct targ_fn_descriptor): Move later. |
15010 | (struct ptx_image_data): Move earlier, add fns field. | |
15011 | (struct ptx_device): Add images and image_lock fields. | |
15012 | (ptx_images, ptx_image_lock): Delete. | |
15013 | (nvptx_open_device): Initialize images and image_lock fields. | |
15014 | (nvptx_close_device): Destroy image_lock. | |
15015 | (GOMP_OFFLOAD_load_image): Register image to device-specific fields. | |
15016 | (GOMP_OFFLOAD_unload_image): Unregister image from device-specific | |
15017 | fields. | |
15018 | ||
afb2d80b NS |
15019 | 2015-07-17 Nathan Sidwell <nathan@codesourcery.com> |
15020 | ||
896c28a7 NS |
15021 | * target.c (GOMP_offload_register): Use int for device type arg. |
15022 | (GOMP_offload_unregister): Likewise. | |
15023 | ||
ebe4a560 NS |
15024 | * target.c (struct_offload_image_descr): Constify host_table. |
15025 | (gomp_offload_image_to_device): Likewise. | |
15026 | (GOMP_offload_register, GOMP_offload_unregister): Likewise. | |
15027 | ||
afb2d80b NS |
15028 | * libgomp.h (gomp_device_descr): Constify target data arguments. |
15029 | * target.c (struct offload_image_descr): Constify target_data. | |
15030 | (gomp_offload_image_to_device): Likewise. | |
15031 | (GOMP_offload_register): Likewise. | |
93d90219 | 15032 | (GOMP_offload_unregister): Likewise. |
afb2d80b NS |
15033 | * plugin/plugin-host.c (GOMP_OFFLOAD_load_image, |
15034 | GOMP_OFFLOAD_unload_image): Constify target data. | |
15035 | * plugin/plugin-nvptx.c (struct ptx_image_data): Constify target data. | |
15036 | (GOMP_OFFLOAD_load_image, GOMP_OFFLOAD_unload_image): Likewise. | |
15037 | ||
a4cb876d NS |
15038 | 2015-07-16 Nathan Sidwell <nathan@codesourcery.com> |
15039 | ||
15040 | * plugin/plugin-nvptx.c (link_ptx): Constify string argument. | |
15041 | Workaround driver library const error. | |
15042 | (struct nvptx_tdata, nvptx_tdata_t): New. | |
15043 | (GOMP_OFFLOAD_load_image): Use struct for target_data's real | |
15044 | type. | |
15045 | ||
28ef6a27 MB |
15046 | 2015-07-15 Maxim Blumenthal <maxim.blumenthal@intel.com> |
15047 | ||
15048 | * testsuite/libgomp.fortran/examples-4/simd-8.f90: (main): Change type | |
15049 | of EPS parameter from integer to real. | |
15050 | * testsuite/libgomp.fortran/examples-4/task_dep-5.f90: (check): Change | |
15051 | type of EPS parameter from integer to real. | |
15052 | ||
6dba0113 SH |
15053 | 2015-07-15 Sebastian Huber <sebastian.huber@embedded-brains.de> |
15054 | ||
15055 | * team.c (get_last_team): New. | |
15056 | (gomp_new_team): Recycle last non-nested team if possible. | |
15057 | (gomp_team_end): Move team work share list free lock destruction | |
15058 | to ... | |
15059 | (free_team): ... here. | |
15060 | ||
4c1cb4da MB |
15061 | 2015-07-14 Maxim Blumenthal <maxim.blumenthal@intel.com> |
15062 | ||
15063 | * testsuite/libgomp.c/examples-4/simd-3.c: (main): Change type of res | |
15064 | and ref from int to double. Replaced their comparison with | |
15065 | an inequality of their difference and EPS. | |
15066 | * testsuite/libgomp.c/examples-4/simd-8.c: (main): Replace the | |
15067 | comparison of pri and a reference number with an inequality of their | |
15068 | difference and EPS. | |
15069 | * testsuite/libgomp.fortran/examples-4/simd-3.f90: (main): Replaced | |
15070 | the comparison of sum and sum_ref with an inequality of their | |
15071 | difference and EPS. | |
15072 | * testsuite/libgomp.fortran/examples-4/simd-8.f90: (main): Replace | |
15073 | the comparison of pri and a reference number with an inequality of | |
15074 | their difference and EPS. | |
15075 | ||
343587dc MB |
15076 | 2015-07-13 Maxim Blumenthal <maxim.blumenthal@intel.com> |
15077 | ||
15078 | * testsuite/libgomp.c++/examples-4/e.53.2.C: Renamed to... | |
15079 | * testsuite/libgomp.c++/examples-4/declare_target-2.C: ...this. | |
15080 | * testsuite/libgomp.c++/examples-4/e.51.5.C: Renamed to... | |
15081 | * testsuite/libgomp.c++/examples-4/target_data-5.C: ...this. | |
15082 | * testsuite/libgomp.c/examples-4/e.56.3.c: Renamed to... | |
15083 | * testsuite/libgomp.c/examples-4/array_sections-3.c: ...this. | |
15084 | * testsuite/libgomp.c/examples-4/e.56.4.c: Renamed to... | |
15085 | * testsuite/libgomp.c/examples-4/array_sections-4.c: ...this. | |
15086 | * testsuite/libgomp.c/examples-4/e.55.1.c: Renamed to... | |
15087 | * testsuite/libgomp.c/examples-4/async_target-1.c: ...this. | |
15088 | * testsuite/libgomp.c/examples-4/e.55.2.c: Renamed to... | |
15089 | * testsuite/libgomp.c/examples-4/async_target-2.c: ...this. | |
15090 | (vec_mult_ref): Remove v1 and v2 arguments, turn them into local | |
15091 | variables. | |
15092 | (vec_mult): Likewise. Add #pragma omp taskwait. | |
15093 | (main): Adjust caller. | |
15094 | * testsuite/libgomp.c/examples-4/e.53.1.c: Renamed to... | |
15095 | * testsuite/libgomp.c/examples-4/declare_target-1.c: ...this. | |
15096 | * testsuite/libgomp.c/examples-4/e.53.3.c: Renamed to... | |
15097 | * testsuite/libgomp.c/examples-4/declare_target-3.c: ...this. | |
15098 | * testsuite/libgomp.c/examples-4/e.53.4.c: Renamed to... | |
15099 | * testsuite/libgomp.c/examples-4/declare_target-4.c: ...this. | |
15100 | * testsuite/libgomp.c/examples-4/e.53.5.c: Renamed to... | |
15101 | * testsuite/libgomp.c/examples-4/declare_target-5.c: ...this. | |
15102 | * testsuite/libgomp.c/examples-4/e.57.1.c: Renamed to... | |
15103 | * testsuite/libgomp.c/examples-4/device-1.c: ...this. | |
15104 | * testsuite/libgomp.c/examples-4/e.57.2.c: Renamed to... | |
15105 | * testsuite/libgomp.c/examples-4/device-2.c: ...this. | |
15106 | * testsuite/libgomp.c/examples-4/e.57.3.c: Renamed to... | |
15107 | * testsuite/libgomp.c/examples-4/device-3.c: ...this. | |
15108 | * testsuite/libgomp.c/examples-4/simd-1.c: New file. | |
15109 | * testsuite/libgomp.c/examples-4/simd-2.c: New file. | |
15110 | * testsuite/libgomp.c/examples-4/simd-3.c: New file. | |
15111 | * testsuite/libgomp.c/examples-4/simd-4.c: New file. | |
15112 | * testsuite/libgomp.c/examples-4/simd-5.c: New file. | |
15113 | * testsuite/libgomp.c/examples-4/simd-6.c: New file. | |
15114 | * testsuite/libgomp.c/examples-4/simd-7.c: New file. | |
15115 | * testsuite/libgomp.c/examples-4/simd-8.c: New file. | |
15116 | * testsuite/libgomp.c/examples-4/e.50.1.c: Renamed to... | |
15117 | * testsuite/libgomp.c/examples-4/target-1.c: ...this. | |
15118 | * testsuite/libgomp.c/examples-4/e.50.2.c: Renamed to... | |
15119 | * testsuite/libgomp.c/examples-4/target-2.c: ...this. | |
15120 | * testsuite/libgomp.c/examples-4/e.50.3.c: Renamed to... | |
15121 | * testsuite/libgomp.c/examples-4/target-3.c: ...this. | |
15122 | * testsuite/libgomp.c/examples-4/e.50.4.c: Renamed to... | |
15123 | * testsuite/libgomp.c/examples-4/target-4.c: ...this. | |
15124 | * testsuite/libgomp.c/examples-4/e.50.5.c: Renamed to... | |
15125 | * testsuite/libgomp.c/examples-4/target-5.c: ...this. | |
15126 | * testsuite/libgomp.c/examples-4/e.51.1.c: Renamed to... | |
15127 | * testsuite/libgomp.c/examples-4/target_data-1.c: ...this. | |
15128 | * testsuite/libgomp.c/examples-4/e.51.2.c: Renamed to... | |
15129 | * testsuite/libgomp.c/examples-4/target_data-2.c: ...this. | |
15130 | * testsuite/libgomp.c/examples-4/e.51.3.c: Renamed to... | |
15131 | * testsuite/libgomp.c/examples-4/target_data-3.c: ...this. | |
15132 | * testsuite/libgomp.c/examples-4/e.51.4.c: Renamed to... | |
15133 | * testsuite/libgomp.c/examples-4/target_data-4.c: ...this. | |
15134 | * testsuite/libgomp.c/examples-4/e.51.6.c: Renamed to... | |
15135 | * testsuite/libgomp.c/examples-4/target_data-6.c: ...this. | |
15136 | * testsuite/libgomp.c/examples-4/e.51.7.c: Renamed to... | |
15137 | * testsuite/libgomp.c/examples-4/target_data-7.c: ...this. | |
15138 | * testsuite/libgomp.c/examples-4/e.52.1.c: Renamed to... | |
15139 | * testsuite/libgomp.c/examples-4/target_update-1.c: ...this. | |
15140 | * testsuite/libgomp.c/examples-4/e.52.2.c: Renamed to... | |
15141 | * testsuite/libgomp.c/examples-4/target_update-2.c: ...this. | |
15142 | * testsuite/libgomp.c/examples-4/task_dep-1.c: New file. | |
15143 | * testsuite/libgomp.c/examples-4/task_dep-2.c: New file. | |
15144 | * testsuite/libgomp.c/examples-4/task_dep-3.c: New file. | |
15145 | * testsuite/libgomp.c/examples-4/task_dep-4.c: New file. | |
15146 | * testsuite/libgomp.c/examples-4/task_dep-5.c: New file. | |
15147 | * testsuite/libgomp.c/examples-4/e.54.2.c: Renamed to... | |
15148 | * testsuite/libgomp.c/examples-4/teams-2.c: ...this. | |
15149 | * testsuite/libgomp.c/examples-4/e.54.3.c: Renamed to... | |
15150 | * testsuite/libgomp.c/examples-4/teams-3.c: ...this. | |
15151 | * testsuite/libgomp.c/examples-4/e.54.4.c: Renamed to... | |
15152 | * testsuite/libgomp.c/examples-4/teams-4.c: ...this. | |
15153 | * testsuite/libgomp.c/examples-4/e.54.5.c: Renamed to... | |
15154 | * testsuite/libgomp.c/examples-4/teams-5.c: ...this. | |
15155 | * testsuite/libgomp.c/examples-4/e.54.6.c: Renamed to... | |
15156 | * testsuite/libgomp.c/examples-4/teams-6.c: ...this. | |
15157 | * testsuite/libgomp.fortran/examples-4/e.56.3.f90: Renamed to... | |
15158 | * testsuite/libgomp.fortran/examples-4/array_sections-3.f90: ...this. | |
15159 | * testsuite/libgomp.fortran/examples-4/e.56.4.f90: Renamed to... | |
15160 | * testsuite/libgomp.fortran/examples-4/array_sections-4.f90: ...this. | |
15161 | * testsuite/libgomp.fortran/examples-4/e.55.1.f90: Renamed to... | |
15162 | * testsuite/libgomp.fortran/examples-4/async_target-1.f90: ...this. | |
15163 | * testsuite/libgomp.fortran/examples-4/e.55.2.f90: Renamed to... | |
15164 | * testsuite/libgomp.fortran/examples-4/async_target-2.f90: ...this. | |
15165 | (vec_mult): Add !$omp taskwait. | |
15166 | * testsuite/libgomp.fortran/examples-4/e.53.1.f90: Renamed to... | |
15167 | * testsuite/libgomp.fortran/examples-4/declare_target-1.f90: ...this. | |
15168 | * testsuite/libgomp.fortran/examples-4/e.53.2.f90: Renamed to... | |
15169 | * testsuite/libgomp.fortran/examples-4/declare_target-2.f90: ...this. | |
15170 | * testsuite/libgomp.fortran/examples-4/e.53.3.f90: Renamed to... | |
15171 | * testsuite/libgomp.fortran/examples-4/declare_target-3.f90: ...this. | |
15172 | * testsuite/libgomp.fortran/examples-4/e.53.4.f90: Renamed to... | |
15173 | * testsuite/libgomp.fortran/examples-4/declare_target-4.f90: ...this. | |
15174 | * testsuite/libgomp.fortran/examples-4/e.53.5.f90: Renamed to... | |
15175 | * testsuite/libgomp.fortran/examples-4/declare_target-5.f90: ...this. | |
15176 | * testsuite/libgomp.fortran/examples-4/e.57.1.f90: Renamed to... | |
15177 | * testsuite/libgomp.fortran/examples-4/device-1.f90: ...this. | |
15178 | * testsuite/libgomp.fortran/examples-4/e.57.2.f90: Renamed to... | |
15179 | * testsuite/libgomp.fortran/examples-4/device-2.f90: ...this. | |
15180 | * testsuite/libgomp.fortran/examples-4/e.57.3.f90: Renamed to... | |
15181 | * testsuite/libgomp.fortran/examples-4/device-3.f90: ...this. | |
15182 | * testsuite/libgomp.fortran/examples-4/simd-1.f90: New file. | |
15183 | * testsuite/libgomp.fortran/examples-4/simd-2.f90: New file. | |
15184 | * testsuite/libgomp.fortran/examples-4/simd-3.f90: New file. | |
15185 | * testsuite/libgomp.fortran/examples-4/simd-4.f90: New file. | |
15186 | * testsuite/libgomp.fortran/examples-4/simd-5.f90: New file. | |
15187 | * testsuite/libgomp.fortran/examples-4/simd-6.f90: New file. | |
15188 | * testsuite/libgomp.fortran/examples-4/simd-7.f90: New file. | |
15189 | * testsuite/libgomp.fortran/examples-4/simd-8.f90: New file. | |
15190 | * testsuite/libgomp.fortran/examples-4/e.50.1.f90: Renamed to... | |
15191 | * testsuite/libgomp.fortran/examples-4/target-1.f90: ...this. | |
15192 | * testsuite/libgomp.fortran/examples-4/e.50.2.f90: Renamed to... | |
15193 | * testsuite/libgomp.fortran/examples-4/target-2.f90: ...this. | |
15194 | * testsuite/libgomp.fortran/examples-4/e.50.3.f90: Renamed to... | |
15195 | * testsuite/libgomp.fortran/examples-4/target-3.f90: ...this. | |
15196 | * testsuite/libgomp.fortran/examples-4/e.50.4.f90: Renamed to... | |
15197 | * testsuite/libgomp.fortran/examples-4/target-4.f90: ...this. | |
15198 | * testsuite/libgomp.fortran/examples-4/e.50.5.f90: Renamed to... | |
15199 | * testsuite/libgomp.fortran/examples-4/target-5.f90: ...this. | |
15200 | * testsuite/libgomp.fortran/examples-4/e.51.1.f90: Renamed to... | |
15201 | * testsuite/libgomp.fortran/examples-4/target_data-1.f90: ...this. | |
15202 | * testsuite/libgomp.fortran/examples-4/e.51.2.f90: Renamed to... | |
15203 | * testsuite/libgomp.fortran/examples-4/target_data-2.f90: ...this. | |
15204 | * testsuite/libgomp.fortran/examples-4/e.51.3.f90: Renamed to... | |
15205 | * testsuite/libgomp.fortran/examples-4/target_data-3.f90: ...this. | |
15206 | * testsuite/libgomp.fortran/examples-4/e.51.4.f90: Renamed to... | |
15207 | * testsuite/libgomp.fortran/examples-4/target_data-4.f90: ...this. | |
15208 | * testsuite/libgomp.fortran/examples-4/e.51.5.f90: Renamed to... | |
15209 | * testsuite/libgomp.fortran/examples-4/target_data-5.f90: ...this. | |
15210 | * testsuite/libgomp.fortran/examples-4/e.51.6.f90: Renamed to... | |
15211 | * testsuite/libgomp.fortran/examples-4/target_data-6.f90: ...this. | |
15212 | * testsuite/libgomp.fortran/examples-4/e.51.7.f90: Renamed to... | |
15213 | * testsuite/libgomp.fortran/examples-4/target_data-7.f90: ...this. | |
15214 | * testsuite/libgomp.fortran/examples-4/e.52.1.f90: Renamed to... | |
15215 | * testsuite/libgomp.fortran/examples-4/target_update-1.f90: ...this. | |
15216 | * testsuite/libgomp.fortran/examples-4/e.52.2.f90: Renamed to... | |
15217 | * testsuite/libgomp.fortran/examples-4/target_update-2.f90: ...this. | |
15218 | * testsuite/libgomp.fortran/examples-4/task_dep-1.f90: New file. | |
15219 | * testsuite/libgomp.fortran/examples-4/task_dep-2.f90: New file. | |
15220 | * testsuite/libgomp.fortran/examples-4/task_dep-3.f90: New file. | |
15221 | * testsuite/libgomp.fortran/examples-4/task_dep-4.f90: New file. | |
15222 | * testsuite/libgomp.fortran/examples-4/task_dep-5.f90: New file. | |
15223 | * testsuite/libgomp.fortran/examples-4/e.54.2.f90: Renamed to... | |
15224 | * testsuite/libgomp.fortran/examples-4/teams-2.f90: ...this. | |
15225 | * testsuite/libgomp.fortran/examples-4/e.54.3.f90: Renamed to... | |
15226 | * testsuite/libgomp.fortran/examples-4/teams-3.f90: ...this. | |
15227 | * testsuite/libgomp.fortran/examples-4/e.54.4.f90: Renamed to... | |
15228 | * testsuite/libgomp.fortran/examples-4/teams-4.f90: ...this. | |
15229 | * testsuite/libgomp.fortran/examples-4/e.54.5.f90: Renamed to... | |
15230 | * testsuite/libgomp.fortran/examples-4/teams-5.f90: ...this. | |
15231 | * testsuite/libgomp.fortran/examples-4/e.54.6.f90: Renamed to... | |
15232 | * testsuite/libgomp.fortran/examples-4/teams-6.f90: ...this. | |
15233 | ||
9f620bf1 TV |
15234 | 2015-07-10 Tom de Vries <tom@codesourcery.com> |
15235 | ||
15236 | * testsuite/libgomp.fortran/parloops-exit-first-loop-alt-2.f95: New test. | |
15237 | * testsuite/libgomp.fortran/parloops-exit-first-loop-alt.f95: New test. | |
15238 | ||
a92defda TS |
15239 | 2015-07-08 Thomas Schwinge <thomas@codesourcery.com> |
15240 | ||
15241 | PR libgomp/65099 | |
15242 | * plugin/plugin-nvptx.c (nvptx_get_num_devices): Return 0 if not | |
15243 | in a 64-bit configuration. | |
15244 | * testsuite/libgomp.oacc-c++/c++.exp: Don't attempt nvidia | |
15245 | offloading testing if no such device is available. | |
15246 | * testsuite/libgomp.oacc-c/c.exp: Likewise. | |
15247 | * testsuite/libgomp.oacc-fortran/fortran.exp: Likewise. | |
15248 | ||
cadb53a5 TV |
15249 | 2015-07-08 Tom de Vries <tom@codesourcery.com> |
15250 | ||
15251 | * testsuite/libgomp.c/parloops-exit-first-loop-alt-3.c (main): Fix | |
15252 | second call to f. | |
15253 | * testsuite/libgomp.c/parloops-exit-first-loop-alt.c: Same. | |
15254 | ||
712cb0bb TV |
15255 | 2015-07-07 Tom de Vries <tom@codesourcery.com> |
15256 | ||
15257 | PR tree-optimization/66642 | |
15258 | * testsuite/libgomp.c/parloops-exit-first-loop-alt-3.c (main): Test low | |
15259 | iteration count case. | |
15260 | * testsuite/libgomp.c/parloops-exit-first-loop-alt.c (init): New | |
15261 | function, factor out of ... | |
15262 | (main): ... here. Test low iteration count case. | |
15263 | ||
e5210c77 SH |
15264 | 2015-07-06 Sebastian Huber <sebastian.huber@embedded-brains.de> |
15265 | ||
15266 | * libgomp.h (gomp_thread_pool): Comment last_team field. | |
15267 | ||
f70360e7 UB |
15268 | 2015-07-02 Uros Bizjak <ubizjak@gmail.com> |
15269 | ||
15270 | * testsuite/libgomp.c++/pr66702-1.C: Require | |
15271 | vect_simd_clones effective target. | |
15272 | * testsuite/libgomp.c++/pr66702-2.C: Ditto. | |
15273 | ||
b451c271 TV |
15274 | 2015-06-30 Tom de Vries <tom@codesourcery.com> |
15275 | ||
15276 | * testsuite/libgomp.oacc-c++/c++.exp: Set DEFAULT_CFLAGS to -O2 if not | |
15277 | already set. Use DEFAULT_CFLAGS in dg-runtest. | |
15278 | * testsuite/libgomp.oacc-c-c++-common/collapse-3.c: Remove dg-options | |
15279 | "-O2". | |
15280 | ||
f8e89d9f TV |
15281 | 2015-06-30 Tom de Vries <tom@codesourcery.com> |
15282 | ||
15283 | * testsuite/libgomp.c++/c++.exp: Set DEFAULT_CFLAGS to -O2 if not | |
15284 | already set. Use DEFAULT_CFLAGS in dg-runtest. | |
15285 | * testsuite/libgomp.c++/atomic-16.C: Remove dg-options "-O2 -fopenmp". | |
15286 | * testsuite/libgomp.c++/pr64824.C: Same. | |
15287 | * testsuite/libgomp.c++/pr64868.C: Same. | |
15288 | * testsuite/libgomp.c++/pr66199-1.C: Same. | |
15289 | * testsuite/libgomp.c++/pr66199-2.C: Same. | |
15290 | * testsuite/libgomp.c++/target-2.C: Same. | |
15291 | * testsuite/libgomp.c++/for-7.C: Use dg-additional-options for | |
15292 | -std=<standard> option. | |
15293 | * testsuite/libgomp.c++/udr-11.C: Same. | |
15294 | * testsuite/libgomp.c++/udr-12.C: Same. | |
15295 | * testsuite/libgomp.c++/udr-13.C: Same. | |
15296 | * testsuite/libgomp.c++/udr-14.C: Same. | |
15297 | * testsuite/libgomp.c++/udr-15.C: Same. | |
15298 | * testsuite/libgomp.c++/udr-16.C: Same. | |
15299 | * testsuite/libgomp.c++/udr-17.C: Same. | |
15300 | * testsuite/libgomp.c++/udr-18.C: Same. | |
15301 | * testsuite/libgomp.c++/udr-19.C: Same. | |
15302 | * testsuite/libgomp.c++/atomic-1.C: Remove dg-options "-O2". | |
15303 | * testsuite/libgomp.c++/simd-1.C: Same. | |
15304 | * testsuite/libgomp.c++/simd-2.C: Same. | |
15305 | * testsuite/libgomp.c++/simd-3.C: Same. | |
15306 | * testsuite/libgomp.c++/simd-4.C: Same. | |
15307 | * testsuite/libgomp.c++/simd-5.C: Same. | |
15308 | * testsuite/libgomp.c++/simd-6.C: Same. | |
15309 | * testsuite/libgomp.c++/simd-7.C: Same. | |
15310 | * testsuite/libgomp.c++/simd-8.C: Same. | |
15311 | * testsuite/libgomp.c++/simd-9.C: Same. | |
15312 | * testsuite/libgomp.c++/simd10.C: Same. | |
15313 | * testsuite/libgomp.c++/simd11.C: Same. | |
15314 | * testsuite/libgomp.c++/simd12.C: Same. | |
15315 | * testsuite/libgomp.c++/simd13.C: Same. | |
15316 | ||
3446fe48 JJ |
15317 | 2015-06-30 Jakub Jelinek <jakub@redhat.com> |
15318 | ||
15319 | PR middle-end/66702 | |
15320 | * testsuite/libgomp.c++/pr66702-1.C: New test. | |
15321 | * testsuite/libgomp.c++/pr66702-2.C: New test. | |
15322 | ||
8a36714a TV |
15323 | 2015-06-30 Tom de Vries <tom@codesourcery.com> |
15324 | ||
15325 | * testsuite/libgomp.c/parloops-exit-first-loop-alt-5.c: New test. | |
15326 | * testsuite/libgomp.c/parloops-exit-first-loop-alt-6.c: New test. | |
15327 | * testsuite/libgomp.c/parloops-exit-first-loop-alt-7.c: New test. | |
15328 | * testsuite/libgomp.c/parloops-exit-first-loop-alt.c: Update comment. | |
15329 | ||
4f75d608 TV |
15330 | 2015-06-30 Tom de Vries <tom@codesourcery.com> |
15331 | ||
15332 | PR tree-optimization/66652 | |
15333 | * testsuite/libgomp.c/parloops-exit-first-loop-alt-3.c (f): Rewrite | |
15334 | using restrict pointers. | |
15335 | (main): Add arguments to calls to f. | |
15336 | * testsuite/libgomp.c/parloops-exit-first-loop-alt.c: Same. | |
15337 | ||
6d9d1eeb AT |
15338 | 2015-06-23 Andreas Tobler <andreast@gcc.gnu.org> |
15339 | ||
15340 | * configure.ac: Fix check for header <sys/sysctl.h>. | |
15341 | * configure: Regenerate. | |
15342 | * config.h.in: Likewise. | |
15343 | ||
1222f22b TV |
15344 | 2015-06-23 Tom de Vries <tom@codesourcery.com> |
15345 | ||
15346 | * testsuite/libgomp.c/parloops-exit-first-loop-alt-3.c (main): Use | |
15347 | abort. | |
15348 | * testsuite/libgomp.c/parloops-exit-first-loop-alt-4.c (main): Same. | |
15349 | ||
d7efbbf6 TS |
15350 | 2015-06-19 Thomas Schwinge <thomas@codesourcery.com> |
15351 | ||
bfcd036f TS |
15352 | * testsuite/libgomp.oacc-c-c++-common/lib-62.c: Only consider for |
15353 | acc_device_nvidia. | |
15354 | ||
d7efbbf6 TS |
15355 | PR libgomp/66518 |
15356 | * testsuite/libgomp.oacc-c-c++-common/lib-3.c: XFAIL. | |
15357 | * testsuite/libgomp.oacc-c-c++-common/lib-42.c: Likewise. | |
15358 | ||
d7bfc710 TV |
15359 | 2015-06-15 Tom de Vries <tom@codesourcery.com> |
15360 | ||
15361 | * testsuite/libgomp.c/atomic-1.c: Remove dg-options "-O2". Use | |
15362 | dg-additional-options for any remaining options. | |
15363 | * testsuite/libgomp.c/atomic-2.c: Same. | |
15364 | * testsuite/libgomp.c/atomic-4.c: Same. | |
15365 | * testsuite/libgomp.c/atomic-5.c: Same. | |
15366 | * testsuite/libgomp.c/atomic-6.c: Same. | |
15367 | * testsuite/libgomp.c/autopar-1.c: Same. | |
15368 | * testsuite/libgomp.c/copyin-1.c: Same. | |
15369 | * testsuite/libgomp.c/copyin-2.c: Same. | |
15370 | * testsuite/libgomp.c/copyin-3.c: Same. | |
15371 | * testsuite/libgomp.c/examples-4/e.53.5.c: Same. | |
15372 | * testsuite/libgomp.c/nestedfn-5.c: Same. | |
15373 | * testsuite/libgomp.c/parloops-exit-first-loop-alt-2.c: Same. | |
15374 | * testsuite/libgomp.c/parloops-exit-first-loop-alt-3.c: Same. | |
15375 | * testsuite/libgomp.c/parloops-exit-first-loop-alt-4.c: Same. | |
15376 | * testsuite/libgomp.c/parloops-exit-first-loop-alt.c: Same. | |
15377 | * testsuite/libgomp.c/pr32362-1.c: Same. | |
15378 | * testsuite/libgomp.c/pr32362-2.c: Same. | |
15379 | * testsuite/libgomp.c/pr32362-3.c: Same. | |
15380 | * testsuite/libgomp.c/pr39591-1.c: Same. | |
15381 | * testsuite/libgomp.c/pr39591-2.c: Same. | |
15382 | * testsuite/libgomp.c/pr39591-3.c: Same. | |
15383 | * testsuite/libgomp.c/pr58392.c: Same. | |
15384 | * testsuite/libgomp.c/pr58756.c: Same. | |
15385 | * testsuite/libgomp.c/simd-1.c: Same. | |
15386 | * testsuite/libgomp.c/simd-10.c: Same. | |
15387 | * testsuite/libgomp.c/simd-11.c: Same. | |
15388 | * testsuite/libgomp.c/simd-12.c: Same. | |
15389 | * testsuite/libgomp.c/simd-13.c: Same. | |
15390 | * testsuite/libgomp.c/simd-14.c: Same. | |
15391 | * testsuite/libgomp.c/simd-15.c: Same. | |
15392 | * testsuite/libgomp.c/simd-2.c: Same. | |
15393 | * testsuite/libgomp.c/simd-3.c: Same. | |
15394 | * testsuite/libgomp.c/simd-4.c: Same. | |
15395 | * testsuite/libgomp.c/simd-5.c: Same. | |
15396 | * testsuite/libgomp.c/simd-6.c: Same. | |
15397 | * testsuite/libgomp.c/simd-7.c: Same. | |
15398 | * testsuite/libgomp.c/simd-8.c: Same. | |
15399 | * testsuite/libgomp.c/simd-9.c: Same. | |
15400 | ||
fb5b5352 TV |
15401 | 2015-06-15 Tom de Vries <tom@codesourcery.com> |
15402 | ||
15403 | * testsuite/libgomp.c/pr35625.c: Fix typo. | |
15404 | ||
ca431bef TV |
15405 | 2015-06-15 Tom de Vries <tom@codesourcery.com> |
15406 | ||
15407 | * testsuite/libgomp.c/atomic-18.c: Remove superfluous -fopenmp setting | |
15408 | in dg-options. | |
15409 | * testsuite/libgomp.c/atomic-3.c: Same. | |
15410 | * testsuite/libgomp.c/debug-1.c: Same. | |
15411 | * testsuite/libgomp.c/nqueens-1.c: Same. | |
15412 | * testsuite/libgomp.c/pr26171.c: Same. | |
15413 | * testsuite/libgomp.c/pr48591.c: Same. | |
15414 | * testsuite/libgomp.c/pr64824.c: Same. | |
15415 | * testsuite/libgomp.c/pr64868.c: Same. | |
15416 | * testsuite/libgomp.c/pr66133.c: Same. | |
15417 | * testsuite/libgomp.c/pr66199-1.c: Same. | |
15418 | * testsuite/libgomp.c/pr66199-2.c: Same. | |
15419 | * testsuite/libgomp.c/target-8.c: Same. | |
15420 | ||
0d8a9e20 TV |
15421 | 2015-06-15 Tom de Vries <tom@codesourcery.com> |
15422 | ||
15423 | * testsuite/libgomp.c/collapse-3.c: Use dg-additional-options for | |
15424 | -std={gnu99,c99}. | |
15425 | * testsuite/libgomp.c/for-1.c: Same. | |
15426 | * testsuite/libgomp.c/for-2.c: Same. | |
15427 | * testsuite/libgomp.c/for-3.c: Same. | |
15428 | * testsuite/libgomp.c/pr35625.c: Same. | |
15429 | * testsuite/libgomp.c/pr39154.c: Same. | |
15430 | * testsuite/libgomp.c/simd-16.c: Same. | |
15431 | * testsuite/libgomp.c/simd-17.c: Same. | |
15432 | ||
a6860be9 TV |
15433 | 2015-06-13 Tom de Vries <tom@codesourcery.com> |
15434 | ||
15435 | * testsuite/libgomp.c/parloops-exit-first-loop-alt-4.c: New test. | |
15436 | ||
ab3306d2 TV |
15437 | 2015-06-13 Tom de Vries <tom@codesourcery.com> |
15438 | ||
15439 | * testsuite/libgomp.c/parloops-exit-first-loop-alt-2.c: Add comment. | |
15440 | * testsuite/libgomp.c/parloops-exit-first-loop-alt.c: Same. | |
15441 | * testsuite/libgomp.c/parloops-exit-first-loop-alt-3.c: Add comment. | |
15442 | (N): Define. | |
15443 | (main): Use N instead of hardcoded constants. | |
15444 | ||
7c82d827 TV |
15445 | 2015-06-05 Tom de Vries <tom@codesourcery.com> |
15446 | ||
15447 | merge from gomp4 branch: | |
15448 | 2015-05-28 Tom de Vries <tom@codesourcery.com> | |
15449 | ||
15450 | PR tree-optimization/65443 | |
15451 | * testsuite/libgomp.c/parloops-exit-first-loop-alt-2.c: New test. | |
15452 | * testsuite/libgomp.c/parloops-exit-first-loop-alt-3.c: New test. | |
15453 | * testsuite/libgomp.c/parloops-exit-first-loop-alt.c: New test. | |
15454 | ||
c469078d BRF |
15455 | 2015-05-29 Bernhard Reutner-Fischer <aldot@gcc.gnu.org> |
15456 | ||
15457 | * testsuite/libgomp.graphite/bounds.c: Adjust for | |
15458 | cleanup-tree-dump removal. | |
15459 | * testsuite/libgomp.graphite/force-parallel-1.c: Likewise. | |
15460 | * testsuite/libgomp.graphite/force-parallel-2.c: Likewise. | |
15461 | * testsuite/libgomp.graphite/force-parallel-3.c: Likewise. | |
15462 | * testsuite/libgomp.graphite/force-parallel-4.c: Likewise. | |
15463 | * testsuite/libgomp.graphite/force-parallel-5.c: Likewise. | |
15464 | * testsuite/libgomp.graphite/force-parallel-6.c: Likewise. | |
15465 | * testsuite/libgomp.graphite/force-parallel-7.c: Likewise. | |
15466 | * testsuite/libgomp.graphite/force-parallel-8.c: Likewise. | |
15467 | * testsuite/libgomp.graphite/force-parallel-9.c: Likewise. | |
15468 | * testsuite/libgomp.graphite/pr41118.c: Likewise. | |
15469 | ||
bb3caa35 UB |
15470 | 2015-05-28 Uros Bizjak <ubizjak@gmail.com> |
15471 | ||
15472 | * config/linux/x86/futex.h (sys_futex0) [!__x86_64__]: Remove function. | |
15473 | (futex_wait) [!__x86_64__]: Use __asm operand instead of sys_futex0. | |
15474 | (futex_wake) [!__x86_64__]: Ditto. | |
15475 | ||
9fb5fd44 JB |
15476 | 2015-05-28 Julian Brown <julian@codesourcery.com> |
15477 | ||
15478 | * oacc-init.c (resolve_device): Add FAIL_IS_ERROR argument. Update | |
15479 | function comment. Only call gomp_fatal if new argument is true. | |
15480 | (acc_dev_num_out_of_range): New function. | |
15481 | (acc_init_1, acc_shutdown_1): Update call to resolve_device. Call | |
15482 | acc_dev_num_out_of_range as appropriate. | |
15483 | (acc_get_num_devices, acc_set_device_type, acc_get_device_type) | |
bb3caa35 UB |
15484 | (acc_get_device_num, acc_set_device_num): Update calls to |
15485 | resolve_device. | |
9fb5fd44 JB |
15486 | * testsuite/libgomp.oacc-c-c++-common/lib-4.c: Update expected test |
15487 | output. | |
15488 | ||
32eaed93 JB |
15489 | 2015-05-28 Julian Brown <julian@codesourcery.com> |
15490 | ||
15491 | PR libgomp/65742 | |
32eaed93 JB |
15492 | * oacc-init.c (plugin/plugin-host.h): Include. |
15493 | (acc_on_device): Check whether we're in an offloaded region for | |
15494 | host_nonshm | |
15495 | plugin. Don't use __builtin_acc_on_device. | |
15496 | * plugin/plugin-host.c (GOMP_OFFLOAD_openacc_parallel): Set | |
15497 | nonshm_exec flag in thread-local data. | |
15498 | (GOMP_OFFLOAD_openacc_create_thread_data): Allocate thread-local | |
15499 | data for host_nonshm plugin. | |
15500 | (GOMP_OFFLOAD_openacc_destroy_thread_data): Free thread-local data | |
15501 | for host_nonshm plugin. | |
15502 | * plugin/plugin-host.h: New. | |
15503 | ||
ea023bcf UB |
15504 | 2015-05-27 Uros Bizjak <ubizjak@gmail.com> |
15505 | ||
8ed501f1 UB |
15506 | * config/linux/ia64/futex.h (sys_futex0) Change operand "op" to int. |
15507 | ||
15508 | 2015-05-27 Uros Bizjak <ubizjak@gmail.com> | |
15509 | ||
15510 | * config/linux/wait.h (gomp_futex_wait, gomp_futex_wake): | |
15511 | Declare as int. | |
15512 | (FUTEX_PRIVATE_FLAG): Remove L suffix. | |
15513 | * config/linux/mutex.c (gomp_futex_wait, gomp_futex_wake): | |
15514 | Declare as int. | |
15515 | ||
15516 | 2015-05-27 Uros Bizjak <ubizjak@gmail.com> | |
15517 | ||
bb3caa35 | 15518 | * config/linux/x86/futex.h (sys_futex0) [__PIC__]: Remove function. |
ea023bcf | 15519 | |
1716efeb CLT |
15520 | 2015-05-27 Chung-Lin Tang <cltang@codesourcery.com> |
15521 | ||
15522 | * target.c (gomp_map_pointer): New function abstracting out | |
15523 | GOMP_MAP_POINTER handling. | |
15524 | (gomp_map_vars): Remove GOMP_MAP_POINTER handling code and use | |
15525 | gomp_map_pointer(). | |
15526 | ||
41b37d5e JJ |
15527 | 2015-05-19 Jakub Jelinek <jakub@redhat.com> |
15528 | ||
15529 | PR middle-end/66199 | |
15530 | * testsuite/libgomp.c/pr66199-1.c: New test. | |
15531 | * testsuite/libgomp.c/pr66199-2.c: New test. | |
15532 | * testsuite/libgomp.c++/pr66199-1.C: New test. | |
15533 | * testsuite/libgomp.c++/pr66199-2.C: New test. | |
15534 | * testsuite/libgomp.fortran/pr66199-1.f90: New test. | |
15535 | * testsuite/libgomp.fortran/pr66199-2.f90: New test. | |
15536 | ||
c8319826 JB |
15537 | 2015-05-19 Julian Brown <julian@codesourcery.com> |
15538 | ||
15539 | * plugin/plugin-nvptx.c (nvptx_get_num_devices): Return zero | |
15540 | on cuInit failure. | |
15541 | ||
b37dddbc JJ |
15542 | 2015-05-13 Jakub Jelinek <jakub@redhat.com> |
15543 | ||
15544 | PR middle-end/66133 | |
15545 | * testsuite/libgomp.c/pr66133.c: New test. | |
15546 | ||
55fba601 MH |
15547 | 2015-05-13 Michael Haubenwallner <michael.haubenwallner@ssi-schaefer.com> |
15548 | ||
15549 | * Makefile.in: Regenerated with automake-1.11.6. | |
15550 | * aclocal.m4: Likewise. | |
15551 | * config.h.in: Likewise. | |
15552 | * configure: Likewise. | |
15553 | * testsuite/Makefile.in: Likewise. | |
15554 | ||
1be0899d JM |
15555 | 2015-05-08 Jason Merrill <jason@redhat.com> |
15556 | ||
15557 | * testsuite/libgomp.oacc-c-c++-common/reduction-4.c (main): Use | |
15558 | _Complex. | |
15559 | ||
15560 | * openacc.h (__GOACC_NOTHROW): Fix noexcept syntax. | |
15561 | ||
d2463960 JB |
15562 | 2015-05-06 Julian Brown <julian@codesourcery.com> |
15563 | ||
15564 | * oacc-init.c (acc_device_lock): Add explanatory comment. | |
15565 | (resolve_device): Add comment about locking requirement. | |
15566 | (acc_init_1, acc_shutdown_1): Likewise. Add locking around | |
15567 | gomp_init_device and gomp_fini_device calls. | |
15568 | (acc_get_num_devices, acc_set_device_type, acc_get_device_type) | |
15569 | (acc_get_device_num, acc_set_device_num): Add locking around | |
15570 | resolve_device and gomp_init_device calls. | |
15571 | ||
e38fdba4 JB |
15572 | 2015-05-06 Julian Brown <julian@codesourcery.com> |
15573 | ||
15574 | * oacc-init.c (acc_shutdown_1): Call gomp_mutex_unlock for | |
15575 | goacc_thread_lock on error paths. | |
15576 | * oacc-mem.c (lookup_host): Remove locking from function. Note | |
15577 | locking requirement for caller in function comment. | |
15578 | (lookup_dev): Likewise. | |
15579 | (acc_free, acc_deviceptr, acc_hostptr, acc_is_present) | |
15580 | (acc_map_data, acc_unmap_data, present_create_copy, delete_copyout) | |
15581 | (update_dev_host, gomp_acc_insert_pointer, gomp_acc_remove_pointer): | |
15582 | Add locking. | |
15583 | ||
ae8ffbbb TS |
15584 | 2015-05-05 Thomas Schwinge <thomas@codesourcery.com> |
15585 | ||
15586 | PR testsuite/65205 | |
15587 | PR libgomp/65993 | |
15588 | * testsuite/libgomp.oacc-c-c++-common/clauses-2.c: In dg-output, | |
15589 | don't expect "0x" prefix for "%p" format specifier, don't expect | |
15590 | "(nil)" for NULL pointer. | |
15591 | * testsuite/libgomp.oacc-c-c++-common/lib-16.c: Likewise. | |
15592 | * testsuite/libgomp.oacc-c-c++-common/lib-17.c: Likewise. | |
15593 | * testsuite/libgomp.oacc-c-c++-common/lib-18.c: Likewise. | |
15594 | * testsuite/libgomp.oacc-c-c++-common/lib-20.c: Likewise. | |
15595 | * testsuite/libgomp.oacc-c-c++-common/lib-21.c: Likewise. | |
15596 | * testsuite/libgomp.oacc-c-c++-common/lib-22.c: Likewise. | |
15597 | * testsuite/libgomp.oacc-c-c++-common/lib-23.c: Likewise. | |
15598 | * testsuite/libgomp.oacc-c-c++-common/lib-25.c: Likewise. | |
15599 | * testsuite/libgomp.oacc-c-c++-common/lib-26.c: Likewise. | |
15600 | * testsuite/libgomp.oacc-c-c++-common/lib-27.c: Likewise. | |
15601 | * testsuite/libgomp.oacc-c-c++-common/lib-28.c: Likewise. | |
15602 | * testsuite/libgomp.oacc-c-c++-common/lib-29.c: Likewise. | |
15603 | * testsuite/libgomp.oacc-c-c++-common/lib-30.c: Likewise. | |
15604 | * testsuite/libgomp.oacc-c-c++-common/lib-34.c: Likewise. | |
15605 | * testsuite/libgomp.oacc-c-c++-common/lib-35.c: Likewise. | |
15606 | * testsuite/libgomp.oacc-c-c++-common/lib-36.c: Likewise. | |
15607 | * testsuite/libgomp.oacc-c-c++-common/lib-39.c: Likewise. | |
15608 | * testsuite/libgomp.oacc-c-c++-common/lib-40.c: Likewise. | |
15609 | * testsuite/libgomp.oacc-c-c++-common/lib-42.c: Likewise. | |
15610 | * testsuite/libgomp.oacc-c-c++-common/lib-43.c: Likewise. | |
15611 | * testsuite/libgomp.oacc-c-c++-common/lib-44.c: Likewise. | |
15612 | * testsuite/libgomp.oacc-c-c++-common/lib-47.c: Likewise. | |
15613 | * testsuite/libgomp.oacc-c-c++-common/lib-48.c: Likewise. | |
15614 | * testsuite/libgomp.oacc-c-c++-common/lib-52.c: Likewise. | |
15615 | * testsuite/libgomp.oacc-c-c++-common/lib-53.c: Likewise. | |
15616 | * testsuite/libgomp.oacc-c-c++-common/lib-54.c: Likewise. | |
15617 | * testsuite/libgomp.oacc-c-c++-common/lib-57.c: Likewise. | |
15618 | * testsuite/libgomp.oacc-c-c++-common/lib-58.c: Likewise. | |
15619 | * testsuite/libgomp.oacc-c-c++-common/data-already-1.c: More | |
15620 | accurately specify what we're looking for. | |
15621 | * testsuite/libgomp.oacc-c-c++-common/data-already-2.c: Likewise. | |
15622 | * testsuite/libgomp.oacc-c-c++-common/data-already-8.c: Likewise. | |
15623 | * testsuite/libgomp.oacc-fortran/data-already-1.f: Likewise. | |
15624 | * testsuite/libgomp.oacc-fortran/data-already-2.f: Likewise. | |
15625 | * testsuite/libgomp.oacc-fortran/data-already-8.f: Likewise. | |
15626 | ||
1309f1d2 JN |
15627 | 2015-04-30 James Norris <jnorris@codesourcery.com> |
15628 | ||
15629 | PR testsuite/65205 | |
15630 | * testsuite/lib/libgomp.exp | |
15631 | (check_effective_target_openacc_host_selected) | |
15632 | (check_effective_target_openacc_host_nonshm_selected): New | |
15633 | procedures. | |
15634 | * testsuite/libgomp.oacc-c-c++-common/clauses-2.c: Fix misuse of | |
15635 | dg-shouldfail. | |
15636 | * testsuite/libgomp.oacc-c-c++-common/lib-1.c: Likewise. | |
15637 | * testsuite/libgomp.oacc-c-c++-common/lib-11.c: Likewise. | |
15638 | * testsuite/libgomp.oacc-c-c++-common/lib-16.c: Likewise. | |
15639 | * testsuite/libgomp.oacc-c-c++-common/lib-17.c: Likewise. | |
15640 | * testsuite/libgomp.oacc-c-c++-common/lib-18.c: Likewise. | |
15641 | * testsuite/libgomp.oacc-c-c++-common/lib-2.c: Likewise. | |
15642 | * testsuite/libgomp.oacc-c-c++-common/lib-20.c: Likewise. | |
15643 | * testsuite/libgomp.oacc-c-c++-common/lib-21.c: Likewise. | |
15644 | * testsuite/libgomp.oacc-c-c++-common/lib-22.c: Likewise. | |
15645 | * testsuite/libgomp.oacc-c-c++-common/lib-23.c: Likewise. | |
15646 | * testsuite/libgomp.oacc-c-c++-common/lib-25.c: Likewise. | |
15647 | * testsuite/libgomp.oacc-c-c++-common/lib-26.c: Likewise. | |
15648 | * testsuite/libgomp.oacc-c-c++-common/lib-27.c: Likewise. | |
15649 | * testsuite/libgomp.oacc-c-c++-common/lib-28.c: Likewise. | |
15650 | * testsuite/libgomp.oacc-c-c++-common/lib-29.c: Likewise. | |
15651 | * testsuite/libgomp.oacc-c-c++-common/lib-3.c: Likewise. | |
15652 | * testsuite/libgomp.oacc-c-c++-common/lib-30.c: Likewise. | |
15653 | * testsuite/libgomp.oacc-c-c++-common/lib-34.c: Likewise. | |
15654 | * testsuite/libgomp.oacc-c-c++-common/lib-35.c: Likewise. | |
15655 | * testsuite/libgomp.oacc-c-c++-common/lib-36.c: Likewise. | |
15656 | * testsuite/libgomp.oacc-c-c++-common/lib-39.c: Likewise. | |
15657 | * testsuite/libgomp.oacc-c-c++-common/lib-4.c: Likewise. | |
15658 | * testsuite/libgomp.oacc-c-c++-common/lib-40.c: Likewise. | |
15659 | * testsuite/libgomp.oacc-c-c++-common/lib-42.c: Likewise. | |
15660 | * testsuite/libgomp.oacc-c-c++-common/lib-43.c: Likewise. | |
15661 | * testsuite/libgomp.oacc-c-c++-common/lib-44.c: Likewise. | |
15662 | * testsuite/libgomp.oacc-c-c++-common/lib-47.c: Likewise. | |
15663 | * testsuite/libgomp.oacc-c-c++-common/lib-48.c: Likewise. | |
15664 | * testsuite/libgomp.oacc-c-c++-common/lib-52.c: Likewise. | |
15665 | * testsuite/libgomp.oacc-c-c++-common/lib-53.c: Likewise. | |
15666 | * testsuite/libgomp.oacc-c-c++-common/lib-54.c: Likewise. | |
15667 | * testsuite/libgomp.oacc-c-c++-common/lib-57.c: Likewise. | |
15668 | * testsuite/libgomp.oacc-c-c++-common/lib-58.c: Likewise. | |
15669 | * testsuite/libgomp.oacc-c-c++-common/lib-62.c: Likewise. | |
15670 | * testsuite/libgomp.oacc-c-c++-common/lib-63.c: Likewise. | |
15671 | * testsuite/libgomp.oacc-c-c++-common/lib-64.c: Likewise. | |
15672 | * testsuite/libgomp.oacc-c-c++-common/lib-65.c: Likewise. | |
15673 | * testsuite/libgomp.oacc-c-c++-common/lib-67.c: Likewise. | |
15674 | * testsuite/libgomp.oacc-c-c++-common/lib-68.c: Likewise. | |
15675 | * testsuite/libgomp.oacc-c-c++-common/lib-71.c: Likewise. | |
15676 | * testsuite/libgomp.oacc-c-c++-common/lib-77.c: Likewise. | |
15677 | * testsuite/libgomp.oacc-c-c++-common/lib-80.c: Likewise. | |
15678 | * testsuite/libgomp.oacc-c-c++-common/present-1.c: Likewise. | |
15679 | ||
d93bdab5 JB |
15680 | 2015-04-08 Julian Brown <julian@codesourcery.com> |
15681 | ||
15682 | * libgomp.h (target_mem_desc: Remove mem_map field. | |
15683 | (acc_dispatch_t): Remove open_device_func, close_device_func, | |
15684 | get_device_num_func, set_device_num_func, target_data members. | |
15685 | Change create_thread_data_func argument to device number instead of | |
15686 | generic pointer. | |
15687 | * oacc-async.c (assert.h): Include. | |
15688 | (acc_async_test, acc_async_test_all, acc_wait, acc_wait_async) | |
15689 | (acc_wait_all, acc_wait_all_async): Use current host thread's | |
15690 | active device, not base_dev. | |
15691 | * oacc-cuda.c (acc_get_current_cuda_device) | |
15692 | (acc_get_current_cuda_context, acc_get_cuda_stream) | |
15693 | (acc_set_cuda_stream): Likewise. | |
15694 | * oacc-host.c (host_dispatch): Don't set open_device_func, | |
15695 | close_device_func, get_device_num_func or set_device_num_func. | |
15696 | * oacc-init.c (base_dev, init_key): Remove. | |
15697 | (cached_base_dev): New. | |
15698 | (name_of_acc_device_t): New. | |
15699 | (acc_init_1): Initialise default-numbered device, not zeroth. | |
15700 | (acc_shutdown_1): Close all devices of a given type. | |
15701 | (goacc_destroy_thread): Don't use base_dev. | |
15702 | (lazy_open, lazy_init, lazy_init_and_open): Remove. | |
15703 | (goacc_attach_host_thread_to_device): New. | |
15704 | (acc_init): Reimplement with goacc_attach_host_thread_to_device. | |
15705 | (acc_get_num_devices): Don't use base_dev. | |
15706 | (acc_set_device_type): Reimplement. | |
15707 | (acc_get_device_type): Don't use base_dev. | |
15708 | (acc_get_device_num): Tweak logic. | |
15709 | (acc_set_device_num): Likewise. | |
15710 | (acc_on_device): Use acc_get_device_type. | |
15711 | (goacc_runtime_initialize): Initialize cached_base_dev not base_dev. | |
15712 | (goacc_lazy_initialize): Reimplement with acc_init and | |
15713 | goacc_attach_host_thread_to_device. | |
15714 | * oacc-int.h (goacc_thread): Add base_dev field. | |
15715 | (base_dev): Remove extern declaration. | |
15716 | (goacc_attach_host_thread_to_device): Add prototype. | |
15717 | * oacc-mem.c (acc_malloc): Use current thread's device instead of | |
15718 | base_dev. | |
15719 | (acc_free): Likewise. | |
15720 | (acc_memcpy_to_device): Likewise. | |
15721 | (acc_memcpy_from_device): Likewise. | |
15722 | * oacc-parallel.c (select_acc_device): Remove. Replace calls with | |
15723 | goacc_lazy_initialize (throughout). | |
15724 | (GOACC_parallel): Use tgt_offset to locate target functions. | |
15725 | * target.c (gomp_map_vars): Don't set tgt->mem_map. | |
15726 | (gomp_unmap_vars): Use devicep->mem_map pointer not tgt->mem_map. | |
15727 | (gomp_load_plugin_for_device): Remove open_device, close_device, | |
15728 | get_device_num, set_device_num openacc hook initialisation. Don't set | |
15729 | openacc.target_data. | |
15730 | * plugin/plugin-host.c (GOMP_OFFLOAD_openacc_open_device) | |
15731 | (GOMP_OFFLOAD_openacc_close_device) | |
15732 | (GOMP_OFFLOAD_openacc_get_device_num) | |
15733 | (GOMP_OFFLOAD_openacc_set_device_num): Remove. | |
15734 | (GOMP_OFFLOAD_openacc_create_thread_data): Change (unused) argument | |
15735 | to int. | |
15736 | * plugin/plugin-nvptx.c (ptx_inited): Remove. | |
15737 | (instantiated_devices, ptx_dev_lock): New. | |
15738 | (struct ptx_image_data): New. | |
15739 | (ptx_devices, ptx_images, ptx_image_lock): New. | |
15740 | (fini_streams_for_device): Reorder cuStreamDestroy call. | |
15741 | (nvptx_get_num_devices): Remove forward declaration. | |
15742 | (nvptx_init): Change return type to bool. | |
15743 | (nvptx_fini): Remove. | |
15744 | (nvptx_attach_host_thread_to_device): New. | |
15745 | (nvptx_open_device): Return struct ptx_device* instead of void*. | |
15746 | (nvptx_close_device): Change argument type to struct ptx_device*, | |
15747 | return type to void. | |
15748 | (nvptx_get_num_devices): Use instantiated_devices not ptx_inited. | |
15749 | (kernel_target_data, kernel_host_table): Remove static globals. | |
15750 | (GOMP_OFFLOAD_register_image, GOMP_OFFLOAD_get_table): Remove. | |
15751 | (GOMP_OFFLOAD_init_device): Reimplement. | |
15752 | (GOMP_OFFLOAD_fini_device): Likewise. | |
15753 | (GOMP_OFFLOAD_load_image, GOMP_OFFLOAD_unload_image): New. | |
15754 | (GOMP_OFFLOAD_alloc, GOMP_OFFLOAD_free, GOMP_OFFLOAD_dev2host) | |
15755 | (GOMP_OFFLOAD_host2dev): Use ORD argument. | |
15756 | (GOMP_OFFLOAD_openacc_open_device) | |
15757 | (GOMP_OFFLOAD_openacc_close_device) | |
15758 | (GOMP_OFFLOAD_openacc_set_device_num) | |
15759 | (GOMP_OFFLOAD_openacc_get_device_num): Remove. | |
15760 | (GOMP_OFFLOAD_openacc_create_thread_data): Change argument to int | |
15761 | (device number). | |
15762 | ||
15763 | testsuite/ | |
15764 | * libgomp.oacc-c-c++-common/lib-9.c: Fix devnum check in test. | |
15765 | ||
a51df54e IV |
15766 | 2015-04-06 Ilya Verbin <ilya.verbin@intel.com> |
15767 | ||
15768 | * libgomp-plugin.h (struct mapping_table): Replace with addr_pair. | |
15769 | * libgomp.h (struct gomp_memory_mapping): Remove. | |
15770 | (struct target_mem_desc): Change type of mem_map from | |
15771 | gomp_memory_mapping * to splay_tree_s *. | |
15772 | (struct gomp_device_descr): Remove register_image_func, get_table_func. | |
15773 | Add load_image_func, unload_image_func. | |
15774 | Change type of mem_map from gomp_memory_mapping to splay_tree_s. | |
15775 | Remove offload_regions_registered. | |
15776 | (gomp_init_tables): Remove. | |
15777 | (gomp_free_memmap): Change type of argument from gomp_memory_mapping * | |
15778 | to splay_tree_s *. | |
15779 | * libgomp.map (GOMP_4.0.1): Add GOMP_offload_unregister. | |
15780 | * oacc-host.c (host_dispatch): Do not initialize register_image_func, | |
15781 | get_table_func, mem_map.is_initialized, mem_map.splay_tree.root, | |
15782 | offload_regions_registered. | |
15783 | Initialize load_image_func, unload_image_func, mem_map.root. | |
15784 | (goacc_host_init): Do not initialize host_dispatch.mem_map.lock. | |
15785 | * oacc-init.c (lazy_open): Don't call gomp_init_tables. | |
15786 | (acc_shutdown_1): Use dev's lock and splay_tree instead of mem_map's. | |
15787 | * oacc-mem.c (lookup_host): Get gomp_device_descr *dev instead of | |
15788 | gomp_memory_mapping *. Use dev's lock and splay_tree. | |
15789 | (lookup_dev): Use dev's lock. | |
15790 | (acc_deviceptr): Pass dev to lookup_host instead of mem_map. | |
15791 | (acc_is_present): Likewise. | |
15792 | (acc_map_data): Likewise. | |
15793 | (acc_unmap_data): Likewise. Use dev's lock. | |
15794 | (present_create_copy): Likewise. | |
15795 | (delete_copyout): Pass dev to lookup_host instead of mem_map. | |
15796 | (update_dev_host): Likewise. | |
15797 | (gomp_acc_remove_pointer): Likewise. Use dev's lock. | |
15798 | * oacc-parallel.c (GOACC_parallel): Use dev's lock and splay_tree. | |
15799 | * plugin/plugin-host.c (GOMP_OFFLOAD_register_image): Remove. | |
15800 | (GOMP_OFFLOAD_get_table): Remove | |
15801 | (GOMP_OFFLOAD_load_image): New function. | |
15802 | (GOMP_OFFLOAD_unload_image): New function. | |
15803 | * target.c (register_lock): New mutex for offload image registration. | |
15804 | (num_devices): Do not guard with PLUGIN_SUPPORT. | |
15805 | (gomp_realloc_unlock): New static function. | |
15806 | (gomp_map_vars_existing): Add device descriptor argument. Unlock mutex | |
15807 | before gomp_fatal. | |
15808 | (gomp_map_vars): Use dev's lock and splay_tree instead of mem_map's. | |
15809 | Pass devicep to gomp_map_vars_existing. Unlock mutex before gomp_fatal. | |
15810 | (gomp_copy_from_async): Use dev's lock and splay_tree instead of | |
15811 | mem_map's. | |
15812 | (gomp_unmap_vars): Likewise. | |
15813 | (gomp_update): Remove gomp_memory_mapping argument. Use dev's lock and | |
15814 | splay_tree instead of mm's. Unlock mutex before gomp_fatal. | |
15815 | (gomp_offload_image_to_device): New static function. | |
15816 | (GOMP_offload_register): Add mutex lock. | |
15817 | Call gomp_offload_image_to_device for all initialized devices. | |
15818 | Replace gomp_realloc with gomp_realloc_unlock. | |
15819 | (GOMP_offload_unregister): New function. | |
15820 | (gomp_init_tables): Replace with gomp_init_device. Replace a call to | |
15821 | get_table_func from the plugin with calls to init_device_func and | |
15822 | gomp_offload_image_to_device. | |
15823 | (gomp_free_memmap): Change type of argument from gomp_memory_mapping * | |
15824 | to splay_tree_s *. | |
15825 | (GOMP_target): Do not call gomp_init_tables. Use dev's lock and | |
15826 | splay_tree instead of mem_map's. Unlock mutex before gomp_fatal. | |
15827 | (GOMP_target_data): Do not call gomp_init_tables. | |
15828 | (GOMP_target_update): Likewise. Remove argument from gomp_update. | |
15829 | (gomp_load_plugin_for_device): Replace register_image and get_table | |
15830 | with load_image and unload_image in DLSYM (). | |
15831 | (gomp_register_images_for_device): Remove function. | |
15832 | (gomp_target_init): Do not initialize current_device.mem_map.*, | |
15833 | current_device.offload_regions_registered. | |
15834 | Remove call to gomp_register_images_for_device. | |
15835 | Do not free offload_images and num_offload_images. | |
15836 | ||
6c384511 JJ |
15837 | 2015-03-30 Jakub Jelinek <jakub@redhat.com> |
15838 | ||
15839 | PR fortran/65597 | |
15840 | * testsuite/libgomp.fortran/pr65597.f90: New test. | |
15841 | ||
3e8165a5 TV |
15842 | 2015-03-27 Tom de Vries <tom@codesourcery.com> |
15843 | ||
15844 | PR testsuite/65594 | |
15845 | * testsuite/libgomp.graphite/force-parallel-6.c (abort): Declare. | |
15846 | (init, check): New function. | |
15847 | (foo): Change return type to void. | |
15848 | (main): Call init and check. | |
15849 | ||
4d688c9a TV |
15850 | 2015-03-27 Tom de Vries <tom@codesourcery.com> |
15851 | ||
15852 | PR testsuite/65594 | |
15853 | * testsuite/libgomp.graphite/force-parallel-6.c (M): Define. | |
15854 | (foo): Use M for non-inner loops to scale down test-case. | |
15855 | ||
01c0b3b0 KT |
15856 | 2015-03-25 Kai Tietz <ktietz@redhat.com> |
15857 | ||
15858 | PR libgomp/64972 | |
15859 | * oacc-parallel.c (GOACC_parallel): Use PRIu64 if available. | |
15860 | (GOACC_data_start): Likewise. | |
15861 | * target.c (gomp_map_vars): Likewise. | |
15862 | ||
844d9a76 JDA |
15863 | 2015-03-21 John David Anglin <danglin@gcc.gnu.org> |
15864 | ||
15865 | * testsuite/libgomp.oacc-c-c++-common/reduction-4.c: Don't run on | |
15866 | hppa*-*-hpux*. | |
15867 | ||
9b65e171 JJ |
15868 | 2015-03-19 Jakub Jelinek <jakub@redhat.com> |
15869 | ||
15870 | * testsuite/libgomp.c/target-10.c: New test. | |
15871 | * testsuite/libgomp.c++/target-4.C: New test. | |
15872 | ||
db397e2e IV |
15873 | 2015-03-13 Ilya Verbin <ilya.verbin@intel.com> |
15874 | ||
15875 | * testsuite/libgomp.fortran/declare-target-1.f90: New test. | |
15876 | * testsuite/libgomp.fortran/declare-target-2.f90: New file. | |
15877 | ||
cd93945d SH |
15878 | 2015-03-13 Sebastian Huber <sebastian.huber@embedded-brains.de> |
15879 | ||
15880 | * configure.tgt (*-*-rtems*): Use local-exec TLS model. | |
15881 | * configure.ac (*-*-rtems*): Assume Pthread is supported. | |
15882 | (pthread.h): Check for this header file. | |
15883 | * configure: Regenerate. | |
15884 | ||
05deba9f TV |
15885 | 2015-02-25 Tom de Vries <tom@codesourcery.com> |
15886 | ||
15887 | * testsuite/libgomp.oacc-c-c++-common/reduction-1.c (DO_PRAGMA) | |
15888 | (check_reduction_op, check_reduction_macro, max, min): | |
15889 | Declare. | |
15890 | (test_reductions_int, test_reductions_minmax, test_reductions_bool): New | |
15891 | function. | |
15892 | (main): Use new functions. | |
15893 | ||
196904d8 IT |
15894 | 2015-02-18 Ilya Tocar <ilya.tocar@intel.com> |
15895 | ||
15896 | * target.c (gomp_load_plugin_for_device): Use const char * instead of | |
15897 | char * for variables holding dlerror return values. | |
15898 | (DLSYM_OPT): Ditto. | |
15899 | ||
a2818955 TS |
15900 | 2015-02-17 Thomas Schwinge <thomas@codesourcery.com> |
15901 | ||
15902 | * libgomp-plugin.c (GOMP_PLUGIN_debug): Fix typo. | |
15903 | ||
26f93312 TS |
15904 | 2015-02-17 Thomas Schwinge <thomas@codesourcery.com> |
15905 | Cesar Philippidis <cesar@codesourcery.com> | |
15906 | ||
15907 | * oacc-ptx.h (GOACC_INTERNAL_PTX): Add GOACC_tid, GOACC_ntid, | |
15908 | GOACC_ctaid, and GOACC_nctaid routines. | |
15909 | ||
fa01ffcc JJ |
15910 | 2015-02-11 Jakub Jelinek <jakub@redhat.com> |
15911 | ||
15912 | PR c/64824 | |
15913 | * testsuite/libgomp.c/atomic-18.c: New test. | |
15914 | * testsuite/libgomp.c++/atomic-16.C: New test. | |
15915 | ||
4886ec8e JJ |
15916 | 2015-02-04 Jakub Jelinek <jakub@redhat.com> |
15917 | ||
15918 | PR c/64824 | |
15919 | PR c/64868 | |
15920 | * testsuite/libgomp.c/pr64824.c: New test. | |
15921 | * testsuite/libgomp.c/pr64868.c: New test. | |
15922 | * testsuite/libgomp.c++/pr64824.C: New test. | |
15923 | * testsuite/libgomp.c++/pr64868.C: New test. | |
15924 | ||
02d3e45e DE |
15925 | 2015-02-01 David Edelsohn <dje.gcc@gmail.com> |
15926 | ||
15927 | PR libgomp/64635 | |
15928 | * configure.tgt (*-*-aix*): Use standard posix plugin-suffix.h. | |
15929 | Link with -lpthread. | |
15930 | * config/aix/plugin-suffix.h: Delete. | |
15931 | ||
b5f7a6ca JH |
15932 | 2015-01-28 Jack Howarth <howarth.at.gcc@gmail.com> |
15933 | ||
15934 | PR libgomp/64635 | |
15935 | * configure.tgt (*-*-aix*): Use config_path "aix posix". | |
15936 | (*-*-darwin*): Use config_path "bsd darwin posix". | |
15937 | (*-*-hpux*): Use config_path "hpux posix". | |
15938 | * target.c: Add include of plugin-suffix.h and use | |
15939 | SONAME_SUFFIX macro. | |
15940 | * config/aix/plugin-suffix.h: New file. | |
15941 | * config/darwin/plugin-suffix.h: New file. | |
15942 | * config/hpux/plugin-suffix.h: New file. | |
15943 | * config/posix/plugin-suffix.h: New file. | |
15944 | ||
b8910447 JJ |
15945 | 2015-01-23 Jakub Jelinek <jakub@redhat.com> |
15946 | ||
15947 | PR middle-end/64734 | |
15948 | * libgomp.c/pr64734.c: New test. | |
15949 | ||
a0c88d06 TV |
15950 | 2015-01-23 Tom de Vries <tom@codesourcery.com> |
15951 | ||
15952 | PR libgomp/64672 | |
15953 | * testsuite/libgomp.oacc-c-c++-common/abort-5.c: New test. | |
15954 | ||
1506ae0e TV |
15955 | 2015-01-23 Tom de Vries <tom@codesourcery.com> |
15956 | ||
15957 | PR libgomp/64707 | |
15958 | * testsuite/libgomp.c/target-9.c: Add -ftree-parallelize-loops=0 to | |
15959 | dg-options. | |
15960 | ||
128b26dc TS |
15961 | 2015-01-19 Thomas Schwinge <thomas@codesourcery.com> |
15962 | ||
bed62c21 | 15963 | PR libgomp/64625 |
128b26dc TS |
15964 | * libgomp_g.h (GOACC_data_start, GOACC_enter_exit_data) |
15965 | (GOACC_parallel, GOACC_update): Remove const_void *offload_table | |
15966 | formal parameter. Update all users. | |
15967 | * target.c (GOMP_target, GOMP_target_data, GOMP_target_update): | |
15968 | Document unused formal parameter. | |
15969 | ||
6e36114c TS |
15970 | 2015-01-16 Thomas Schwinge <thomas@codesourcery.com> |
15971 | ||
15972 | * oacc-parallel.c: Don't include <alloca.h>. | |
15973 | (GOACC_parallel): Use gomp_alloca instead of alloca. | |
15974 | ||
973e9808 GP |
15975 | 2015-01-16 Gerald Pfeifer <gerald@pfeifer.com> |
15976 | ||
15977 | * target.c (num_devices): Guard with PLUGIN_SUPPORT. | |
15978 | ||
41dbbb37 TS |
15979 | 2015-01-15 Thomas Schwinge <thomas@codesourcery.com> |
15980 | James Norris <jnorris@codesourcery.com> | |
15981 | Tom de Vries <tom@codesourcery.com> | |
15982 | Julian Brown <julian@codesourcery.com> | |
15983 | Cesar Philippidis <cesar@codesourcery.com> | |
15984 | Nathan Sidwell <nathan@codesourcery.com> | |
15985 | Tobias Burnus <burnus@net-b.de> | |
15986 | ||
15987 | * Makefile.am (search_path): Add $(top_srcdir)/../include. | |
15988 | (libgomp_la_SOURCES): Add splay-tree.c, libgomp-plugin.c, | |
15989 | oacc-parallel.c, oacc-host.c, oacc-init.c, oacc-mem.c, | |
15990 | oacc-async.c, oacc-plugin.c, oacc-cuda.c. | |
15991 | [USE_FORTRAN] (libgomp_la_SOURCES): Add openacc.f90. | |
15992 | Include $(top_srcdir)/plugin/Makefrag.am. | |
15993 | (nodist_libsubinclude_HEADERS): Add openacc.h. | |
15994 | [USE_FORTRAN] (nodist_finclude_HEADERS): Add openacc_lib.h, | |
15995 | openacc.f90, openacc.mod, openacc_kinds.mod. | |
15996 | (omp_lib.mod): Generalize into... | |
15997 | (%.mod): ... this new rule. | |
15998 | (openacc_kinds.mod, openacc.mod): New rules. | |
15999 | * plugin/configfrag.ac: New file. | |
16000 | * configure.ac: Move plugin/offloading support into it. Include | |
16001 | it. Instantiate testsuite/libgomp-test-support.pt.exp. | |
16002 | * plugin/Makefrag.am: New file. | |
16003 | * testsuite/Makefile.am (OFFLOAD_TARGETS) | |
16004 | (OFFLOAD_ADDITIONAL_OPTIONS, OFFLOAD_ADDITIONAL_LIB_PATHS): Don't | |
16005 | export. | |
16006 | (libgomp-test-support.exp): New rule. | |
16007 | (all-local): Depend on it. | |
16008 | * Makefile.in: Regenerate. | |
16009 | * testsuite/Makefile.in: Regenerate. | |
16010 | * config.h.in: Likewise. | |
16011 | * configure: Likewise. | |
16012 | * configure.tgt: Harden shell syntax. | |
16013 | * env.c: Include "oacc-int.h". | |
16014 | (parse_acc_device_type): New function. | |
16015 | (gomp_debug_var, goacc_device_type, goacc_device_num): New | |
16016 | variables. | |
16017 | (initialize_env): Initialize those. Call | |
16018 | goacc_runtime_initialize. | |
16019 | * error.c (gomp_vdebug, gomp_debug, gomp_vfatal): New functions. | |
16020 | (gomp_fatal): Call gomp_vfatal. | |
16021 | * libgomp.h: Include "libgomp-plugin.h" and <stdarg.h>. | |
16022 | (gomp_debug_var, goacc_device_type, goacc_device_num, gomp_vdebug) | |
16023 | (gomp_debug, gomp_verror, gomp_vfatal, gomp_init_targets_once) | |
16024 | (splay_tree_node, splay_tree, splay_tree_key) | |
16025 | (struct target_mem_desc, struct splay_tree_key_s) | |
16026 | (struct gomp_memory_mapping, struct acc_dispatch_t) | |
16027 | (struct gomp_device_descr, gomp_acc_insert_pointer) | |
16028 | (gomp_acc_remove_pointer, target_mem_desc, gomp_copy_from_async) | |
16029 | (gomp_unmap_vars, gomp_init_device, gomp_init_tables) | |
16030 | (gomp_free_memmap, gomp_fini_device): New declarations. | |
16031 | (gomp_vdebug, gomp_debug): New macros. | |
16032 | Include "splay-tree.h". | |
16033 | * libgomp.map (OACC_2.0): New symbol version. Use for | |
16034 | acc_get_num_devices, acc_get_num_devices_h_, acc_set_device_type, | |
16035 | acc_set_device_type_h_, acc_get_device_type, | |
16036 | acc_get_device_type_h_, acc_set_device_num, acc_set_device_num_h_, | |
16037 | acc_get_device_num, acc_get_device_num_h_, acc_async_test, | |
16038 | acc_async_test_h_, acc_async_test_all, acc_async_test_all_h_, | |
16039 | acc_wait, acc_wait_h_, acc_wait_async, acc_wait_async_h_, | |
16040 | acc_wait_all, acc_wait_all_h_, acc_wait_all_async, | |
16041 | acc_wait_all_async_h_, acc_init, acc_init_h_, acc_shutdown, | |
16042 | acc_shutdown_h_, acc_on_device, acc_on_device_h_, acc_malloc, | |
16043 | acc_free, acc_copyin, acc_copyin_32_h_, acc_copyin_64_h_, | |
16044 | acc_copyin_array_h_, acc_present_or_copyin, | |
16045 | acc_present_or_copyin_32_h_, acc_present_or_copyin_64_h_, | |
16046 | acc_present_or_copyin_array_h_, acc_create, acc_create_32_h_, | |
16047 | acc_create_64_h_, acc_create_array_h_, acc_present_or_create, | |
16048 | acc_present_or_create_32_h_, acc_present_or_create_64_h_, | |
16049 | acc_present_or_create_array_h_, acc_copyout, acc_copyout_32_h_, | |
16050 | acc_copyout_64_h_, acc_copyout_array_h_, acc_delete, | |
16051 | acc_delete_32_h_, acc_delete_64_h_, acc_delete_array_h_, | |
16052 | acc_update_device, acc_update_device_32_h_, | |
16053 | acc_update_device_64_h_, acc_update_device_array_h_, | |
16054 | acc_update_self, acc_update_self_32_h_, acc_update_self_64_h_, | |
16055 | acc_update_self_array_h_, acc_map_data, acc_unmap_data, | |
16056 | acc_deviceptr, acc_hostptr, acc_is_present, acc_is_present_32_h_, | |
16057 | acc_is_present_64_h_, acc_is_present_array_h_, | |
16058 | acc_memcpy_to_device, acc_memcpy_from_device, | |
16059 | acc_get_current_cuda_device, acc_get_current_cuda_context, | |
16060 | acc_get_cuda_stream, acc_set_cuda_stream. | |
16061 | (GOACC_2.0): New symbol version. Use for GOACC_data_end, | |
16062 | GOACC_data_start, GOACC_enter_exit_data, GOACC_parallel, | |
16063 | GOACC_update, GOACC_wait, GOACC_get_thread_num, | |
16064 | GOACC_get_num_threads. | |
16065 | (GOMP_PLUGIN_1.0): New symbol version. Use for | |
16066 | GOMP_PLUGIN_malloc, GOMP_PLUGIN_malloc_cleared, | |
16067 | GOMP_PLUGIN_realloc, GOMP_PLUGIN_debug, GOMP_PLUGIN_error, | |
16068 | GOMP_PLUGIN_fatal, GOMP_PLUGIN_async_unmap_vars, | |
16069 | GOMP_PLUGIN_acc_thread. | |
16070 | * libgomp.texi: Update for OpenACC changes, and GOMP_DEBUG | |
16071 | environment variable. | |
16072 | * libgomp_g.h (GOACC_data_start, GOACC_data_end) | |
16073 | (GOACC_enter_exit_data, GOACC_parallel, GOACC_update, GOACC_wait) | |
16074 | (GOACC_get_num_threads, GOACC_get_thread_num): New declarations. | |
16075 | * splay-tree.h (splay_tree_lookup, splay_tree_insert) | |
16076 | (splay_tree_remove): New declarations. | |
16077 | (rotate_left, rotate_right, splay_tree_splay, splay_tree_insert) | |
16078 | (splay_tree_remove, splay_tree_lookup): Move into... | |
16079 | * splay-tree.c: ... this new file. | |
16080 | * target.c: Include "oacc-plugin.h", "oacc-int.h", <assert.h>. | |
16081 | (splay_tree_node, splay_tree, splay_tree_key) | |
16082 | (struct target_mem_desc, struct splay_tree_key_s) | |
16083 | (struct gomp_device_descr): Don't declare. | |
16084 | (num_devices_openmp): New variable. | |
16085 | (gomp_get_num_devices ): Use it. | |
16086 | (gomp_init_targets_once): New function. | |
16087 | (gomp_get_num_devices ): Use it. | |
16088 | (get_kind, gomp_copy_from_async, gomp_free_memmap) | |
16089 | (gomp_fini_device, gomp_register_image_for_device): New functions. | |
16090 | (gomp_map_vars): Add devaddrs parameter. | |
16091 | (gomp_update): Add mm parameter. | |
16092 | (gomp_init_device): Move most of it into... | |
16093 | (gomp_init_tables): ... this new function. | |
16094 | (gomp_register_images_for_device): Remove function. | |
16095 | (splay_compare, gomp_map_vars, gomp_unmap_vars, gomp_init_device): | |
16096 | Make them hidden instead of static. | |
16097 | (gomp_map_vars_existing, gomp_map_vars, gomp_unmap_vars) | |
16098 | (gomp_update, gomp_init_device, GOMP_target, GOMP_target_data) | |
16099 | (GOMP_target_end_data, GOMP_target_update) | |
16100 | (gomp_load_plugin_for_device, gomp_target_init): Update for | |
16101 | OpenACC changes. | |
16102 | * oacc-async.c: New file. | |
16103 | * oacc-cuda.c: Likewise. | |
16104 | * oacc-host.c: Likewise. | |
16105 | * oacc-init.c: Likewise. | |
16106 | * oacc-int.h: Likewise. | |
16107 | * oacc-mem.c: Likewise. | |
16108 | * oacc-parallel.c: Likewise. | |
16109 | * oacc-plugin.c: Likewise. | |
16110 | * oacc-plugin.h: Likewise. | |
16111 | * oacc-ptx.h: Likewise. | |
16112 | * openacc.f90: Likewise. | |
16113 | * openacc.h: Likewise. | |
16114 | * openacc_lib.h: Likewise. | |
16115 | * plugin/plugin-host.c: Likewise. | |
16116 | * plugin/plugin-nvptx.c: Likewise. | |
16117 | * libgomp-plugin.c: Likewise. | |
16118 | * libgomp-plugin.h: Likewise. | |
16119 | * libgomp_target.h: Remove file after merging content into the | |
16120 | former file. Update all users. | |
16121 | * testsuite/lib/libgomp.exp: Load libgomp-test-support.exp. | |
16122 | (offload_targets_s, offload_targets_s_openacc): New variables. | |
16123 | (check_effective_target_openacc_nvidia_accel_present) | |
16124 | (check_effective_target_openacc_nvidia_accel_selected): New | |
16125 | procedures. | |
16126 | (libgomp_init): Update for OpenACC changes. | |
16127 | * testsuite/libgomp-test-support.exp.in: New file. | |
16128 | * testsuite/libgomp.oacc-c++/c++.exp: Likewise. | |
16129 | * testsuite/libgomp.oacc-c/c.exp: Likewise. | |
16130 | * testsuite/libgomp.oacc-fortran/fortran.exp: Likewise. | |
16131 | * testsuite/libgomp.oacc-c-c++-common/abort-1.c: Likewise. | |
16132 | * testsuite/libgomp.oacc-c-c++-common/abort-2.c: Likewise. | |
16133 | * testsuite/libgomp.oacc-c-c++-common/abort-3.c: Likewise. | |
16134 | * testsuite/libgomp.oacc-c-c++-common/abort-4.c: Likewise. | |
16135 | * testsuite/libgomp.oacc-c-c++-common/acc_on_device-1.c: Likewise. | |
16136 | * testsuite/libgomp.oacc-c-c++-common/asyncwait-1.c: Likewise. | |
16137 | * testsuite/libgomp.oacc-c-c++-common/cache-1.c: Likewise. | |
16138 | * testsuite/libgomp.oacc-c-c++-common/clauses-1.c: Likewise. | |
16139 | * testsuite/libgomp.oacc-c-c++-common/clauses-2.c: Likewise. | |
16140 | * testsuite/libgomp.oacc-c-c++-common/collapse-1.c: Likewise. | |
16141 | * testsuite/libgomp.oacc-c-c++-common/collapse-2.c: Likewise. | |
16142 | * testsuite/libgomp.oacc-c-c++-common/collapse-3.c: Likewise. | |
16143 | * testsuite/libgomp.oacc-c-c++-common/collapse-4.c: Likewise. | |
16144 | * testsuite/libgomp.oacc-c-c++-common/context-1.c: Likewise. | |
16145 | * testsuite/libgomp.oacc-c-c++-common/context-2.c: Likewise. | |
16146 | * testsuite/libgomp.oacc-c-c++-common/context-3.c: Likewise. | |
16147 | * testsuite/libgomp.oacc-c-c++-common/context-4.c: Likewise. | |
16148 | * testsuite/libgomp.oacc-c-c++-common/data-1.c: Likewise. | |
16149 | * testsuite/libgomp.oacc-c-c++-common/data-2.c: Likewise. | |
16150 | * testsuite/libgomp.oacc-c-c++-common/data-3.c: Likewise. | |
16151 | * testsuite/libgomp.oacc-c-c++-common/data-already-1.c: Likewise. | |
16152 | * testsuite/libgomp.oacc-c-c++-common/data-already-2.c: Likewise. | |
16153 | * testsuite/libgomp.oacc-c-c++-common/data-already-3.c: Likewise. | |
16154 | * testsuite/libgomp.oacc-c-c++-common/data-already-4.c: Likewise. | |
16155 | * testsuite/libgomp.oacc-c-c++-common/data-already-5.c: Likewise. | |
16156 | * testsuite/libgomp.oacc-c-c++-common/data-already-6.c: Likewise. | |
16157 | * testsuite/libgomp.oacc-c-c++-common/data-already-7.c: Likewise. | |
16158 | * testsuite/libgomp.oacc-c-c++-common/data-already-8.c: Likewise. | |
16159 | * testsuite/libgomp.oacc-c-c++-common/deviceptr-1.c: Likewise. | |
16160 | * testsuite/libgomp.oacc-c-c++-common/if-1.c: Likewise. | |
16161 | * testsuite/libgomp.oacc-c-c++-common/kernels-1.c: Likewise. | |
16162 | * testsuite/libgomp.oacc-c-c++-common/kernels-empty.c: Likewise. | |
16163 | * testsuite/libgomp.oacc-c-c++-common/lib-1.c: Likewise. | |
16164 | * testsuite/libgomp.oacc-c-c++-common/lib-10.c: Likewise. | |
16165 | * testsuite/libgomp.oacc-c-c++-common/lib-11.c: Likewise. | |
16166 | * testsuite/libgomp.oacc-c-c++-common/lib-12.c: Likewise. | |
16167 | * testsuite/libgomp.oacc-c-c++-common/lib-13.c: Likewise. | |
16168 | * testsuite/libgomp.oacc-c-c++-common/lib-14.c: Likewise. | |
16169 | * testsuite/libgomp.oacc-c-c++-common/lib-15.c: Likewise. | |
16170 | * testsuite/libgomp.oacc-c-c++-common/lib-16.c: Likewise. | |
16171 | * testsuite/libgomp.oacc-c-c++-common/lib-17.c: Likewise. | |
16172 | * testsuite/libgomp.oacc-c-c++-common/lib-18.c: Likewise. | |
16173 | * testsuite/libgomp.oacc-c-c++-common/lib-19.c: Likewise. | |
16174 | * testsuite/libgomp.oacc-c-c++-common/lib-2.c: Likewise. | |
16175 | * testsuite/libgomp.oacc-c-c++-common/lib-20.c: Likewise. | |
16176 | * testsuite/libgomp.oacc-c-c++-common/lib-21.c: Likewise. | |
16177 | * testsuite/libgomp.oacc-c-c++-common/lib-22.c: Likewise. | |
16178 | * testsuite/libgomp.oacc-c-c++-common/lib-23.c: Likewise. | |
16179 | * testsuite/libgomp.oacc-c-c++-common/lib-24.c: Likewise. | |
16180 | * testsuite/libgomp.oacc-c-c++-common/lib-25.c: Likewise. | |
16181 | * testsuite/libgomp.oacc-c-c++-common/lib-26.c: Likewise. | |
16182 | * testsuite/libgomp.oacc-c-c++-common/lib-27.c: Likewise. | |
16183 | * testsuite/libgomp.oacc-c-c++-common/lib-28.c: Likewise. | |
16184 | * testsuite/libgomp.oacc-c-c++-common/lib-29.c: Likewise. | |
16185 | * testsuite/libgomp.oacc-c-c++-common/lib-3.c: Likewise. | |
16186 | * testsuite/libgomp.oacc-c-c++-common/lib-30.c: Likewise. | |
16187 | * testsuite/libgomp.oacc-c-c++-common/lib-31.c: Likewise. | |
16188 | * testsuite/libgomp.oacc-c-c++-common/lib-32.c: Likewise. | |
16189 | * testsuite/libgomp.oacc-c-c++-common/lib-33.c: Likewise. | |
16190 | * testsuite/libgomp.oacc-c-c++-common/lib-34.c: Likewise. | |
16191 | * testsuite/libgomp.oacc-c-c++-common/lib-35.c: Likewise. | |
16192 | * testsuite/libgomp.oacc-c-c++-common/lib-36.c: Likewise. | |
16193 | * testsuite/libgomp.oacc-c-c++-common/lib-37.c: Likewise. | |
16194 | * testsuite/libgomp.oacc-c-c++-common/lib-38.c: Likewise. | |
16195 | * testsuite/libgomp.oacc-c-c++-common/lib-39.c: Likewise. | |
16196 | * testsuite/libgomp.oacc-c-c++-common/lib-4.c: Likewise. | |
16197 | * testsuite/libgomp.oacc-c-c++-common/lib-40.c: Likewise. | |
16198 | * testsuite/libgomp.oacc-c-c++-common/lib-41.c: Likewise. | |
16199 | * testsuite/libgomp.oacc-c-c++-common/lib-42.c: Likewise. | |
16200 | * testsuite/libgomp.oacc-c-c++-common/lib-43.c: Likewise. | |
16201 | * testsuite/libgomp.oacc-c-c++-common/lib-44.c: Likewise. | |
16202 | * testsuite/libgomp.oacc-c-c++-common/lib-45.c: Likewise. | |
16203 | * testsuite/libgomp.oacc-c-c++-common/lib-46.c: Likewise. | |
16204 | * testsuite/libgomp.oacc-c-c++-common/lib-47.c: Likewise. | |
16205 | * testsuite/libgomp.oacc-c-c++-common/lib-48.c: Likewise. | |
16206 | * testsuite/libgomp.oacc-c-c++-common/lib-49.c: Likewise. | |
16207 | * testsuite/libgomp.oacc-c-c++-common/lib-5.c: Likewise. | |
16208 | * testsuite/libgomp.oacc-c-c++-common/lib-50.c: Likewise. | |
16209 | * testsuite/libgomp.oacc-c-c++-common/lib-51.c: Likewise. | |
16210 | * testsuite/libgomp.oacc-c-c++-common/lib-52.c: Likewise. | |
16211 | * testsuite/libgomp.oacc-c-c++-common/lib-53.c: Likewise. | |
16212 | * testsuite/libgomp.oacc-c-c++-common/lib-54.c: Likewise. | |
16213 | * testsuite/libgomp.oacc-c-c++-common/lib-55.c: Likewise. | |
16214 | * testsuite/libgomp.oacc-c-c++-common/lib-56.c: Likewise. | |
16215 | * testsuite/libgomp.oacc-c-c++-common/lib-57.c: Likewise. | |
16216 | * testsuite/libgomp.oacc-c-c++-common/lib-58.c: Likewise. | |
16217 | * testsuite/libgomp.oacc-c-c++-common/lib-59.c: Likewise. | |
16218 | * testsuite/libgomp.oacc-c-c++-common/lib-6.c: Likewise. | |
16219 | * testsuite/libgomp.oacc-c-c++-common/lib-60.c: Likewise. | |
16220 | * testsuite/libgomp.oacc-c-c++-common/lib-61.c: Likewise. | |
16221 | * testsuite/libgomp.oacc-c-c++-common/lib-62.c: Likewise. | |
16222 | * testsuite/libgomp.oacc-c-c++-common/lib-63.c: Likewise. | |
16223 | * testsuite/libgomp.oacc-c-c++-common/lib-64.c: Likewise. | |
16224 | * testsuite/libgomp.oacc-c-c++-common/lib-65.c: Likewise. | |
16225 | * testsuite/libgomp.oacc-c-c++-common/lib-66.c: Likewise. | |
16226 | * testsuite/libgomp.oacc-c-c++-common/lib-67.c: Likewise. | |
16227 | * testsuite/libgomp.oacc-c-c++-common/lib-68.c: Likewise. | |
16228 | * testsuite/libgomp.oacc-c-c++-common/lib-69.c: Likewise. | |
16229 | * testsuite/libgomp.oacc-c-c++-common/lib-7.c: Likewise. | |
16230 | * testsuite/libgomp.oacc-c-c++-common/lib-70.c: Likewise. | |
16231 | * testsuite/libgomp.oacc-c-c++-common/lib-71.c: Likewise. | |
16232 | * testsuite/libgomp.oacc-c-c++-common/lib-72.c: Likewise. | |
16233 | * testsuite/libgomp.oacc-c-c++-common/lib-73.c: Likewise. | |
16234 | * testsuite/libgomp.oacc-c-c++-common/lib-74.c: Likewise. | |
16235 | * testsuite/libgomp.oacc-c-c++-common/lib-75.c: Likewise. | |
16236 | * testsuite/libgomp.oacc-c-c++-common/lib-76.c: Likewise. | |
16237 | * testsuite/libgomp.oacc-c-c++-common/lib-77.c: Likewise. | |
16238 | * testsuite/libgomp.oacc-c-c++-common/lib-78.c: Likewise. | |
16239 | * testsuite/libgomp.oacc-c-c++-common/lib-79.c: Likewise. | |
16240 | * testsuite/libgomp.oacc-c-c++-common/lib-80.c: Likewise. | |
16241 | * testsuite/libgomp.oacc-c-c++-common/lib-81.c: Likewise. | |
16242 | * testsuite/libgomp.oacc-c-c++-common/lib-82.c: Likewise. | |
16243 | * testsuite/libgomp.oacc-c-c++-common/lib-83.c: Likewise. | |
16244 | * testsuite/libgomp.oacc-c-c++-common/lib-84.c: Likewise. | |
16245 | * testsuite/libgomp.oacc-c-c++-common/lib-85.c: Likewise. | |
16246 | * testsuite/libgomp.oacc-c-c++-common/lib-86.c: Likewise. | |
16247 | * testsuite/libgomp.oacc-c-c++-common/lib-87.c: Likewise. | |
16248 | * testsuite/libgomp.oacc-c-c++-common/lib-88.c: Likewise. | |
16249 | * testsuite/libgomp.oacc-c-c++-common/lib-89.c: Likewise. | |
16250 | * testsuite/libgomp.oacc-c-c++-common/lib-9.c: Likewise. | |
16251 | * testsuite/libgomp.oacc-c-c++-common/lib-90.c: Likewise. | |
16252 | * testsuite/libgomp.oacc-c-c++-common/lib-91.c: Likewise. | |
16253 | * testsuite/libgomp.oacc-c-c++-common/lib-92.c: Likewise. | |
16254 | * testsuite/libgomp.oacc-c-c++-common/nested-1.c: Likewise. | |
16255 | * testsuite/libgomp.oacc-c-c++-common/nested-2.c: Likewise. | |
16256 | * testsuite/libgomp.oacc-c-c++-common/offset-1.c: Likewise. | |
16257 | * testsuite/libgomp.oacc-c-c++-common/parallel-1.c: Likewise. | |
16258 | * testsuite/libgomp.oacc-c-c++-common/parallel-empty.c: Likewise. | |
16259 | * testsuite/libgomp.oacc-c-c++-common/pointer-align-1.c: Likewise. | |
16260 | * testsuite/libgomp.oacc-c-c++-common/present-1.c: Likewise. | |
16261 | * testsuite/libgomp.oacc-c-c++-common/present-2.c: Likewise. | |
16262 | * testsuite/libgomp.oacc-c-c++-common/reduction-1.c: Likewise. | |
16263 | * testsuite/libgomp.oacc-c-c++-common/reduction-2.c: Likewise. | |
16264 | * testsuite/libgomp.oacc-c-c++-common/reduction-3.c: Likewise. | |
16265 | * testsuite/libgomp.oacc-c-c++-common/reduction-4.c: Likewise. | |
16266 | * testsuite/libgomp.oacc-c-c++-common/reduction-5.c: Likewise. | |
16267 | * testsuite/libgomp.oacc-c-c++-common/reduction-initial-1.c: | |
16268 | Likewise. | |
16269 | * testsuite/libgomp.oacc-c-c++-common/subr.h: Likewise. | |
16270 | * testsuite/libgomp.oacc-c-c++-common/subr.ptx: Likewise. | |
16271 | * testsuite/libgomp.oacc-c-c++-common/timer.h: Likewise. | |
16272 | * testsuite/libgomp.oacc-c-c++-common/update-1-2.c: Likewise. | |
16273 | * testsuite/libgomp.oacc-c-c++-common/update-1.c: Likewise. | |
16274 | * testsuite/libgomp.oacc-fortran/abort-1.f90: Likewise. | |
16275 | * testsuite/libgomp.oacc-fortran/abort-2.f90: Likewise. | |
16276 | * testsuite/libgomp.oacc-fortran/acc_on_device-1-1.f90: Likewise. | |
16277 | * testsuite/libgomp.oacc-fortran/acc_on_device-1-2.f: Likewise. | |
16278 | * testsuite/libgomp.oacc-fortran/acc_on_device-1-3.f: Likewise. | |
16279 | * testsuite/libgomp.oacc-fortran/asyncwait-1.f90: Likewise. | |
16280 | * testsuite/libgomp.oacc-fortran/asyncwait-2.f90: Likewise. | |
16281 | * testsuite/libgomp.oacc-fortran/asyncwait-3.f90: Likewise. | |
16282 | * testsuite/libgomp.oacc-fortran/collapse-1.f90: Likewise. | |
16283 | * testsuite/libgomp.oacc-fortran/collapse-2.f90: Likewise. | |
16284 | * testsuite/libgomp.oacc-fortran/collapse-3.f90: Likewise. | |
16285 | * testsuite/libgomp.oacc-fortran/collapse-4.f90: Likewise. | |
16286 | * testsuite/libgomp.oacc-fortran/collapse-5.f90: Likewise. | |
16287 | * testsuite/libgomp.oacc-fortran/collapse-6.f90: Likewise. | |
16288 | * testsuite/libgomp.oacc-fortran/collapse-7.f90: Likewise. | |
16289 | * testsuite/libgomp.oacc-fortran/collapse-8.f90: Likewise. | |
16290 | * testsuite/libgomp.oacc-fortran/data-1.f90: Likewise. | |
16291 | * testsuite/libgomp.oacc-fortran/data-2.f90: Likewise. | |
16292 | * testsuite/libgomp.oacc-fortran/data-3.f90: Likewise. | |
16293 | * testsuite/libgomp.oacc-fortran/data-4-2.f90: Likewise. | |
16294 | * testsuite/libgomp.oacc-fortran/data-4.f90: Likewise. | |
16295 | * testsuite/libgomp.oacc-fortran/data-already-1.f: Likewise. | |
16296 | * testsuite/libgomp.oacc-fortran/data-already-2.f: Likewise. | |
16297 | * testsuite/libgomp.oacc-fortran/data-already-3.f: Likewise. | |
16298 | * testsuite/libgomp.oacc-fortran/data-already-4.f: Likewise. | |
16299 | * testsuite/libgomp.oacc-fortran/data-already-5.f: Likewise. | |
16300 | * testsuite/libgomp.oacc-fortran/data-already-6.f: Likewise. | |
16301 | * testsuite/libgomp.oacc-fortran/data-already-7.f: Likewise. | |
16302 | * testsuite/libgomp.oacc-fortran/data-already-8.f: Likewise. | |
16303 | * testsuite/libgomp.oacc-fortran/lib-1.f90: Likewise. | |
16304 | * testsuite/libgomp.oacc-fortran/lib-10.f90: Likewise. | |
16305 | * testsuite/libgomp.oacc-fortran/lib-2.f: Likewise. | |
16306 | * testsuite/libgomp.oacc-fortran/lib-3.f: Likewise. | |
16307 | * testsuite/libgomp.oacc-fortran/lib-4.f90: Likewise. | |
16308 | * testsuite/libgomp.oacc-fortran/lib-5.f90: Likewise. | |
16309 | * testsuite/libgomp.oacc-fortran/lib-6.f90: Likewise. | |
16310 | * testsuite/libgomp.oacc-fortran/lib-7.f90: Likewise. | |
16311 | * testsuite/libgomp.oacc-fortran/lib-8.f90: Likewise. | |
16312 | * testsuite/libgomp.oacc-fortran/map-1.f90: Likewise. | |
16313 | * testsuite/libgomp.oacc-fortran/openacc_version-1.f: Likewise. | |
16314 | * testsuite/libgomp.oacc-fortran/openacc_version-2.f90: Likewise. | |
16315 | * testsuite/libgomp.oacc-fortran/pointer-align-1.f90: Likewise. | |
16316 | * testsuite/libgomp.oacc-fortran/pset-1.f90: Likewise. | |
16317 | * testsuite/libgomp.oacc-fortran/reduction-1.f90: Likewise. | |
16318 | * testsuite/libgomp.oacc-fortran/reduction-2.f90: Likewise. | |
16319 | * testsuite/libgomp.oacc-fortran/reduction-3.f90: Likewise. | |
16320 | * testsuite/libgomp.oacc-fortran/reduction-4.f90: Likewise. | |
16321 | * testsuite/libgomp.oacc-fortran/reduction-5.f90: Likewise. | |
16322 | * testsuite/libgomp.oacc-fortran/reduction-6.f90: Likewise. | |
16323 | * testsuite/libgomp.oacc-fortran/routine-1.f90: Likewise. | |
16324 | * testsuite/libgomp.oacc-fortran/routine-2.f90: Likewise. | |
16325 | * testsuite/libgomp.oacc-fortran/routine-3.f90: Likewise. | |
16326 | * testsuite/libgomp.oacc-fortran/routine-4.f90: Likewise. | |
16327 | * testsuite/libgomp.oacc-fortran/subarrays-1.f90: Likewise. | |
16328 | * testsuite/libgomp.oacc-fortran/subarrays-2.f90: Likewise. | |
16329 | ||
f1f3453e TS |
16330 | 2015-01-10 Thomas Schwinge <thomas@codesourcery.com> |
16331 | Julian Brown <julian@codesourcery.com> | |
16332 | David Malcolm <dmalcolm@redhat.com> | |
16333 | ||
16334 | * configure.ac: Rename libgomp from "GNU OpenMP Runtime Library" | |
16335 | to "GNU Offloading and Multi Processing Runtime Library". Change | |
16336 | all users. | |
16337 | * configure: Regenerate. | |
16338 | * libgomp.texi: Update. | |
16339 | ||
f9a0eca4 TS |
16340 | 2015-01-08 Thomas Schwinge <thomas@codesourcery.com> |
16341 | ||
b335ef4e TS |
16342 | * configure.ac [tgt_dir] (offload_additional_lib_paths): Also add |
16343 | "$tgt_dir/lib32". | |
16344 | * configure: Regenerate. | |
16345 | ||
f9a0eca4 TS |
16346 | * testsuite/lib/libgomp.exp (libgomp_init): Correctly match |
16347 | "intelmic" in $offload_targets. | |
16348 | ||
b67cd4e3 JJ |
16349 | 2015-01-05 Jakub Jelinek <jakub@redhat.com> |
16350 | ||
5624e564 JJ |
16351 | Update copyright years. |
16352 | ||
b67cd4e3 JJ |
16353 | * libgomp.texi: Bump @copying's copyright year. |
16354 | ||
3b41b583 KT |
16355 | 2014-12-12 Kyrylo Tkachov <kyrylo.tkachov@arm.com> |
16356 | ||
16357 | * testsuite/lib/libgomp.exp: Load target-utils.exp. | |
93d90219 | 16358 | Move load of target-supports.exp earlier. |
3b41b583 | 16359 | |
2354caec IV |
16360 | 2014-12-10 Ilya Verbin <ilya.verbin@intel.com> |
16361 | ||
16362 | * testsuite/libgomp.c/target-9.c: New test. | |
16363 | ||
f50eecba VR |
16364 | 2014-12-09 Varvara Rainchik <varvara.rainchik@intel.com> |
16365 | ||
16366 | * config.h.in: Regenerate. | |
16367 | * configure: Regenerate. | |
16368 | * configure.ac: Add GCC_CHECK_EMUTLS. | |
16369 | * libgomp.h: Add check for USE_EMUTLS: this case | |
16370 | is equal to HAVE_TLS. | |
16371 | * team.c: Likewise. | |
16372 | ||
68bc9270 UB |
16373 | 2014-12-03 Uros Bizjak <ubizjak@gmail.com> |
16374 | ||
16375 | * configure.tgt (x86_64-*-linux*): Tune -m32 multilib to generic. | |
16376 | ||
476ff787 AT |
16377 | 2014-11-28 Andrey Turetskiy <andrey.turetskiy@intel.com> |
16378 | Ilya Verbin <ilya.verbin@intel.com> | |
16379 | ||
16380 | * testsuite/libgomp.c/target-critical-1.c: New test. | |
16381 | ||
31a30e62 JJ |
16382 | 2014-11-26 Jakub Jelinek <jakub@redhat.com> |
16383 | ||
16384 | * testsuite/libgomp.c/examples-4/e.53.4.c: Add -DITESTITERS=20 | |
68bc9270 | 16385 | to dg-options unless expensive testing is on. |
31a30e62 JJ |
16386 | (TESTITERS): Define to N if not defined. |
16387 | (main): Use TESTITERS instead of N. | |
16388 | * testsuite/libgomp.c/examples-4/e.55.1.c: Define CHUNKSZ from | |
16389 | dg-additional-options depending on whether expensive testing is on. | |
16390 | * testsuite/libgomp.fortran/examples-4/e.55.1.f90 (e_55_1_mod): | |
16391 | Decrease N to 100000 and CHUNKSZ to 10000. | |
16392 | ||
3f9e8f13 JJ |
16393 | 2014-11-24 Jakub Jelinek <jakub@redhat.com> |
16394 | ||
16395 | PR fortran/63938 | |
31a30e62 JJ |
16396 | * testsuite/libgomp.fortran/pr63938-1.f90: New test. |
16397 | * testsuite/libgomp.fortran/pr63938-2.f90: New test. | |
3f9e8f13 | 16398 | |
c8451a46 SE |
16399 | 2014-11-21 Steve Ellcey <sellcey@imgtec.com> |
16400 | ||
16401 | * config/linux/mips/futex.h (SYS_futex): Define if not already done. | |
16402 | ||
a699d672 L |
16403 | 2014-11-21 H.J. Lu <hongjiu.lu@intel.com> |
16404 | ||
16405 | PR bootstrap/63784 | |
16406 | * configure: Regenerated. | |
16407 | ||
4a19f719 UB |
16408 | 2014-11-19 Uros Bizjak <ubizjak@gmail.com> |
16409 | ||
16410 | * testsuite/libgomp.c/examples-4/e.53.5.c: Require | |
16411 | vect_simd_clones effective target. | |
16412 | * testsuite/libgomp.fortran/examples-4/e.53.5.f90: Ditto. | |
16413 | ||
b1bf6c52 JJ |
16414 | 2014-11-14 Jakub Jelinek <jakub@redhat.com> |
16415 | ||
16416 | * libgomp.c/examples-4/e.54.2.c (main): Use N / 8 instead | |
16417 | of 32 as block_size. | |
16418 | * libgomp.fortran/examples-4/e.54.2.f90 (e_54_1): Use n / 8 | |
16419 | instead of 32 as block_size. | |
16420 | ||
d64ae614 AT |
16421 | 2014-11-13 Andrey Turetskiy <andrey.turetskiy@intel.com> |
16422 | Ilya Verbin <ilya.verbin@intel.com> | |
16423 | ||
16424 | * Makefile.in: Regenerate. | |
16425 | * configure: Regenerate. | |
16426 | * configure.ac: Set up offload_additional_options, | |
16427 | offload_additional_lib_paths and offload_targets. | |
16428 | * testsuite/Makefile.am: Export environment variables: OFFLOAD_TARGETS, | |
16429 | OFFLOAD_ADDITIONAL_OPTIONS, OFFLOAD_ADDITIONAL_LIB_PATHS. | |
16430 | * testsuite/Makefile.in: Regenerate. | |
16431 | * testsuite/lib/libgomp.exp (libgomp_init): Append | |
16432 | offload_additional_lib_paths to LD_LIBRARY_PATH. Append | |
16433 | offload_additional_options to ALWAYS_CFLAGS. Append liboffloadmic | |
16434 | build directory to LD_LIBRARY_PATH for intelmic offload targets. | |
16435 | ||
122d7303 AT |
16436 | 2014-11-13 Andrey Turetskiy <andrey.turetskiy@intel.com> |
16437 | Ilya Verbin <ilya.verbin@intel.com> | |
16438 | Kirill Yukhin <kirill.yukhin@intel.com> | |
16439 | Ilya Tocar <ilya.tocar@intel.com> | |
16440 | ||
16441 | * testsuite/lib/libgomp.exp | |
16442 | (check_effective_target_offload_device): New. | |
16443 | * testsuite/libgomp.c++/c++.exp: Include tests from subdirectories. | |
16444 | * testsuite/libgomp.c++/examples-4/e.51.5.C: New test. | |
16445 | * testsuite/libgomp.c++/examples-4/e.53.2.C: Ditto. | |
16446 | * testsuite/libgomp.c/examples-4/e.50.1.c: Ditto. | |
16447 | * testsuite/libgomp.c/examples-4/e.50.2.c: Ditto. | |
16448 | * testsuite/libgomp.c/examples-4/e.50.3.c: Ditto. | |
16449 | * testsuite/libgomp.c/examples-4/e.50.4.c: Ditto. | |
16450 | * testsuite/libgomp.c/examples-4/e.50.5.c: Ditto. | |
16451 | * testsuite/libgomp.c/examples-4/e.51.1.c: Ditto. | |
16452 | * testsuite/libgomp.c/examples-4/e.51.2.c: Ditto. | |
16453 | * testsuite/libgomp.c/examples-4/e.51.3.c: Ditto. | |
16454 | * testsuite/libgomp.c/examples-4/e.51.4.c: Ditto. | |
16455 | * testsuite/libgomp.c/examples-4/e.51.6.c: Ditto. | |
16456 | * testsuite/libgomp.c/examples-4/e.51.7.c: Ditto. | |
16457 | * testsuite/libgomp.c/examples-4/e.52.1.c: Ditto. | |
16458 | * testsuite/libgomp.c/examples-4/e.52.2.c: Ditto. | |
16459 | * testsuite/libgomp.c/examples-4/e.53.1.c: Ditto. | |
16460 | * testsuite/libgomp.c/examples-4/e.53.3.c: Ditto. | |
16461 | * testsuite/libgomp.c/examples-4/e.53.4.c: Ditto. | |
16462 | * testsuite/libgomp.c/examples-4/e.53.5.c: Ditto. | |
16463 | * testsuite/libgomp.c/examples-4/e.54.2.c: Ditto. | |
16464 | * testsuite/libgomp.c/examples-4/e.54.3.c: Ditto. | |
16465 | * testsuite/libgomp.c/examples-4/e.54.4.c: Ditto. | |
16466 | * testsuite/libgomp.c/examples-4/e.54.5.c: Ditto. | |
16467 | * testsuite/libgomp.c/examples-4/e.54.6.c: Ditto. | |
16468 | * testsuite/libgomp.c/examples-4/e.55.1.c: Ditto. | |
16469 | * testsuite/libgomp.c/examples-4/e.55.2.c: Ditto. | |
16470 | * testsuite/libgomp.c/examples-4/e.56.3.c: Ditto. | |
16471 | * testsuite/libgomp.c/examples-4/e.56.4.c: Ditto. | |
16472 | * testsuite/libgomp.c/examples-4/e.57.1.c: Ditto. | |
16473 | * testsuite/libgomp.c/examples-4/e.57.2.c: Ditto. | |
16474 | * testsuite/libgomp.c/examples-4/e.57.3.c: Ditto. | |
16475 | * testsuite/libgomp.c/target-7.c: Fix test. | |
16476 | * testsuite/libgomp.fortran/examples-4/e.50.1.f90: New test. | |
16477 | * testsuite/libgomp.fortran/examples-4/e.50.2.f90: Ditto. | |
16478 | * testsuite/libgomp.fortran/examples-4/e.50.3.f90: Ditto. | |
16479 | * testsuite/libgomp.fortran/examples-4/e.50.4.f90: Ditto. | |
16480 | * testsuite/libgomp.fortran/examples-4/e.50.5.f90: Ditto. | |
16481 | * testsuite/libgomp.fortran/examples-4/e.51.1.f90: Ditto. | |
16482 | * testsuite/libgomp.fortran/examples-4/e.51.2.f90: Ditto. | |
16483 | * testsuite/libgomp.fortran/examples-4/e.51.3.f90: Ditto. | |
16484 | * testsuite/libgomp.fortran/examples-4/e.51.4.f90: Ditto. | |
16485 | * testsuite/libgomp.fortran/examples-4/e.51.5.f90: Ditto. | |
16486 | * testsuite/libgomp.fortran/examples-4/e.51.6.f90: Ditto. | |
16487 | * testsuite/libgomp.fortran/examples-4/e.51.7.f90: Ditto. | |
16488 | * testsuite/libgomp.fortran/examples-4/e.52.1.f90: Ditto. | |
16489 | * testsuite/libgomp.fortran/examples-4/e.52.2.f90: Ditto. | |
16490 | * testsuite/libgomp.fortran/examples-4/e.53.1.f90: Ditto. | |
16491 | * testsuite/libgomp.fortran/examples-4/e.53.2.f90: Ditto. | |
16492 | * testsuite/libgomp.fortran/examples-4/e.53.3.f90: Ditto. | |
16493 | * testsuite/libgomp.fortran/examples-4/e.53.4.f90: Ditto. | |
16494 | * testsuite/libgomp.fortran/examples-4/e.53.5.f90: Ditto. | |
16495 | * testsuite/libgomp.fortran/examples-4/e.54.2.f90: Ditto. | |
16496 | * testsuite/libgomp.fortran/examples-4/e.54.3.f90: Ditto. | |
16497 | * testsuite/libgomp.fortran/examples-4/e.54.4.f90: Ditto. | |
16498 | * testsuite/libgomp.fortran/examples-4/e.54.5.f90: Ditto. | |
16499 | * testsuite/libgomp.fortran/examples-4/e.54.6.f90: Ditto. | |
16500 | * testsuite/libgomp.fortran/examples-4/e.55.1.f90: Ditto. | |
16501 | * testsuite/libgomp.fortran/examples-4/e.55.2.f90: Ditto. | |
16502 | * testsuite/libgomp.fortran/examples-4/e.56.3.f90: Ditto. | |
16503 | * testsuite/libgomp.fortran/examples-4/e.56.4.f90: Ditto. | |
16504 | * testsuite/libgomp.fortran/examples-4/e.57.1.f90: Ditto. | |
16505 | * testsuite/libgomp.fortran/examples-4/e.57.2.f90: Ditto. | |
16506 | * testsuite/libgomp.fortran/examples-4/e.57.3.f90: Ditto. | |
16507 | ||
1df3f842 JJ |
16508 | 2014-11-13 Jakub Jelinek <jakub@redhat.com> |
16509 | Ilya Verbin <ilya.verbin@intel.com> | |
16510 | Thomas Schwinge <thomas@codesourcery.com> | |
16511 | Andrey Turetskiy <andrey.turetskiy@intel.com> | |
16512 | ||
16513 | * libgomp.map (GOMP_4.0.1): New symbol version. | |
16514 | Add GOMP_offload_register. | |
16515 | * libgomp_target.h: New file. | |
16516 | * splay-tree.h: New file. | |
16517 | * target.c: Include config.h, libgomp_target.h, dlfcn.h, splay-tree.h. | |
16518 | (gomp_target_init): New forward declaration. | |
16519 | (gomp_is_initialized): New static variable. | |
16520 | (splay_tree_node, splay_tree, splay_tree_key): New typedefs. | |
16521 | (struct target_mem_desc, struct splay_tree_key_s, offload_image_descr): | |
16522 | New structures. | |
16523 | (offload_images, num_offload_images, devices, num_devices): New static | |
16524 | variables. | |
16525 | (splay_compare): New static function. | |
16526 | (struct gomp_device_descr): New structure. | |
16527 | (gomp_get_num_devices): Call gomp_target_init. | |
16528 | (resolve_device, gomp_map_vars_existing, gomp_map_vars, gomp_unmap_tgt) | |
16529 | (gomp_unmap_vars, gomp_update, gomp_init_device): New static functions. | |
16530 | (GOMP_offload_register): New function. | |
16531 | (GOMP_target): Arrange for host callback to be performed in a separate | |
16532 | initial thread and contention group, inheriting ICVs from | |
16533 | gomp_global_icv etc. Call gomp_map_vars and gomp_unmap_vars. | |
16534 | Add device initialization and lookup for target function in splay tree. | |
16535 | (GOMP_target_data): Add device initialization and call gomp_map_vars. | |
16536 | (GOMP_target_end_data): Call gomp_unmap_vars. | |
16537 | (GOMP_target_update): Add device initialization and call gomp_update. | |
16538 | (gomp_load_plugin_for_device, gomp_register_images_for_device) | |
16539 | (gomp_target_init): New static functions. | |
16540 | ||
85c64bbe BS |
16541 | 2014-11-13 Bernd Schmidt <bernds@codesourcery.com> |
16542 | Thomas Schwinge <thomas@codesourcery.com> | |
16543 | Ilya Verbin <ilya.verbin@intel.com> | |
16544 | Andrey Turetskiy <andrey.turetskiy@intel.com> | |
16545 | ||
16546 | * config.h.in: Regenerate. | |
16547 | * configure: Regenerate. | |
16548 | * configure.ac: Check for libdl, required for plugin support. | |
16549 | (PLUGIN_SUPPORT): Define if plugins are supported. | |
16550 | (enable_offload_targets): Support Intel MIC targets. | |
16551 | (OFFLOAD_TARGETS): List of target names suitable for offloading. | |
16552 | ||
ebf6d33b FXC |
16553 | 2014-11-11 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org> |
16554 | ||
16555 | PR target/63610 | |
16556 | * configure: Regenerate. | |
16557 | ||
8c768629 RO |
16558 | 2014-11-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
16559 | ||
16560 | * config/posix/lock.c (_XOPEN_SOURCE) Define as 600. | |
16561 | ||
c1d62412 MP |
16562 | 2014-10-06 Marek Polacek <polacek@redhat.com> |
16563 | ||
16564 | * testsuite/libgomp.c/affinity-1.c: Include <sys/wait.h>. | |
16565 | * testsuite/libgomp.c/nqueens-1.c: Include <stdlib.h>. | |
16566 | * testsuite/libgomp.c/thread-limit-1.c: Include <omp.h> | |
16567 | * testsuite/libgomp.c/thread-limit-2.c: Likewise. | |
16568 | ||
44a0c6cb MP |
16569 | 2014-10-06 Marek Polacek <polacek@redhat.com> |
16570 | ||
16571 | * testsuite/libgomp.c/affinity-1.c: Fix implicit declarations. | |
16572 | * testsuite/libgomp.c/nqueens-1.c: Likewise. | |
16573 | * testsuite/libgomp.c/pr26943-3.c: Likewise. | |
16574 | * testsuite/libgomp.c/pr26943-4.c: Likewise. | |
16575 | * testsuite/libgomp.c/pr36802-2.c: Likewise. | |
16576 | * testsuite/libgomp.c/pr36802-3.c: Likewise. | |
16577 | * testsuite/libgomp.c/thread-limit-1.c: Likewise. | |
16578 | * testsuite/libgomp.c/thread-limit-2.c: Likewise. | |
16579 | * testsuite/libgomp.c/appendix-a/a.15.1.c: Include <omp.h>. | |
16580 | * testsuite/libgomp.c/omp-loop02.c: Fix defaulting to int. | |
16581 | * testsuite/libgomp.c/omp-parallel-for.c: Likewise. | |
16582 | * testsuite/libgomp.c/omp-parallel-if.c: Likewise. | |
16583 | * testsuite/libgomp.c/omp-single-1.c: Likewise. | |
16584 | * testsuite/libgomp.c/omp-single-2.c: Likewise. | |
16585 | * testsuite/libgomp.c/omp_matvec.c: Likewise. | |
16586 | * testsuite/libgomp.c/omp_workshare3.c: Likewise. | |
16587 | * testsuite/libgomp.c/omp_workshare4.c: Likewise. | |
16588 | * testsuite/libgomp.c/shared-1.c: Fix defaulting to int. Fix implicit | |
16589 | declarations. | |
16590 | ||
5771c391 JJ |
16591 | 2014-10-03 Jakub Jelinek <jakub@redhat.com> |
16592 | ||
16593 | PR libgomp/61200 | |
16594 | * testsuite/libgomp.c/pr61200.c: New test. | |
16595 | ||
bce16b88 JJ |
16596 | 2014-09-18 Jakub Jelinek <jakub@redhat.com> |
16597 | ||
16598 | PR c++/63248 | |
16599 | * testsuite/libgomp.c++/pr63248.C: New test. | |
16600 | ||
3696163c JJ |
16601 | 2014-08-04 Jakub Jelinek <jakub@redhat.com> |
16602 | ||
16603 | * task.c (GOMP_taskgroup_end): If taskgroup->num_children | |
16604 | is not zero, but taskgroup->children is NULL and there are | |
16605 | any task->children, schedule those instead of waiting. | |
16606 | * testsuite/libgomp.c/depend-6.c: New test. | |
16607 | * testsuite/libgomp.c/depend-7.c: New test. | |
16608 | * testsuite/libgomp.c/depend-8.c: New test. | |
16609 | * testsuite/libgomp.c/depend-9.c: New test. | |
16610 | * testsuite/libgomp.c/depend-10.c: New test. | |
16611 | ||
0494285a JJ |
16612 | 2014-08-01 Jakub Jelinek <jakub@redhat.com> |
16613 | ||
16614 | * libgomp.h (struct gomp_task_depend_entry): Add redundant_out field. | |
16615 | (struct gomp_taskwait): New type. | |
16616 | (struct gomp_task): Add taskwait and parent_depends_on, remove | |
16617 | in_taskwait and taskwait_sem fields. | |
16618 | (gomp_finish_task): Don't destroy taskwait_sem. | |
16619 | * task.c (gomp_init_task): Don't init in_taskwait, instead init | |
16620 | taskwait and parent_depends_on. | |
16621 | (GOMP_task): For if (0) tasks with depend clause that depend on | |
16622 | earlier tasks don't defer them, instead call | |
16623 | gomp_task_maybe_wait_for_dependencies to wait for the dependencies. | |
16624 | Initialize redundant_out field, for redundant out entries just | |
16625 | move them at the end of linked list instead of removing them | |
16626 | completely, and set redundant_out flag instead of redundant. | |
16627 | (gomp_task_run_pre): Update last_parent_depends_on if scheduling | |
16628 | that task. | |
16629 | (gomp_task_run_post_handle_dependers): If parent is in | |
16630 | gomp_task_maybe_wait_for_dependencies and newly runnable task | |
16631 | is not parent_depends_on, queue it in parent->children linked | |
16632 | list after all runnable tasks with parent_depends_on set. | |
16633 | Adjust for addition of taskwait indirection. | |
16634 | (gomp_task_run_post_remove_parent): If parent is in | |
16635 | gomp_task_maybe_wait_for_dependencies and task to be removed | |
16636 | is parent_depends_on, decrement n_depend and if needed awake | |
16637 | parent. Adjust for addition of taskwait indirection. | |
16638 | (GOMP_taskwait): Adjust for addition of taskwait indirection. | |
16639 | (gomp_task_maybe_wait_for_dependencies): New function. | |
16640 | * testsuite/libgomp.c/depend-5.c: New test. | |
16641 | ||
60ab4b44 TB |
16642 | 2014-07-13 Tobias Burnus <burnus@net-b.de> |
16643 | ||
16644 | * testsuite/libgomp.fortran/pr34020.f90: Make compile | |
0494285a | 16645 | with TS 18508/Fortran 2015. |
60ab4b44 | 16646 | |
773ec47f MP |
16647 | 2014-07-06 Marek Polacek <polacek@redhat.com> |
16648 | ||
16649 | PR c/6940 | |
16650 | * testsuite/libgomp.c/appendix-a/a.29.1.c (f): Add dg-warnings. | |
16651 | ||
f707da16 JJ |
16652 | 2014-07-03 Jakub Jelinek <jakub@redhat.com> |
16653 | ||
16654 | * testsuite/lib/libgomp.exp (libgomp_target_compile): If $source | |
16655 | matches regex $lang_source_re, add $lang_include_flags to options. | |
16656 | * testsuite/libgomp.c/c.exp: Unset lang_include_flags. | |
16657 | * testsuite/libgomp.c++/c++.exp: Likewise. | |
16658 | * testsuite/libgomp.fortran/fortran.exp: Likewise. Set lang_source_re | |
16659 | and lang_include_flags instead of adding -fintrinsic-modules-path= to | |
16660 | ALWAYS_CFLAGS. | |
16661 | * testsuite/libgomp.graphite/graphite.exp: Unset lang_include_flags. | |
16662 | ||
07b6c044 TS |
16663 | 2014-07-03 Thomas Schwinge <thomas@codesourcery.com> |
16664 | ||
16665 | * testsuite/libgomp.fortran/fortran.exp: Explain | |
16666 | gfortran-dg-runtest usage. | |
16667 | ||
da6f124d JJ |
16668 | 2014-06-25 Jakub Jelinek <jakub@redhat.com> |
16669 | ||
16670 | * testsuite/libgomp.fortran/simd5.f90: New test. | |
16671 | * testsuite/libgomp.fortran/simd6.f90: New test. | |
16672 | * testsuite/libgomp.fortran/simd7.f90: New test. | |
16673 | ||
b46ebd6c JJ |
16674 | 2014-06-24 Jakub Jelinek <jakub@redhat.com> |
16675 | ||
56ad0e38 JJ |
16676 | * testsuite/libgomp.c/for-2.c: Define SC to static for |
16677 | #pragma omp for simd testing. | |
16678 | * testsuite/libgomp.c/for-2.h (SC): Define if not defined. | |
16679 | (N(f5), N(f6), N(f7), N(f8), N(f10), N(f12), N(f14)): Use | |
16680 | SC macro. | |
16681 | * testsuite/libgomp.c/simd-14.c: New test. | |
16682 | * testsuite/libgomp.c/simd-15.c: New test. | |
16683 | * testsuite/libgomp.c/simd-16.c: New test. | |
16684 | * testsuite/libgomp.c/simd-17.c: New test. | |
16685 | * testsuite/libgomp.c++/for-10.C: Define SC to static for | |
16686 | #pragma omp for simd testing. | |
16687 | * testsuite/libgomp.c++/simd10.C: New test. | |
16688 | * testsuite/libgomp.c++/simd11.C: New test. | |
16689 | * testsuite/libgomp.c++/simd12.C: New test. | |
16690 | * testsuite/libgomp.c++/simd13.C: New test. | |
16691 | ||
b46ebd6c JJ |
16692 | * testsuite/libgomp.fortran/aligned1.f03: New test. |
16693 | * testsuite/libgomp.fortran/nestedfn5.f90: New test. | |
16694 | * testsuite/libgomp.fortran/target7.f90: Surround loop spawning | |
16695 | tasks with !$omp parallel !$omp single. | |
16696 | * testsuite/libgomp.fortran/target8.f90: New test. | |
16697 | * testsuite/libgomp.fortran/udr4.f90 (foo UDR, bar UDR): Adjust | |
16698 | not to use trim in the combiner, instead call elemental function. | |
16699 | (fn): New elemental function. | |
16700 | * testsuite/libgomp.fortran/udr6.f90 (do_add, dp_add, dp_init): | |
16701 | Make elemental. | |
16702 | * testsuite/libgomp.fortran/udr7.f90 (omp_priv, omp_orig, omp_out, | |
16703 | omp_in): Likewise. | |
16704 | * testsuite/libgomp.fortran/udr12.f90: New test. | |
16705 | * testsuite/libgomp.fortran/udr13.f90: New test. | |
16706 | * testsuite/libgomp.fortran/udr14.f90: New test. | |
16707 | * testsuite/libgomp.fortran/udr15.f90: New test. | |
16708 | ||
f014c653 JJ |
16709 | 2014-06-18 Jakub Jelinek <jakub@redhat.com> |
16710 | ||
16711 | * omp_lib.f90.in (openmp_version): Set to 201307. | |
16712 | * omp_lib.h.in (openmp_version): Likewise. | |
16713 | * testsuite/libgomp.c/target-8.c: New test. | |
16714 | * testsuite/libgomp.fortran/declare-simd-1.f90: Add notinbranch | |
16715 | and inbranch clauses. | |
16716 | * testsuite/libgomp.fortran/depend-3.f90: New test. | |
16717 | * testsuite/libgomp.fortran/openmp_version-1.f: Adjust for new | |
16718 | openmp_version. | |
16719 | * testsuite/libgomp.fortran/openmp_version-2.f90: Likewise. | |
16720 | * testsuite/libgomp.fortran/target1.f90: New test. | |
16721 | * testsuite/libgomp.fortran/target2.f90: New test. | |
16722 | * testsuite/libgomp.fortran/target3.f90: New test. | |
16723 | * testsuite/libgomp.fortran/target4.f90: New test. | |
16724 | * testsuite/libgomp.fortran/target5.f90: New test. | |
16725 | * testsuite/libgomp.fortran/target6.f90: New test. | |
16726 | * testsuite/libgomp.fortran/target7.f90: New test. | |
16727 | ||
92d28cbb JJ |
16728 | 2014-06-10 Jakub Jelinek <jakub@redhat.com> |
16729 | ||
16730 | PR fortran/60928 | |
16731 | * testsuite/libgomp.fortran/allocatable9.f90: New test. | |
16732 | * testsuite/libgomp.fortran/allocatable10.f90: New test. | |
16733 | * testsuite/libgomp.fortran/allocatable11.f90: New test. | |
16734 | * testsuite/libgomp.fortran/allocatable12.f90: New test. | |
16735 | * testsuite/libgomp.fortran/alloc-comp-1.f90: New test. | |
16736 | * testsuite/libgomp.fortran/alloc-comp-2.f90: New test. | |
16737 | * testsuite/libgomp.fortran/alloc-comp-3.f90: New test. | |
16738 | * testsuite/libgomp.fortran/associate1.f90: New test. | |
16739 | * testsuite/libgomp.fortran/associate2.f90: New test. | |
16740 | * testsuite/libgomp.fortran/procptr1.f90: New test. | |
16741 | ||
5f23671d JJ |
16742 | 2014-06-06 Jakub Jelinek <jakub@redhat.com> |
16743 | ||
16744 | * testsuite/libgomp.fortran/simd1.f90: New test. | |
16745 | * testsuite/libgomp.fortran/udr1.f90: New test. | |
16746 | * testsuite/libgomp.fortran/udr2.f90: New test. | |
16747 | * testsuite/libgomp.fortran/udr3.f90: New test. | |
16748 | * testsuite/libgomp.fortran/udr4.f90: New test. | |
16749 | * testsuite/libgomp.fortran/udr5.f90: New test. | |
16750 | * testsuite/libgomp.fortran/udr6.f90: New test. | |
16751 | * testsuite/libgomp.fortran/udr7.f90: New test. | |
16752 | * testsuite/libgomp.fortran/udr8.f90: New test. | |
16753 | * testsuite/libgomp.fortran/udr9.f90: New test. | |
16754 | * testsuite/libgomp.fortran/udr10.f90: New test. | |
16755 | * testsuite/libgomp.fortran/udr11.f90: New test. | |
16756 | ||
0389fbb5 UB |
16757 | 2014-05-27 Uros Bizjak <ubizjak@gmail.com> |
16758 | ||
16759 | * testsuite/libgomp.fortran/declare-simd-1.f90: Require | |
16760 | vect_simd_clones effective target. | |
16761 | * testsuite/libgomp.fortran/declare-simd-2.f90: Ditto. | |
16762 | ||
decaaec8 JJ |
16763 | 2014-05-21 Jakub Jelinek <jakub@redhat.com> |
16764 | ||
16765 | PR middle-end/61252 | |
16766 | * testsuite/libgomp.c++/simd-9.C: New test. | |
16767 | ||
72832460 UB |
16768 | 2014-05-18 Uros Bizjak <ubizjak@gmail.com> |
16769 | ||
16770 | * libgomp.texi (Runitme Library Routines): Remove multiple @menu. | |
16771 | (Environment Variables) Move OMP_PROC_BIND and OMP_STACKSIZE node | |
16772 | texts according to their @menu entry positions. | |
16773 | ||
dd2fc525 JJ |
16774 | 2014-05-11 Jakub Jelinek <jakub@redhat.com> |
16775 | ||
16776 | * testsuite/libgomp.fortran/cancel-do-1.f90: New test. | |
16777 | * testsuite/libgomp.fortran/cancel-do-2.f90: New test. | |
16778 | * testsuite/libgomp.fortran/cancel-parallel-1.f90: New test. | |
16779 | * testsuite/libgomp.fortran/cancel-parallel-3.f90: New test. | |
16780 | * testsuite/libgomp.fortran/cancel-sections-1.f90: New test. | |
16781 | * testsuite/libgomp.fortran/cancel-taskgroup-2.f90: New test. | |
16782 | * testsuite/libgomp.fortran/declare-simd-1.f90: New test. | |
16783 | * testsuite/libgomp.fortran/declare-simd-2.f90: New test. | |
16784 | * testsuite/libgomp.fortran/declare-simd-3.f90: New test. | |
16785 | * testsuite/libgomp.fortran/depend-1.f90: New test. | |
16786 | * testsuite/libgomp.fortran/depend-2.f90: New test. | |
16787 | * testsuite/libgomp.fortran/omp_atomic5.f90: New test. | |
16788 | * testsuite/libgomp.fortran/simd1.f90: New test. | |
16789 | * testsuite/libgomp.fortran/simd2.f90: New test. | |
16790 | * testsuite/libgomp.fortran/simd3.f90: New test. | |
16791 | * testsuite/libgomp.fortran/simd4.f90: New test. | |
16792 | * testsuite/libgomp.fortran/taskgroup1.f90: New test. | |
16793 | ||
95782571 JJ |
16794 | 2014-05-02 Jakub Jelinek <jakub@redhat.com> |
16795 | ||
16796 | * testsuite/libgomp.c/simd-10.c: New test. | |
16797 | * testsuite/libgomp.c/simd-11.c: New test. | |
16798 | * testsuite/libgomp.c/simd-12.c: New test. | |
16799 | * testsuite/libgomp.c/simd-13.c: New test. | |
16800 | ||
f7468577 JJ |
16801 | 2014-04-24 Jakub Jelinek <jakub@redhat.com> |
16802 | ||
42056eac JJ |
16803 | * testsuite/libgomp.c++/atomic-14.C: Allow seq_cst and |
16804 | atomic type clauses in any order and optional comma in between. | |
16805 | * testsuite/libgomp.c++/atomic-15.C: Likewise. | |
16806 | * testsuite/libgomp.c/atomic-17.c: Likewise. | |
16807 | ||
f7468577 JJ |
16808 | * testsuite/libgomp.c/simd-7.c: New test. |
16809 | * testsuite/libgomp.c/simd-8.c: New test. | |
16810 | * testsuite/libgomp.c/simd-9.c: New test. | |
16811 | * testsuite/libgomp.c/loop-16.c: New test. | |
16812 | ||
ab18f2f5 RH |
16813 | 2014-04-02 Richard Henderson <rth@redhat.com> |
16814 | ||
16815 | * config/linux/futex.h (futex_wait): Get error value from errno. | |
16816 | (futex_wake): Likewise. | |
16817 | ||
8bcc90b0 JJ |
16818 | 2014-03-25 Jakub Jelinek <jakub@redhat.com> |
16819 | ||
16820 | PR c++/60331 | |
16821 | * testsuite/libgomp.c++/udr-11.C: New test. | |
16822 | * testsuite/libgomp.c++/udr-12.C: New test. | |
16823 | * testsuite/libgomp.c++/udr-13.C: New test. | |
16824 | * testsuite/libgomp.c++/udr-14.C: New test. | |
16825 | * testsuite/libgomp.c++/udr-15.C: New test. | |
16826 | * testsuite/libgomp.c++/udr-16.C: New test. | |
16827 | * testsuite/libgomp.c++/udr-17.C: New test. | |
16828 | * testsuite/libgomp.c++/udr-18.C: New test. | |
16829 | * testsuite/libgomp.c++/udr-19.C: New test. | |
16830 | ||
18d73c7f RS |
16831 | 2014-01-02 Richard Sandiford <rdsandiford@googlemail.com> |
16832 | ||
16833 | Update copyright years | |
16834 | ||
f9030485 RS |
16835 | 2014-01-02 Richard Sandiford <rdsandiford@googlemail.com> |
16836 | ||
16837 | * hashtab.h: Use the standard form for the copyright notice. | |
16838 | ||
98db73df TB |
16839 | 2014-01-02 Tobias Burnus <burnus@net-b.de> |
16840 | ||
16841 | * libgomp.texi: Bump @copying's copyright year. | |
16842 | ||
ae246f7f AT |
16843 | 2013-12-17 Andreas Tobler <andreast@gcc.gnu.org> |
16844 | ||
93d90219 | 16845 | * testsuite/libgomp.c/affinity-1.c: Remove alloca.h include. Replace |
ae246f7f AT |
16846 | alloca () with __builtin_alloca (). |
16847 | * testsuite/libgomp.c/icv-2.c: Add FreeBSD coverage. | |
16848 | * testsuite/libgomp.c/lock-3.c: Likewise. | |
16849 | * testsuite/libgomp.c/pr48591.c: Likewise. | |
16850 | ||
fa00a5fe JJ |
16851 | 2013-12-17 Jakub Jelinek <jakub@redhat.com> |
16852 | ||
16853 | PR testsuite/59534 | |
16854 | * testsuite/libgomp.fortran/retval1.f90 (e5): Avoid non-shortcircuited | |
16855 | comparisons. | |
16856 | ||
e9792e1d JJ |
16857 | 2013-12-16 Jakub Jelinek <jakub@redhat.com> |
16858 | ||
16859 | PR libgomp/58756 | |
16860 | * testsuite/libgomp.c/pr58756.c: New test. | |
16861 | ||
cab37c89 JJ |
16862 | 2013-12-12 Jakub Jelinek <jakub@redhat.com> |
16863 | ||
16864 | PR libgomp/59467 | |
16865 | * testsuite/libgomp.fortran/crayptr2.f90: Add private (d) clause to | |
16866 | !$omp parallel. | |
16867 | ||
de14871c TS |
16868 | 2013-11-07 Thomas Schwinge <thomas@codesourcery.com> |
16869 | ||
1707a5de TS |
16870 | * testsuite/lib/libgomp.exp (libgomp_init): Don't add -fopenmp to |
16871 | ALWAYS_CFLAGS. | |
16872 | * testsuite/libgomp.c++/c++.exp (ALWAYS_CFLAGS): Add -fopenmp. | |
16873 | * testsuite/libgomp.c/c.exp (ALWAYS_CFLAGS): Likewise. | |
16874 | * testsuite/libgomp.fortran/fortran.exp (ALWAYS_CFLAGS): Likewise. | |
16875 | * testsuite/libgomp.graphite/graphite.exp (ALWAYS_CFLAGS): | |
16876 | Likewise. | |
16877 | ||
70f05c43 TS |
16878 | * libgomp_g.h: Include <stddef.h> for size_t. |
16879 | ||
de14871c TS |
16880 | * libgomp.spec.in: Update comment about libgomp's dependencies. |
16881 | * configure.ac: Likewise. | |
16882 | * configure: Regenerate. | |
16883 | ||
83fd6c5b TB |
16884 | 2013-10-16 Tobias Burnus <burnus@net-b.de> |
16885 | ||
16886 | * libgomp.texi: (Runtime Library Routines): Update references for | |
16887 | OpenMP 4.0. Add omp_get_cancellation, omp_get_default_device, | |
16888 | omp_get_num_devices, omp_get_num_teams, omp_get_proc_bind, | |
16889 | omp_get_team_num, omp_is_initial_device, omp_set_default_device. | |
16890 | (Environment Variables): Update references for OpenMP 4.0. Add | |
16891 | OMP_CANCELLATION, OMP_DEFAULT_DEVICE, OMP_PLACES. | |
16892 | Move OMP_DISPLAY_ENV and OMP_PROC_BIND up to be in alphabetical | |
16893 | order. | |
16894 | ||
c8673881 JJ |
16895 | 2013-10-14 Jakub Jelinek <jakub@redhat.com> |
16896 | ||
16897 | * env.c (parse_bind_var): Initialize value to avoid | |
16898 | (false positive) warning. | |
16899 | ||
f89163fd JJ |
16900 | 2013-10-12 Jakub Jelinek <jakub@redhat.com> |
16901 | ||
16902 | PR libgomp/58691 | |
16903 | * config/linux/proc.c (gomp_cpuset_popcount): Add unused attribute | |
16904 | to check variable. | |
16905 | (gomp_init_num_threads): Move i variable declaration into | |
16906 | #ifdef CPU_ALLOC_SIZE block. | |
16907 | * config/linux/affinity.c (gomp_affinity_init_level): Test | |
16908 | gomp_places_list_len == 0 rather than gomp_places_list == 0 | |
16909 | when checking for topology reading error. | |
16910 | * team.c (gomp_team_start): Don't handle bind == omp_proc_bind_false. | |
16911 | * env.c (parse_affinity): Add ignore argument, if true, don't populate | |
16912 | gomp_places_list, only parse env var and always return false. | |
16913 | (parse_places_var): Likewise. Don't check gomp_global_icv.bind_var. | |
16914 | (initialize_env): Always parse OMP_PLACES and GOMP_CPU_AFFINITY env | |
16915 | vars, default to OMP_PROC_BIND=true if OMP_PROC_BIND wasn't specified | |
16916 | and either of these variables were parsed correctly into a places | |
16917 | list. | |
16918 | ||
1d340638 TS |
16919 | 2013-10-11 Thomas Schwinge <thomas@codesourcery.com> |
16920 | Jakub Jelinek <jakub@redhat.com> | |
16921 | ||
16922 | * testsuite/libgomp.graphite/force-parallel-1.c: Expect 4 instead | |
16923 | of 5 loopfn matches. | |
16924 | * testsuite/libgomp.graphite/force-parallel-2.c: Likewise. | |
16925 | * testsuite/libgomp.graphite/force-parallel-3.c: Likewise. | |
16926 | * testsuite/libgomp.graphite/force-parallel-4.c: Likewise. | |
16927 | * testsuite/libgomp.graphite/force-parallel-5.c: Likewise. | |
16928 | * testsuite/libgomp.graphite/force-parallel-6.c: Likewise. | |
16929 | * testsuite/libgomp.graphite/force-parallel-7.c: Likewise. | |
16930 | * testsuite/libgomp.graphite/force-parallel-8.c: Likewise. | |
16931 | * testsuite/libgomp.graphite/force-parallel-9.c: Likewise. | |
16932 | ||
71a81c21 TS |
16933 | 2013-10-11 Thomas Schwinge <thomas@codesourcery.com> |
16934 | ||
bd87f731 TS |
16935 | * Makefile.am (omp_lib.mod): Streamline rule. |
16936 | * Makefile.in: Regenerate. | |
16937 | ||
f5745bed TS |
16938 | * libgomp.texi (Runtime Library Routines): C linkage, don't throw |
16939 | exceptions. | |
16940 | ||
b5512c66 TS |
16941 | * testsuite/libgomp.c/lib-1.c (main): Add missing error check. |
16942 | * testsuite/libgomp.fortran/lib1.f90: Likewise. | |
16943 | * testsuite/libgomp.fortran/lib2.f: Likewise. | |
16944 | * testsuite/libgomp.fortran/lib3.f: Likewise. | |
16945 | ||
451c19c4 TS |
16946 | * configure.ac: Typo fix. |
16947 | * configure: Regenerate. | |
16948 | ||
86a6016d TS |
16949 | * testsuite/libgomp.fortran/openmp_version-1.f: New file. |
16950 | * testsuite/libgomp.fortran/openmp_version-2.f90: Likewise. | |
16951 | ||
71a81c21 TS |
16952 | * omp.h.in: Don't touch the user's namespace. |
16953 | ||
acf0174b JJ |
16954 | 2013-10-11 Jakub Jelinek <jakub@redhat.com> |
16955 | Tobias Burnus <burnus@net-b.de> | |
16956 | Richard Henderson <rth@redhat.com> | |
16957 | ||
16958 | * target.c: New file. | |
16959 | * Makefile.am (libgomp_la_SOURCES): Add target.c. | |
16960 | * Makefile.in: Regenerated. | |
16961 | * libgomp_g.h (GOMP_task): Add depend argument. | |
16962 | (GOMP_barrier_cancel, GOMP_loop_end_cancel, | |
16963 | GOMP_sections_end_cancel, GOMP_target, GOMP_target_data, | |
16964 | GOMP_target_end_data, GOMP_target_update, GOMP_teams, | |
16965 | GOMP_parallel_loop_static, GOMP_parallel_loop_dynamic, | |
16966 | GOMP_parallel_loop_guided, GOMP_parallel_loop_runtime, | |
16967 | GOMP_parallel, GOMP_cancel, GOMP_cancellation_point, | |
16968 | GOMP_taskgroup_start, GOMP_taskgroup_end, | |
16969 | GOMP_parallel_sections): New prototypes. | |
16970 | * fortran.c (omp_is_initial_device): Add ialias_redirect. | |
16971 | (omp_is_initial_device_): New function. | |
16972 | (ULP, STR1, STR2, ialias_redirect): Removed. | |
16973 | (omp_get_cancellation_, omp_get_proc_bind_, omp_set_default_device_, | |
16974 | omp_set_default_device_8_, omp_get_default_device_, | |
16975 | omp_get_num_devices_, omp_get_num_teams_, omp_get_team_num_): New | |
16976 | functions. | |
16977 | * libgomp.map (GOMP_barrier_cancel, GOMP_loop_end_cancel, | |
16978 | GOMP_sections_end_cancel, GOMP_target, GOMP_target_data, | |
16979 | GOMP_target_end_data, GOMP_target_update, GOMP_teams): Export | |
16980 | @@GOMP_4.0. | |
16981 | (omp_is_initial_device, omp_is_initial_device_, omp_get_cancellation, | |
16982 | omp_get_cancellation_, omp_get_proc_bind, omp_get_proc_bind_, | |
16983 | omp_set_default_device, omp_set_default_device_, | |
16984 | omp_set_default_device_8_, omp_get_default_device, | |
16985 | omp_get_default_device_, omp_get_num_devices, omp_get_num_devices_, | |
16986 | omp_get_num_teams, omp_get_num_teams_, omp_get_team_num, | |
16987 | omp_get_team_num_): Export @@OMP_4.0. | |
16988 | * team.c (struct gomp_thread_start_data): Add place field. | |
16989 | (gomp_thread_start): Clear thr->thread_pool and | |
16990 | thr->task before returning. Use gomp_team_barrier_wait_final | |
16991 | instead of gomp_team_barrier_wait. Initialize thr->place. | |
16992 | (gomp_new_team): Initialize work_shares_to_free, work_share_cancelled, | |
16993 | team_cancelled and task_queued_count fields. | |
16994 | (gomp_free_pool_helper): Clear thr->thread_pool and thr->task | |
16995 | before calling pthread_exit. | |
16996 | (gomp_free_thread): No longer static. Use | |
16997 | gomp_managed_threads_lock instead of gomp_remaining_threads_lock. | |
16998 | (gomp_team_start): Add flags argument. Set | |
16999 | thr->thread_pool->threads_busy to nthreads immediately after creating | |
17000 | new pool. Use gomp_managed_threads_lock instead of | |
17001 | gomp_remaining_threads_lock. Handle OpenMP 4.0 affinity. | |
17002 | (gomp_team_end): Use gomp_managed_threads_lock instead of | |
17003 | gomp_remaining_threads_lock. Use gomp_team_barrier_wait_final instead | |
17004 | of gomp_team_barrier_wait. If team->team_cancelled, call | |
93d90219 | 17005 | gomp_fini_workshare on ws chain starting at team->work_shares_to_free |
acf0174b JJ |
17006 | rather than thr->ts.work_share. |
17007 | (initialize_team): Don't call gomp_sem_init here. | |
17008 | * sections.c (GOMP_parallel_sections_start): Adjust gomp_team_start | |
17009 | caller. | |
17010 | (GOMP_parallel_sections, GOMP_sections_end_cancel): New functions. | |
17011 | * env.c (gomp_global_icv): Add default_device_var, target_data and | |
17012 | bind_var initializers. | |
17013 | (gomp_cpu_affinity, gomp_cpu_affinity_len): Remove. | |
17014 | (gomp_bind_var_list, gomp_bind_var_list_len, gomp_places_list, | |
17015 | gomp_places_list_len): New variables. | |
17016 | (parse_bind_var, parse_one_place, parse_places_var): New functions. | |
17017 | (parse_affinity): Rewritten to construct OMP_PLACES list with unit | |
17018 | sized places. | |
17019 | (gomp_cancel_var): New global variable. | |
17020 | (parse_int): New function. | |
17021 | (handle_omp_display_env): New function. | |
17022 | (initialize_env): Use it. Initialize default_device_var. | |
17023 | Parse OMP_CANCELLATION env var. Use parse_bind_var to parse | |
17024 | OMP_PROC_BIND instead of parse_boolean. Use parse_places_var for | |
17025 | OMP_PLACES parsing. Don't call parse_affinity if OMP_PLACES has | |
17026 | been successfully parsed (and call gomp_init_affinity in that case). | |
17027 | (omp_get_cancellation, omp_get_proc_bind, omp_set_default_device, | |
17028 | omp_get_default_device, omp_get_num_devices, omp_get_num_teams, | |
17029 | omp_get_team_num, omp_is_initial_device): New functions. | |
17030 | * libgomp.h: Include stdlib.h. | |
17031 | (ialias_ulp, ialias_str1, ialias_str2, ialias_redirect, ialias_call): | |
17032 | Define. | |
17033 | (struct target_mem_desc): Forward declare. | |
17034 | (struct gomp_task_icv): Add default_device_var, target_data, bind_var | |
17035 | and thread_limit_var fields. | |
17036 | (gomp_get_num_devices): New prototype. | |
17037 | (gomp_cancel_var): New extern decl. | |
17038 | (struct gomp_team): Add work_shares_to_free, work_share_cancelled, | |
17039 | team_cancelled and task_queued_count fields. Add comments about | |
17040 | task_{,queued_,running_}count. | |
17041 | (gomp_cancel_kind): New enum. | |
17042 | (gomp_work_share_end_cancel): New prototype. | |
17043 | (struct gomp_task): Add next_taskgroup, prev_taskgroup, taskgroup, | |
17044 | copy_ctors_done, dependers, depend_hash, depend_count, num_dependees | |
17045 | and depend fields. | |
17046 | (struct gomp_taskgroup): New type. | |
17047 | (struct gomp_task_depend_entry, | |
17048 | struct gomp_dependers_vec): New types. | |
17049 | (gomp_finish_task): Free depend_hash if non-NULL. | |
17050 | (struct gomp_team_state): Add place_partition_off | |
17051 | and place_partition_len fields. | |
17052 | (gomp_bind_var_list, gomp_bind_var_list_len, gomp_places_list, | |
17053 | gomp_places_list_len): New extern decls. | |
17054 | (struct gomp_thread): Add place field. | |
17055 | (gomp_cpu_affinity, gomp_cpu_affinity_len): Remove. | |
17056 | (gomp_init_thread_affinity): Add place argument. | |
17057 | (gomp_affinity_alloc, gomp_affinity_init_place, gomp_affinity_add_cpus, | |
17058 | gomp_affinity_remove_cpu, gomp_affinity_copy_place, | |
17059 | gomp_affinity_same_place, gomp_affinity_finalize_place_list, | |
17060 | gomp_affinity_init_level, gomp_affinity_print_place): New | |
17061 | prototypes. | |
17062 | (gomp_team_start): Add flags argument. | |
17063 | (gomp_thread_limit_var, gomp_remaining_threads_count, | |
17064 | gomp_remaining_threads_lock): Remove. | |
17065 | (gomp_managed_threads_lock): New variable. | |
17066 | (struct gomp_thread_pool): Add threads_busy field. | |
17067 | (gomp_free_thread): New prototype. | |
17068 | * task.c: Include hashtab.h. | |
17069 | (hash_entry_type): New typedef. | |
17070 | (htab_alloc, htab_free, htab_hash, htab_eq): New inlines. | |
17071 | (gomp_init_task): Clear dependers, depend_hash, depend_count, | |
17072 | copy_ctors_done and taskgroup fields. | |
17073 | (GOMP_task): Add depend argument, handle depend clauses. If | |
17074 | gomp_team_barrier_cancelled or if it's taskgroup has been | |
17075 | cancelled, don't queue or start new tasks. Set copy_ctors_done | |
17076 | field if needed. Initialize taskgroup field. If copy_ctors_done | |
17077 | and already cancelled, don't discard the task. If taskgroup is | |
17078 | non-NULL, enqueue the task into taskgroup queue. Increment | |
17079 | num_children field in taskgroup. Increment task_queued_count. | |
17080 | (gomp_task_run_pre, gomp_task_run_post_remove_parent, | |
17081 | gomp_task_run_post_remove_taskgroup): New inline functions. | |
17082 | (gomp_task_run_post_handle_depend_hash, | |
17083 | gomp_task_run_post_handle_dependers, | |
17084 | gomp_task_run_post_handle_depend): New functions. | |
17085 | (GOMP_taskwait): Use them. If more than one new tasks | |
17086 | have been queued, wake other threads if needed. | |
17087 | (gomp_barrier_handle_tasks): Likewise. If | |
17088 | gomp_team_barrier_cancelled, don't start any new tasks, just free | |
17089 | all tasks. | |
17090 | (GOMP_taskgroup_start, GOMP_taskgroup_end): New functions. | |
17091 | * omp_lib.f90.in | |
17092 | (omp_proc_bind_kind, omp_proc_bind_false, | |
17093 | omp_proc_bind_true, omp_proc_bind_master, omp_proc_bind_close, | |
17094 | omp_proc_bind_spread): New params. | |
17095 | (omp_get_cancellation, omp_get_proc_bind, omp_set_default_device, | |
17096 | omp_get_default_device, omp_get_num_devices, omp_get_num_teams, | |
17097 | omp_get_team_num, omp_is_initial_device): New interfaces. | |
17098 | (omp_get_dynamic, omp_get_nested, omp_in_parallel, | |
17099 | omp_get_max_threads, omp_get_num_procs, omp_get_num_threads, | |
17100 | omp_get_thread_num, omp_get_thread_limit, omp_set_max_active_levels, | |
17101 | omp_get_max_active_levels, omp_get_level, omp_get_ancestor_thread_num, | |
17102 | omp_get_team_size, omp_get_active_level, omp_in_final): Remove | |
17103 | useless use omp_lib_kinds. | |
17104 | * omp.h.in (omp_proc_bind_t): New typedef. | |
17105 | (omp_get_cancellation, omp_get_proc_bind, omp_set_default_device, | |
17106 | omp_get_default_device, omp_get_num_devices, omp_get_num_teams, | |
17107 | omp_get_team_num, omp_is_initial_device): New prototypes. | |
17108 | * loop.c (gomp_parallel_loop_start): Add flags argument, pass it | |
17109 | through to gomp_team_start. | |
17110 | (GOMP_parallel_loop_static_start, GOMP_parallel_loop_dynamic_start, | |
17111 | GOMP_parallel_loop_guided_start, GOMP_parallel_loop_runtime_start): | |
17112 | Adjust gomp_parallel_loop_start callers. | |
17113 | (GOMP_parallel_loop_static, GOMP_parallel_loop_dynamic, | |
17114 | GOMP_parallel_loop_guided, GOMP_parallel_loop_runtime, | |
17115 | GOMP_loop_end_cancel): New functions. | |
17116 | (GOMP_parallel_end): Add ialias_redirect. | |
17117 | * hashtab.h: New file. | |
17118 | * libgomp.texi (Environment Variables): Minor cleanup, | |
17119 | update section refs to OpenMP 4.0rc2. | |
17120 | (OMP_DISPLAY_ENV, GOMP_SPINCOUNT): Document these | |
17121 | environment variables. | |
17122 | * work.c (gomp_work_share_end, gomp_work_share_end_nowait): Set | |
17123 | team->work_shares_to_free to thr->ts.work_share before calling | |
17124 | free_work_share. | |
17125 | (gomp_work_share_end_cancel): New function. | |
17126 | * config/linux/proc.c: Include errno.h. | |
17127 | (gomp_get_cpuset_size, gomp_cpuset_size, gomp_cpusetp): New variables. | |
17128 | (gomp_cpuset_popcount): Add cpusetsize argument, use it instead of | |
17129 | sizeof (cpu_set_t) to determine number of iterations. Fix up check | |
17130 | extern decl. Use CPU_COUNT_S if available, or CPU_COUNT if | |
17131 | gomp_cpuset_size is sizeof (cpu_set_t). | |
17132 | (gomp_init_num_threads): Initialize gomp_cpuset_size, | |
17133 | gomp_get_cpuset_size and gomp_cpusetp here, use gomp_cpusetp instead | |
17134 | of &cpuset and pass gomp_cpuset_size instead of sizeof (cpu_set_t) | |
17135 | to pthread_getaffinity_np. Free and clear gomp_cpusetp if it didn't | |
17136 | contain any logical CPUs. | |
17137 | (get_num_procs): Don't call pthread_getaffinity_np if gomp_cpusetp | |
17138 | is NULL. Use gomp_cpusetp instead of &cpuset and pass | |
17139 | gomp_get_cpuset_size instead of sizeof (cpu_set_t) to | |
17140 | pthread_getaffinity_np. Check gomp_places_list instead of | |
17141 | gomp_cpu_affinity. Adjust gomp_cpuset_popcount caller. | |
17142 | * config/linux/bar.c (gomp_barrier_wait_end, | |
17143 | gomp_barrier_wait_last): Use BAR_* defines. | |
17144 | (gomp_team_barrier_wait_end): Likewise. Clear BAR_CANCELLED | |
17145 | from state where needed. Set work_share_cancelled to 0 on last | |
17146 | thread. | |
17147 | (gomp_team_barrier_wait_final, gomp_team_barrier_wait_cancel_end, | |
17148 | gomp_team_barrier_wait_cancel, gomp_team_barrier_cancel): New | |
17149 | functions. | |
17150 | * config/linux/proc.h (gomp_cpuset_popcount): Add attribute_hidden. | |
17151 | Add cpusetsize argument. | |
17152 | (gomp_cpuset_size, gomp_cpusetp): Declare. | |
17153 | * config/linux/affinity.c: Include errno.h, stdio.h and string.h. | |
17154 | (affinity_counter): Remove. | |
17155 | (CPU_ISSET_S, CPU_ZERO_S, CPU_SET_S, CPU_CLR_S): Define | |
17156 | if CPU_ALLOC_SIZE isn't defined. | |
17157 | (gomp_init_affinity): Rewritten, if gomp_places_list is NULL, try | |
17158 | silently create OMP_PLACES=threads, if it is non-NULL afterwards, | |
17159 | bind current thread to the first place. | |
17160 | (gomp_init_thread_affinity): Rewritten. Add place argument, just | |
17161 | pthread_setaffinity_np to gomp_places_list[place]. | |
17162 | (gomp_affinity_alloc, gomp_affinity_init_place, gomp_affinity_add_cpus, | |
17163 | gomp_affinity_remove_cpu, gomp_affinity_copy_place, | |
17164 | gomp_affinity_same_place, gomp_affinity_finalize_place_list, | |
17165 | gomp_affinity_init_level, gomp_affinity_print_place): New functions. | |
17166 | * config/linux/bar.h (BAR_TASK_PENDING, BAR_WAS_LAST, | |
17167 | BAR_WAITING_FOR_TASK, BAR_INCR, BAR_CANCELLED): Define. | |
17168 | (gomp_barrier_t): Add awaited_final field. | |
17169 | (gomp_barrier_init): Initialize awaited_final field. | |
17170 | (gomp_team_barrier_wait_final, gomp_team_barrier_wait_cancel, | |
17171 | gomp_team_barrier_wait_cancel_end, gomp_team_barrier_cancel): New | |
17172 | prototypes. | |
17173 | (gomp_barrier_wait_start): Preserve BAR_CANCELLED bit. Use BAR_* | |
17174 | defines. | |
17175 | (gomp_barrier_wait_cancel_start, gomp_team_barrier_wait_final_start, | |
17176 | gomp_team_barrier_cancelled): New inline functions. | |
17177 | (gomp_barrier_last_thread, | |
17178 | gomp_team_barrier_set_task_pending, | |
17179 | gomp_team_barrier_clear_task_pending, | |
17180 | gomp_team_barrier_set_waiting_for_tasks, | |
17181 | gomp_team_barrier_waiting_for_tasks, | |
17182 | gomp_team_barrier_done): Use BAR_* defines. | |
17183 | * config/posix/bar.c (gomp_barrier_init): Clear cancellable field. | |
17184 | (gomp_barrier_wait_end): Use BAR_* defines. | |
17185 | (gomp_team_barrier_wait_end): Clear BAR_CANCELLED from state. | |
17186 | Set work_share_cancelled to 0 on last thread, use __atomic_load_n. | |
17187 | Use BAR_* defines. | |
17188 | (gomp_team_barrier_wait_cancel_end, gomp_team_barrier_wait_cancel, | |
17189 | gomp_team_barrier_cancel): New functions. | |
17190 | * config/posix/affinity.c (gomp_init_thread_affinity): Add place | |
17191 | argument. | |
17192 | (gomp_affinity_alloc, gomp_affinity_init_place, gomp_affinity_add_cpus, | |
17193 | gomp_affinity_remove_cpu, gomp_affinity_copy_place, | |
17194 | gomp_affinity_same_place, gomp_affinity_finalize_place_list, | |
17195 | gomp_affinity_init_level, gomp_affinity_print_place): New stubs. | |
17196 | * config/posix/bar.h (BAR_TASK_PENDING, BAR_WAS_LAST, | |
17197 | BAR_WAITING_FOR_TASK, BAR_INCR, BAR_CANCELLED): Define. | |
17198 | (gomp_barrier_t): Add cancellable field. | |
17199 | (gomp_team_barrier_wait_cancel, gomp_team_barrier_wait_cancel_end, | |
17200 | gomp_team_barrier_cancel): New prototypes. | |
17201 | (gomp_barrier_wait_start): Preserve BAR_CANCELLED bit. | |
17202 | (gomp_barrier_wait_cancel_start, gomp_team_barrier_wait_final, | |
17203 | gomp_team_barrier_cancelled): New inline functions. | |
17204 | (gomp_barrier_wait_start, gomp_barrier_last_thread, | |
17205 | gomp_team_barrier_set_task_pending, | |
17206 | gomp_team_barrier_clear_task_pending, | |
17207 | gomp_team_barrier_set_waiting_for_tasks, | |
17208 | gomp_team_barrier_waiting_for_tasks, | |
17209 | gomp_team_barrier_done): Use BAR_* defines. | |
17210 | * barrier.c (GOMP_barrier_cancel): New function. | |
17211 | * omp_lib.h.in (omp_proc_bind_kind, omp_proc_bind_false, | |
17212 | omp_proc_bind_true, omp_proc_bind_master, omp_proc_bind_close, | |
17213 | omp_proc_bind_spread): New params. | |
17214 | (omp_get_cancellation, omp_get_proc_bind, omp_set_default_device, | |
17215 | omp_get_default_device, omp_get_num_devices, omp_get_num_teams, | |
17216 | omp_get_team_num, omp_is_initial_device): New externals. | |
17217 | * parallel.c (GOMP_parallel, GOMP_cancel, GOMP_cancellation_point): | |
17218 | New functions. | |
17219 | (gomp_resolve_num_threads): Adjust for thread_limit now being in | |
17220 | icv->thread_limit_var. Use UINT_MAX instead of ULONG_MAX as | |
17221 | infinity. If not nested, just return minimum of max_num_threads | |
17222 | and icv->thread_limit_var and if thr->thread_pool, set threads_busy | |
17223 | to the returned value. Otherwise, don't update atomically | |
17224 | gomp_remaining_threads_count, but instead thr->thread_pool->threads_busy. | |
17225 | (GOMP_parallel_end): Adjust for thread_limit now being in | |
17226 | icv->thread_limit_var. Use UINT_MAX instead of ULONG_MAX as | |
17227 | infinity. Adjust threads_busy in the pool rather than | |
17228 | gomp_remaining_threads_count. Remember team->nthreads and call | |
17229 | gomp_team_end before adjusting threads_busy, if not nested | |
17230 | afterwards, just set it to 1 non-atomically. Add ialias. | |
17231 | (GOMP_parallel_start): Adjust gomp_team_start caller. | |
17232 | * testsuite/libgomp.c/atomic-14.c: Add parens to make it valid. | |
17233 | * testsuite/libgomp.c/affinity-1.c: New test. | |
17234 | * testsuite/libgomp.c/atomic-15.c: New test. | |
17235 | * testsuite/libgomp.c/atomic-16.c: New test. | |
17236 | * testsuite/libgomp.c/atomic-17.c: New test. | |
17237 | * testsuite/libgomp.c/cancel-for-1.c: New test. | |
17238 | * testsuite/libgomp.c/cancel-for-2.c: New test. | |
17239 | * testsuite/libgomp.c/cancel-parallel-1.c: New test. | |
17240 | * testsuite/libgomp.c/cancel-parallel-2.c: New test. | |
17241 | * testsuite/libgomp.c/cancel-parallel-3.c: New test. | |
17242 | * testsuite/libgomp.c/cancel-sections-1.c: New test. | |
17243 | * testsuite/libgomp.c/cancel-taskgroup-1.c: New test. | |
17244 | * testsuite/libgomp.c/cancel-taskgroup-2.c: New test. | |
17245 | * testsuite/libgomp.c/depend-1.c: New test. | |
17246 | * testsuite/libgomp.c/depend-2.c: New test. | |
17247 | * testsuite/libgomp.c/depend-3.c: New test. | |
17248 | * testsuite/libgomp.c/depend-4.c: New test. | |
17249 | * testsuite/libgomp.c/for-1.c: New test. | |
17250 | * testsuite/libgomp.c/for-1.h: New file. | |
17251 | * testsuite/libgomp.c/for-2.c: New test. | |
17252 | * testsuite/libgomp.c/for-2.h: New file. | |
17253 | * testsuite/libgomp.c/for-3.c: New test. | |
17254 | * testsuite/libgomp.c/pr58392.c: New test. | |
17255 | * testsuite/libgomp.c/simd-1.c: New test. | |
17256 | * testsuite/libgomp.c/simd-2.c: New test. | |
17257 | * testsuite/libgomp.c/simd-3.c: New test. | |
17258 | * testsuite/libgomp.c/simd-4.c: New test. | |
17259 | * testsuite/libgomp.c/simd-5.c: New test. | |
17260 | * testsuite/libgomp.c/simd-6.c: New test. | |
17261 | * testsuite/libgomp.c/target-1.c: New test. | |
17262 | * testsuite/libgomp.c/target-2.c: New test. | |
17263 | * testsuite/libgomp.c/target-3.c: New test. | |
17264 | * testsuite/libgomp.c/target-4.c: New test. | |
17265 | * testsuite/libgomp.c/target-5.c: New test. | |
17266 | * testsuite/libgomp.c/target-6.c: New test. | |
17267 | * testsuite/libgomp.c/target-7.c: New test. | |
17268 | * testsuite/libgomp.c/taskgroup-1.c: New test. | |
17269 | * testsuite/libgomp.c/thread-limit-1.c: New test. | |
17270 | * testsuite/libgomp.c/thread-limit-2.c: New test. | |
17271 | * testsuite/libgomp.c/thread-limit-3.c: New test. | |
17272 | * testsuite/libgomp.c/udr-1.c: New test. | |
17273 | * testsuite/libgomp.c/udr-2.c: New test. | |
17274 | * testsuite/libgomp.c/udr-3.c: New test. | |
17275 | * testsuite/libgomp.c++/affinity-1.C: New test. | |
17276 | * testsuite/libgomp.c++/atomic-10.C: New test. | |
17277 | * testsuite/libgomp.c++/atomic-11.C: New test. | |
17278 | * testsuite/libgomp.c++/atomic-12.C: New test. | |
17279 | * testsuite/libgomp.c++/atomic-13.C: New test. | |
17280 | * testsuite/libgomp.c++/atomic-14.C: New test. | |
17281 | * testsuite/libgomp.c++/atomic-15.C: New test. | |
17282 | * testsuite/libgomp.c++/cancel-for-1.C: New test. | |
17283 | * testsuite/libgomp.c++/cancel-for-2.C: New test. | |
17284 | * testsuite/libgomp.c++/cancel-parallel-1.C: New test. | |
17285 | * testsuite/libgomp.c++/cancel-parallel-2.C: New test. | |
17286 | * testsuite/libgomp.c++/cancel-parallel-3.C: New test. | |
17287 | * testsuite/libgomp.c++/cancel-sections-1.C: New test. | |
17288 | * testsuite/libgomp.c++/cancel-taskgroup-1.C: New test. | |
17289 | * testsuite/libgomp.c++/cancel-taskgroup-2.C: New test. | |
17290 | * testsuite/libgomp.c++/cancel-taskgroup-3.C: New test. | |
17291 | * testsuite/libgomp.c++/cancel-test.h: New file. | |
17292 | * testsuite/libgomp.c++/for-9.C: New test. | |
17293 | * testsuite/libgomp.c++/for-10.C: New test. | |
17294 | * testsuite/libgomp.c++/for-11.C: New test. | |
17295 | * testsuite/libgomp.c++/simd-1.C: New test. | |
17296 | * testsuite/libgomp.c++/simd-2.C: New test. | |
17297 | * testsuite/libgomp.c++/simd-3.C: New test. | |
17298 | * testsuite/libgomp.c++/simd-4.C: New test. | |
17299 | * testsuite/libgomp.c++/simd-5.C: New test. | |
17300 | * testsuite/libgomp.c++/simd-6.C: New test. | |
17301 | * testsuite/libgomp.c++/simd-7.C: New test. | |
17302 | * testsuite/libgomp.c++/simd-8.C: New test. | |
17303 | * testsuite/libgomp.c++/target-1.C: New test. | |
17304 | * testsuite/libgomp.c++/target-2.C: New test. | |
17305 | * testsuite/libgomp.c++/target-2-aux.cc: New file. | |
17306 | * testsuite/libgomp.c++/target-3.C: New test. | |
17307 | * testsuite/libgomp.c++/taskgroup-1.C: New test. | |
17308 | * testsuite/libgomp.c++/udr-1.C: New test. | |
17309 | * testsuite/libgomp.c++/udr-2.C: New test. | |
17310 | * testsuite/libgomp.c++/udr-3.C: New test. | |
17311 | * testsuite/libgomp.c++/udr-4.C: New test. | |
17312 | * testsuite/libgomp.c++/udr-5.C: New test. | |
17313 | * testsuite/libgomp.c++/udr-6.C: New test. | |
17314 | * testsuite/libgomp.c++/udr-7.C: New test. | |
17315 | * testsuite/libgomp.c++/udr-8.C: New test. | |
17316 | * testsuite/libgomp.c++/udr-9.C: New test. | |
17317 | ||
bd599dea JJ |
17318 | 2013-09-20 Jakub Jelinek <jakub@redhat.com> |
17319 | ||
17320 | PR testsuite/57605 | |
17321 | * testsuite/lib/libgomp.exp: Add -fdiagnostics-color=never to | |
17322 | ALWAYS_CFLAGS. | |
17323 | ||
3cbe17f7 AM |
17324 | 2013-09-20 Alan Modra <amodra@gmail.com> |
17325 | ||
17326 | * configure: Regenerate. | |
17327 | ||
4befd127 JJ |
17328 | 2013-09-19 Jakub Jelinek <jakub@redhat.com> |
17329 | ||
17330 | * testsuite/libgomp.c/sections-2.c: New test. | |
17331 | ||
946c8f7b MS |
17332 | 2013-06-28 Marcus Shawcroft <marcus.shawcroft@arm.com> |
17333 | ||
17334 | * testsuite/libgomp.fortran/strassen.f90: | |
17335 | Add dg-skip-if aarch64_tiny. | |
17336 | ||
1ef3b58e IS |
17337 | 2013-06-20 Iain Sandoe <iain@codesourcery.com> |
17338 | Cesar Philippidis <cesar@codesourcery.com> | |
17339 | ||
17340 | * testsuite/lib/libgomp.exp: Reorder lib loads into dependency order. | |
17341 | Do not load_gcc_lib gcc-dg.exp and add a comment as to why. | |
17342 | * testsuite/libgomp.c/c.exp: load_gcc_lib gcc-dg.exp. | |
17343 | * testsuite/libgomp.fortran/fortran.exp: Likewise. | |
17344 | * testsuite/libgomp.graphite/graphite.exp: Likewise. | |
17345 | * testsuite/libgomp.c++/c++.exp: load_gcc_lib gcc-dg.exp. | |
17346 | Use dg-runtest rather than gfortran-dg-runtest. | |
17347 | ||
9275f73a TS |
17348 | 2013-06-10 Thomas Schwinge <thomas@codesourcery.com> |
17349 | ||
17350 | * testsuite/libgomp.c/icv-2.c: Extend current handling of | |
17351 | Linux-based x86 systems to cover all GNU systems. | |
17352 | * testsuite/libgomp.c/lock-3.c: Likewise. | |
17353 | * testsuite/libgomp.c/pr48591.c: Likewise. | |
17354 | ||
492992e2 TS |
17355 | 2013-06-06 Thomas Schwinge <thomas@codesourcery.com> |
17356 | ||
48df3acb TS |
17357 | * configure.tgt (XCFLAGS): Add -ftls-model=initial-exec for |
17358 | GNU/Hurd, as done for Linux-based systems. | |
17359 | ||
492992e2 TS |
17360 | * config/posix/ptrlock.h: Fix comment. |
17361 | ||
4fed6b25 TB |
17362 | 2013-05-27 Tobias Burnus <burnus@net-b.de> |
17363 | ||
17364 | PR fortran/57423 | |
17365 | * libgomp.texi (omp_set_dynamic, omp_set_nested, omp_set_nested, | |
17366 | omp_set_num_threads, omp_init_lock, omp_set_lock, omp_test_lock, | |
17367 | omp_unset_lock, omp_destroy_lock, omp_init_nest_lock, | |
17368 | omp_set_nest_lock, omp_test_nest_lock, omp_unset_nest_lock, | |
17369 | omp_destroy_nest_lock): Correct arguments to match the one in | |
17370 | the OpenMP spec. | |
17371 | * omp_lib.f90.in (omp_init_lock, omp_init_nest_lock, omp_destroy_lock | |
17372 | omp_destroy_nest_lock, omp_set_lock, omp_set_nest_lock, omp_unset_lock, | |
17373 | omp_unset_nest_lock, omp_set_dynamic, omp_set_nested, | |
17374 | omp_set_num_threads, omp_test_lock, omp_test_nest_lock): Ditto. | |
17375 | ||
5a0f4dd3 JJ |
17376 | 2013-05-16 Jakub Jelinek <jakub@redhat.com> |
17377 | ||
17378 | * testsuite/libgomp.c/loop-13.c: New test. | |
17379 | * testsuite/libgomp.c/loop-14.c: New test. | |
17380 | * testsuite/libgomp.c/loop-15.c: New test. | |
17381 | * testsuite/libgomp.c++/loop-13.C: New test. | |
17382 | * testsuite/libgomp.c++/loop-14.C: New test. | |
17383 | * testsuite/libgomp.c++/loop-15.C: New test. | |
17384 | ||
6d840d99 JJ |
17385 | 2013-02-06 Jakub Jelinek <jakub@redhat.com> |
17386 | ||
17387 | PR middle-end/56217 | |
17388 | * testsuite/libgomp.c++/pr56217.C: New test. | |
17389 | ||
bed8d8a6 AM |
17390 | 2013-02-01 Alan Modra <amodra@gmail.com> |
17391 | ||
17392 | * task.c (GOMP_task, GOMP_taskwait): Comment. | |
17393 | ||
3b35cd04 DV |
17394 | 2013-01-31 Dmitry Vyukov <dvyukov@gcc.gnu.org> |
17395 | Joost VandeVondele <Joost.VandeVondele@mat.ethz.ch> | |
17396 | ||
17397 | PR libgomp/55561 | |
17398 | * config/linux/wait.h (do_spin): Use atomic load for addr. | |
17399 | * config/linux/ptrlock.c (gomp_ptrlock_get_slow): Use atomic | |
17400 | for intptr and ptrlock. | |
17401 | * config/linux/ptrlock.h (gomp_ptrlock_get): Use atomic load | |
17402 | for ptrlock. | |
17403 | ||
9a647288 AM |
17404 | 2013-01-22 Alan Modra <amodra@gmail.com> |
17405 | ||
17406 | PR libgomp/51376 | |
17407 | PR libgomp/56073 | |
17408 | * task.c (GOMP_task): Revert 2011-12-09 change. | |
17409 | (GOMP_taskwait): Likewise. Instead use atomic load with acquire | |
17410 | barrier to read task->children.. | |
17411 | (gomp_barrier_handle_tasks): ..and matching atomic store with | |
17412 | release barrier here when setting parent->children to NULL. | |
17413 | ||
f34dea03 JJ |
17414 | 2013-01-16 Jakub Jelinek <jakub@redhat.com> |
17415 | Tobias Burnus <burnus@net-b.de> | |
17416 | ||
17417 | PR driver/55884 | |
17418 | * testsuite/libgomp.fortran/fortran.exp: Use | |
17419 | -fintrinsic-modules-path= instead of | |
17420 | -fintrinsic-modules-path. | |
17421 | ||
8129609c RS |
17422 | 2013-01-14 Richard Sandiford <rdsandiford@googlemail.com> |
17423 | ||
17424 | Update copyright years. | |
17425 | ||
aa86bf1e TB |
17426 | 2012-12-19 Tobias Burnus <burnus@net-b.de> |
17427 | ||
17428 | * testsuite/libgomp.fortran/fortran.exp: Set | |
17429 | -fintrinsic-modules-path. | |
17430 | ||
2865ea66 TB |
17431 | 2012-12-19 Tobias Burnus <burnus@net-b.de> |
17432 | ||
17433 | * testsuite/libgomp.fortran/use_intrinsic_1.f90: New; moved | |
17434 | from gcc/testsuite/gfortran.dg/gomp/use_intrinsic_1.f90. | |
17435 | ||
4c5ba8d0 JJ |
17436 | 2012-11-21 Jakub Jelinek <jakub@redhat.com> |
17437 | ||
17438 | PR libgomp/55411 | |
17439 | * team.c (gomp_free_thread): Decrease gomp_managed_threads | |
17440 | if pool had any threads_used. | |
17441 | ||
e9f958c2 JH |
17442 | 2012-11-07 Jack Howarth <howarth@bromo.med.uc.edu> |
17443 | ||
17444 | * testsuite/libgomp.c++/pr24455.C: Use | |
17445 | -Wl,-undefined,dynamic_lookup on darwin. | |
17446 | ||
a57d75dc DE |
17447 | 2012-11-07 David Edelsohn <dje.gcc@gmail.com> |
17448 | ||
17449 | * testsuite/libgomp.c++/pr24455.C: Use -Wl,-G on AIX. | |
17450 | ||
c6c08485 DH |
17451 | 2012-10-24 Dominique d'Humieres <dominiq@lps.ens.fr> |
17452 | ||
17453 | * testsuite/libgomp.graphite/force-parallel-6.c: Adjust the loops. | |
17454 | ||
c1f37c00 IB |
17455 | 2012-10-23 Ian Bolton <ian.bolton@arm.com> |
17456 | Jim MacArthur <jim.macarthur@arm.com> | |
17457 | Marcus Shawcroft <marcus.shawcroft@arm.com> | |
17458 | Nigel Stephens <nigel.stephens@arm.com> | |
17459 | Ramana Radhakrishnan <ramana.radhakrishnan@arm.com> | |
17460 | Richard Earnshaw <rearnsha@arm.com> | |
17461 | Sofiane Naci <sofiane.naci@arm.com> | |
17462 | Stephen Thomas <stephen.thomas@arm.com> | |
17463 | Tejas Belagod <tejas.belagod@arm.com> | |
17464 | Yufeng Zhang <yufeng.zhang@arm.com> | |
17465 | ||
17466 | * configure.tgt: Add AArch64. | |
17467 | ||
7c424acd JM |
17468 | 2012-10-04 Jason Merrill <jason@redhat.com> |
17469 | ||
17470 | * testsuite/libgomp.c++/tls-init1.C: New. | |
17471 | ||
6608378b DE |
17472 | 2012-09-14 David Edelsohn <dje.gcc@gmail.com> |
17473 | ||
17474 | * configure: Regenerated. | |
17475 | ||
c24dbebb CLT |
17476 | 2012-08-29 Chung-Lin Tang <cltang@codesourcery.com> |
17477 | ||
17478 | * config/linux/mips/futex.h (sys_futex0): Change to static | |
17479 | function with noinline, nomips16 attributes under MIPS16. Adjust | |
17480 | asm statement to place 'li v0,SYS_futex' immediately before | |
17481 | syscall insn. | |
17482 | ||
3d3949df SL |
17483 | 2012-07-04 Sandra Loosemore <sandra@codesourcery.com> |
17484 | ||
17485 | * libgomp.texi (Library Index): Renamed from "Index" to prevent | |
17486 | conflict with index.html on case-insensitive file systems. | |
17487 | ||
68a12ef3 UB |
17488 | 2012-07-03 Uros Bizjak <ubizjak@gmail.com> |
17489 | ||
17490 | * config/linux/x86/futex.h (cpu_relax): Use __builtin_ia32_pause. | |
17491 | * testsuite/libgomp.c/sort-1.c (busy_wait): Ditto. | |
17492 | ||
33ad93b9 | 17493 | 2012-07-02 Richard Guenther <rguenther@suse.de> |
68a12ef3 UB |
17494 | Michael Matz <matz@suse.de> |
17495 | Tobias Grosser <tobias@grosser.es> | |
17496 | Sebastian Pop <sebpop@gmail.com> | |
33ad93b9 RG |
17497 | |
17498 | * testsuite/libgomp.graphite/force-parallel-4.c: Adjust. | |
17499 | * testsuite/libgomp.graphite/force-parallel-5.c: Likewise. | |
17500 | * testsuite/libgomp.graphite/force-parallel-7.c: Likewise. | |
17501 | * testsuite/libgomp.graphite/force-parallel-8.c: Likewise. | |
17502 | ||
e6fdc918 AS |
17503 | 2012-06-28 Andreas Schwab <schwab@linux-m68k.org> |
17504 | ||
17505 | * libgomp.texi: Include gpl_v3.texi instead of gpl.texi. | |
17506 | ||
62e0a1ed RG |
17507 | 2012-06-22 Richard Guenther <rguenther@suse.de> |
17508 | ||
17509 | Merge from graphite branch | |
17510 | 2012-01-13 Tobias Grosser <tobias@grosser.es> | |
17511 | ||
17512 | * testsuite/libgomp.graphite/force-parallel-1.c: Adjust. | |
17513 | * testsuite/libgomp.graphite/force-parallel-2.c: Likewise. | |
17514 | ||
26127932 JJ |
17515 | 2012-06-07 Jakub Jelinek <jakub@redhat.com> |
17516 | ||
17517 | PR middle-end/53580 | |
17518 | * testsuite/libgomp.c/pr26943-2.c: Remove #pragma omp barrier, | |
17519 | use GOMP_barrier () call instead. | |
17520 | * testsuite/libgomp.c/pr26943-3.c: Likewise. | |
17521 | * testsuite/libgomp.c/pr26943-4.c: Likewise. | |
17522 | * testsuite/libgomp.fortran/vla4.f90: Remove !$omp barrier, | |
17523 | call GOMP_barrier instead. | |
17524 | * testsuite/libgomp.fortran/vla5.f90: Likewise. | |
17525 | ||
43fa5db5 JJ |
17526 | 2012-06-06 Jakub Jelinek <jakub@redhat.com> |
17527 | ||
17528 | PR libgomp/52993 | |
17529 | * config/linux/lock.c (gomp_init_nest_lock_25): Fix up last | |
17530 | argument to memset call. | |
17531 | ||
e6d5f8c9 L |
17532 | 2012-05-16 H.J. Lu <hongjiu.lu@intel.com> |
17533 | ||
17534 | * configure: Regenerated. | |
17535 | ||
559d990c MLI |
17536 | 2012-04-11 Manuel López-Ibáñez <manu@gcc.gnu.org> |
17537 | ||
17538 | * testsuite/lib/libgomp.exp: Add -fno-diagnostics-show-caret. | |
17539 | ||
b9c23a61 L |
17540 | 2012-03-31 H.J. Lu <hongjiu.lu@intel.com> |
17541 | ||
17542 | PR bootstrap/52812 | |
17543 | * configure.tgt (i[456]86-*-linux*): Handle -mx32 like -m64. | |
17544 | ||
c140ddf3 JJ |
17545 | 2012-03-22 Jakub Jelinek <jakub@redhat.com> |
17546 | ||
17547 | PR middle-end/52547 | |
17548 | * testsuite/libgomp.c/pr52547.c: New test. | |
17549 | ||
6a26a74d BRF |
17550 | 2012-03-16 Bernhard Reutner-Fischer <aldot@gcc.gnu.org> |
17551 | ||
17552 | * testsuite/lib/libgomp.exp: load fortran-modules.exp | |
17553 | ||
b24513a1 RO |
17554 | 2012-03-14 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
17555 | ||
17556 | * configure.tgt (mips-sgi-irix6*): Remove. | |
17557 | ||
5c30094f RO |
17558 | 2012-03-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
17559 | ||
17560 | * configure.tgt (alpha*-dec-osf*): Remove. | |
17561 | ||
17562 | * config/osf/sem.h: Remove. | |
17563 | * config/posix/lock.c (_XOPEN_SOURCE): Define unconditionally. | |
17564 | ||
a339c9d6 EB |
17565 | 2012-02-29 Eric Botcazou <ebotcazou@adacore.com> |
17566 | ||
17567 | * config/linux/sparc/futex.h (cpu_relax): Read from CC register. | |
17568 | ||
cc2de92d RO |
17569 | 2012-02-27 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
17570 | ||
17571 | PR libstdc++/52188 | |
17572 | * acinclude.m4 (LIBGOMP_ENABLE_SYMVERS): Remove symvers_renaming. | |
17573 | Remove ENABLE_SYMVERS_SOL2. | |
17574 | * configure: Regenerate. | |
17575 | * Makefile.am [LIBGOMP_BUILD_VERSIONED_SHLIB] (comma): New variable. | |
17576 | (PREPROCESS): New variable. | |
17577 | (libgomp.ver): New target. | |
17578 | [LIBGOMP_BUILD_VERSIONED_SHLIB && | |
17579 | LIBGOMP_BUILD_VERSIONED_SHLIB_GNU]: Remove | |
17580 | LIBGOMP_BUILD_VERSIONED_SHLIB_SOL2 handling. | |
17581 | Use libgomp.ver. | |
17582 | [LIBGOMP_BUILD_VERSIONED_SHLIB_SUN]: Use libgomp.ver, libgomp.ver-sun. | |
17583 | * Makefile.in: Regenerate. | |
17584 | ||
dd552284 WL |
17585 | 2012-02-14 Walter Lee <walt@tilera.com> |
17586 | ||
17587 | * configure.tgt: Handle tilegx and tilepro. | |
17588 | * config/linux/tile/futex.h: New file. | |
17589 | ||
31432e21 RG |
17590 | 2012-02-08 Richard Guenther <rguenther@suse.de> |
17591 | ||
17592 | PR tree-optimization/46886 | |
17593 | * testsuite/libgomp.c/pr46886.c: New testcase. | |
17594 | ||
b9264b5f MK |
17595 | 2012-01-25 Matthias Klose <doko@ubuntu.com> |
17596 | ||
17597 | * config/linux/arm: Remove empty directory. | |
17598 | * configure.tgt (config_path): Remove linux-arm for arm*-*-linux*. | |
17599 | ||
fbf7be80 AM |
17600 | 2011-12-09 Alan Modra <amodra@gmail.com> |
17601 | ||
17602 | PR libgomp/51376 | |
17603 | * task.c (GOMP_taskwait): Don't access task->children outside of | |
17604 | task_lock mutex region. | |
17605 | (GOMP_task): Likewise. | |
17606 | ||
5de62d00 JJ |
17607 | 2011-12-06 Jakub Jelinek <jakub@redhat.com> |
17608 | ||
17609 | PR libgomp/51132 | |
17610 | * testsuite/libgomp.graphite/force-parallel-1.c: Move large arrays | |
17611 | to file scope. | |
17612 | * testsuite/libgomp.graphite/force-parallel-3.c: Likewise. | |
17613 | * testsuite/libgomp.graphite/force-parallel-6.c: Likewise. | |
17614 | * testsuite/libgomp.graphite/force-parallel-7.c: Likewise. | |
17615 | * testsuite/libgomp.graphite/force-parallel-8.c: Likewise. | |
17616 | * testsuite/libgomp.graphite/force-parallel-9.c: Likewise. | |
17617 | ||
45608a43 AM |
17618 | 2011-12-02 Alan Modra <amodra@gmail.com> |
17619 | ||
17620 | * config/linux/affinity.c: Use atomic rather than sync builtin. | |
17621 | * config/linux/lock.c: Likewise. | |
17622 | * config/linux/ptrlock.h: Likewise. | |
17623 | * config/linux/ptrlock.c: Likewise. | |
17624 | * config/linux/ptrlock.h (gomp_ptrlock_set): Always write here.. | |
17625 | * config/linux/ptrlock.c (gomp_ptrlock_set_slow): ..not here. | |
17626 | * config/linux/futex.h (atomic_write_barrier): Delete unused function. | |
17627 | * config/linux/alpha/futex.h (atomic_write_barrier): Likewise. | |
17628 | * config/linux/ia64/futex.h (atomic_write_barrier): Likewise. | |
17629 | * config/linux/mips/futex.h (atomic_write_barrier): Likewise. | |
17630 | * config/linux/powerpc/futex.h (atomic_write_barrier): Likewise. | |
17631 | * config/linux/s390/futex.h (atomic_write_barrier): Likewise. | |
17632 | * config/linux/sparc/futex.h (atomic_write_barrier): Likewise. | |
17633 | * config/linux/x86/futex.h (atomic_write_barrier): Likewise. | |
17634 | ||
ab6dd406 AM |
17635 | 2011-11-30 Alan Modra <amodra@gmail.com> |
17636 | ||
17637 | PR libgomp/51298 | |
17638 | * config/linux/bar.h: Use atomic rather than sync builtins. | |
17639 | * config/linux/bar.c: Likewise. Add missing acquire | |
17640 | synchronisation on generation field. | |
17641 | * task.c (gomp_barrier_handle_tasks): Regain lock so as to not | |
17642 | double unlock. | |
17643 | ||
b40c885f AM |
17644 | 2011-11-30 Alan Modra <amodra@gmail.com> |
17645 | ||
17646 | * ordered.c (gomp_ordered_sync): Add MEMMODEL_ACQ_REL fence. | |
17647 | * critical.c (GOMP_critical_start): Add MEMMODEL_RELEASE fence. | |
17648 | * config/linux/mutex.h: Use atomic rather than sync builtins. | |
17649 | * config/linux/mutex.c: Likewise. Comment. Use -1 for waiting state. | |
17650 | * config/linux/omp-lock.h: Comment fix. | |
17651 | * config/linux/arm/mutex.h: Delete. | |
17652 | * config/linux/powerpc/mutex.h: Delete. | |
17653 | * config/linux/ia64/mutex.h: Delete. | |
17654 | * config/linux/mips/mutex.h: Delete. | |
17655 | ||
3e348fcc AM |
17656 | 2011-11-30 Alan Modra <amodra@gmail.com> |
17657 | ||
17658 | PR libgomp/51249 | |
17659 | * config/linux/sem.h: Rewrite. | |
17660 | * config/linux/sem.c: Rewrite. | |
17661 | ||
cef86eb2 RH |
17662 | 2011-11-28 Richard Henderson <rth@redhat.com> |
17663 | ||
17664 | * libgomp.h (enum memmodel): New. | |
17665 | ||
c6084f68 AT |
17666 | 2011-11-21 Andreas Tobler <andreast@fgznet.ch> |
17667 | ||
17668 | * configure: Regenerate. | |
17669 | ||
06fe026c MK |
17670 | 2011-10-10 Matthias Klose <doko@ubuntu.com> |
17671 | ||
17672 | * config/posix95: Remove empty directory. | |
17673 | ||
a6c975bd JJ |
17674 | 2011-08-26 Jakub Jelinek <jakub@redhat.com> |
17675 | ||
17676 | * testsuite/libgomp.fortran/threadprivate4.f90: New test. | |
17677 | ||
c26dffff JJ |
17678 | 2011-08-19 Jakub Jelinek <jakub@redhat.com> |
17679 | ||
17680 | PR fortran/49792 | |
17681 | * testsuite/libgomp.fortran/pr49792-1.f90: New test. | |
17682 | * testsuite/libgomp.fortran/pr49792-2.f90: New test. | |
17683 | ||
ddaad3c8 RO |
17684 | 2011-08-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
17685 | ||
17686 | * config/posix95/lock.c, posix95/omp-lock.h: Remove. | |
17687 | ||
98d03683 RO |
17688 | 2011-08-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
17689 | ||
17690 | PR libgomp/49965 | |
17691 | * testsuite/libgomp.c++/task-8.C: Replaced err by errval. | |
17692 | ||
e0b23d9f UB |
17693 | 2011-08-03 Uros Bizjak <ubizjak@gmail.com> |
17694 | ||
17695 | * config/linux/proc.h: New. | |
17696 | * config/linux/proc.c: Include "proc.h". Do not include <sched.h>. | |
17697 | (gomp_cpuset_popcount): Rename from cpuset_popcount. No more static. | |
17698 | (gomp_init_num_threads): Update call to cpuset_popcount. | |
17699 | (get_num_procs): Ditto. | |
17700 | * config/linux/affinity.c (gomp_init_affinity): Call | |
17701 | gomp_cpuset_popcount. | |
17702 | ||
20906c66 JJ |
17703 | 2011-08-02 Jakub Jelinek <jakub@redhat.com> |
17704 | ||
17705 | PR fortran/42041 | |
17706 | PR fortran/46752 | |
17707 | * omp.h.in (omp_in_final): New prototype. | |
17708 | * omp_lib.f90.in (omp_in_final): New interface. | |
17709 | (omp_integer_kind, omp_logical_kind): Remove | |
17710 | and replace all its uses in the module with 4. | |
17711 | (openmp_version): Change to 201107. | |
17712 | * omp_lib.h.in (omp_sched_static, omp_sched_dynamic, | |
17713 | omp_sched_guided, omp_sched_auto): Use omp_sched_kind | |
17714 | kind for the parameters. | |
17715 | (omp_in_final): New external. | |
17716 | (openmp_version): Change to 201107. | |
17717 | * task.c (omp_in_final): New function. | |
17718 | (gomp_init_task): Initialize final_task. | |
17719 | (GOMP_task): Remove unused attribute from flags. Handle final | |
17720 | tasks. | |
17721 | (GOMP_taskyield): New function. | |
17722 | (omp_in_final): Return true if if (false) or final (true) task | |
17723 | or descendant of final (true). | |
17724 | * fortran.c (omp_in_final_): New function. | |
17725 | * libgomp.map (OMP_3.1): Export omp_in_final and omp_in_final_. | |
17726 | (GOMP_3.0): Export GOMP_taskyield. | |
17727 | * env.c (gomp_nthreads_var_list, gomp_nthreads_var_list_len): New | |
17728 | variables. | |
17729 | (parse_unsigned_long_list): New function. | |
17730 | (initialize_env): Use it for OMP_NUM_THREADS. Call parse_boolean | |
17731 | with "OMP_PROC_BIND". If OMP_PROC_BIND=true, call gomp_init_affinity | |
17732 | even if parse_affinity returned false. | |
17733 | * config/linux/affinity.c (gomp_init_affinity): Handle | |
17734 | gomp_cpu_affinity_len == 0. | |
17735 | * libgomp_g.h (GOMP_taskyield): New prototype. | |
17736 | * libgomp.h (struct gomp_task): Add final_task field. | |
17737 | (gomp_nthreads_var_list, gomp_nthreads_var_list_len): New externs. | |
17738 | * team.c (gomp_team_start): Override new task's nthreads_var icv | |
17739 | if list form OMP_NUM_THREADS has been used and it has value for | |
17740 | the new nesting level. | |
17741 | ||
17742 | * testsuite/libgomp.c/atomic-11.c: New test. | |
17743 | * testsuite/libgomp.c/atomic-12.c: New test. | |
17744 | * testsuite/libgomp.c/atomic-13.c: New test. | |
17745 | * testsuite/libgomp.c/atomic-14.c: New test. | |
17746 | * testsuite/libgomp.c/reduction-6.c: New test. | |
17747 | * testsuite/libgomp.c/task-5.c: New test. | |
17748 | * testsuite/libgomp.c++/atomic-2.C: New test. | |
17749 | * testsuite/libgomp.c++/atomic-3.C: New test. | |
17750 | * testsuite/libgomp.c++/atomic-4.C: New test. | |
17751 | * testsuite/libgomp.c++/atomic-5.C: New test. | |
17752 | * testsuite/libgomp.c++/atomic-6.C: New test. | |
17753 | * testsuite/libgomp.c++/atomic-7.C: New test. | |
17754 | * testsuite/libgomp.c++/atomic-8.C: New test. | |
17755 | * testsuite/libgomp.c++/atomic-9.C: New test. | |
17756 | * testsuite/libgomp.c++/task-8.C: New test. | |
17757 | * testsuite/libgomp.c++/reduction-4.C: New test. | |
17758 | * testsuite/libgomp.fortran/allocatable7.f90: New test. | |
17759 | * testsuite/libgomp.fortran/allocatable8.f90: New test. | |
17760 | * testsuite/libgomp.fortran/crayptr3.f90: New test. | |
17761 | * testsuite/libgomp.fortran/omp_atomic3.f90: New test. | |
17762 | * testsuite/libgomp.fortran/omp_atomic4.f90: New test. | |
17763 | * testsuite/libgomp.fortran/pointer1.f90: New test. | |
17764 | * testsuite/libgomp.fortran/pointer2.f90: New test. | |
17765 | * testsuite/libgomp.fortran/task4.f90: New test. | |
17766 | ||
17767 | 2011-08-02 Tobias Burnus <burnus@net-b.de> | |
17768 | ||
17769 | * libgomp.texi: Update OpenMP spec references to 3.1. | |
17770 | (omp_in_final,OMP_PROC_BIND): New sections. | |
17771 | (OMP_NUM_THREADS): Document that the value can be now a list. | |
17772 | (GOMP_STACKSIZE,GOMP_CPU_AFFINITY): Update @ref. | |
17773 | ||
c01ecafc L |
17774 | 2011-08-02 H.J. Lu <hongjiu.lu@intel.com> |
17775 | ||
17776 | * config/linux/x86/futex.h: Check __x86_64__ instead of | |
17777 | __LP64__. | |
17778 | ||
25142650 JJ |
17779 | 2011-07-29 Jakub Jelinek <jakub@redhat.com> |
17780 | ||
17781 | PR middle-end/49897 | |
17782 | PR middle-end/49898 | |
17783 | * testsuite/libgomp.c/pr49897-1.c: New test. | |
17784 | * testsuite/libgomp.c/pr49897-2.c: New test. | |
17785 | * testsuite/libgomp.c/pr49898-1.c: New test. | |
17786 | * testsuite/libgomp.c/pr49898-2.c: New test. | |
17787 | ||
f53d712f L |
17788 | 2011-07-28 H.J. Lu <hongjiu.lu@intel.com> |
17789 | ||
17790 | * testsuite/lib/libgomp.exp (libgomp_init): Add -march=i486 | |
17791 | for ia32 instead of ilp32. | |
17792 | ||
17793 | * testsuite/libgomp.c/atomic-1.c: Require ia32 instead of ilp32. | |
17794 | * testsuite/libgomp.c/atomic-6.c: Likewise. | |
17795 | ||
3689198d SP |
17796 | 2011-07-23 Sebastian Pop <sebastian.pop@amd.com> |
17797 | ||
17798 | * testsuite/libgomp.graphite/force-parallel-1.c: Un-xfail. | |
17799 | * testsuite/libgomp.graphite/force-parallel-2.c: Adjust pattern. | |
17800 | ||
1a79cb73 RO |
17801 | 2011-07-25 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
17802 | ||
17803 | PR libgomp/45351 | |
17804 | * config/osf/sem.h: New file. | |
17805 | * configure.tgt (alpha*-dec-osf*): Prepend osf to config_path. | |
17806 | ||
c1f51484 RO |
17807 | 2011-07-18 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
17808 | ||
17809 | PR target/49541 | |
17810 | * testsuite/lib/libgomp.exp (libgomp_init): Don't add -lgomp to | |
17811 | ldflags. | |
17812 | ||
bfee0724 JJ |
17813 | 2011-07-15 Jakub Jelinek <jakub@redhat.com> |
17814 | ||
17815 | * config/linux/wait.h (do_spin): New inline, largely copied | |
17816 | from do_wait, just don't do futex_wait here, instead return true if | |
17817 | it should be done. | |
17818 | (do_wait): Implement using do_spin. | |
17819 | * config/linux/mutex.h (gomp_mutex_lock_slow): Add an int argument | |
17820 | to prototype. | |
17821 | (gomp_mutex_lock): Use __sync_val_compare_and_swap instead of | |
17822 | __sync_bool_compare_and_swap, pass the oldval to | |
17823 | gomp_mutex_lock_slow. | |
17824 | * config/linux/mutex.c (gomp_mutex_lock_slow): Add oldval argument. | |
17825 | If all mutex contenders are just spinning and not sleeping, don't | |
17826 | change state to 2 unnecessarily. Optimize the loop when state has | |
17827 | already become 2 to use just one atomic operation per loop instead | |
17828 | of two. | |
17829 | * config/linux/ia64/mutex.h (gomp_mutex_lock_slow): Add an int argument | |
17830 | to prototype. | |
17831 | (gomp_mutex_lock): Use __sync_val_compare_and_swap instead of | |
17832 | __sync_bool_compare_and_swap, pass the oldval to | |
17833 | gomp_mutex_lock_slow. | |
17834 | ||
fb79f500 JJ |
17835 | 2011-06-22 Jakub Jelinek <jakub@redhat.com> |
17836 | ||
17837 | PR libgomp/49490 | |
17838 | * iter.c (gomp_iter_static_next): For chunk size 0 | |
17839 | only use n ceil/ nthreads size for the first | |
17840 | n % nthreads threads in the team instead of | |
17841 | all threads except for the last few ones which | |
17842 | get less work or none at all. | |
17843 | * iter_ull.c (gomp_iter_ull_static_next): Likewise. | |
17844 | * env.c (parse_schedule): If OMP_SCHEDULE doesn't have | |
17845 | chunk argument, set run_sched_modifier to 0 for static | |
17846 | resp. 1 for other kinds. If chunk argument is 0 | |
17847 | and not static, set value to 1. | |
17848 | ||
4577f730 JJ |
17849 | 2011-05-19 Jakub Jelinek <jakub@redhat.com> |
17850 | ||
ea93a47b JJ |
17851 | PR c++/49043 |
17852 | * testsuite/libgomp.c++/pr49043.C: New test. | |
17853 | ||
4577f730 JJ |
17854 | PR c++/48869 |
17855 | * testsuite/libgomp.c++/pr48869.C: New test. | |
17856 | ||
e7385332 JJ |
17857 | 2011-05-06 Jakub Jelinek <jakub@redhat.com> |
17858 | ||
17859 | PR fortran/48894 | |
17860 | * fortran.c: Include limits.h. | |
17861 | (TO_INT): Define. | |
17862 | (omp_set_dynamic_8_, omp_set_num_threads_8_): Use !!*set instead of | |
17863 | *set. | |
17864 | (omp_set_num_threads_8_, omp_set_schedule_8_, | |
17865 | omp_set_max_active_levels_8_, omp_get_ancestor_thread_num_8_, | |
17866 | omp_get_team_size_8_): Use TO_INT macro. | |
17867 | * testsuite/libgomp.fortran/pr48894.f90: New test. | |
17868 | ||
20790697 JJ |
17869 | 2011-04-13 Jakub Jelinek <jakub@redhat.com> |
17870 | ||
17871 | PR middle-end/48591 | |
17872 | * testsuite/libgomp.c/pr48591.c: New test. | |
17873 | ||
bf382f5f RO |
17874 | 2011-03-21 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
17875 | ||
17876 | PR bootstrap/48135 | |
17877 | * acinclude.m4 (enable_symvers): Handle --disable-symvers. | |
17878 | * configure: Regenerate. | |
17879 | ||
113a53c1 JJ |
17880 | 2011-02-27 Jakub Jelinek <jakub@redhat.com> |
17881 | ||
17882 | PR fortran/47886 | |
17883 | * testsuite/libgomp.fortran/task3.f90: New test. | |
17884 | ||
0024f1af TB |
17885 | 2011-02-24 Tobias Burnus <burnus@net-b.de> |
17886 | ||
17887 | * libgomp.texi (GOMP_STACKSIZE): Fix @ref to OMP_STACKSIZE. | |
17888 | ||
21e1e594 JJ |
17889 | 2011-02-23 Jakub Jelinek <jakub@redhat.com> |
17890 | ||
17891 | PR libgomp/47854 | |
17892 | * libgomp.texi (omp_get_wtime): Don't say time in the past | |
17893 | must be Unix Epoch. | |
17894 | ||
67962076 JJ |
17895 | 2011-02-18 Jakub Jelinek <jakub@redhat.com> |
17896 | ||
17897 | PR libgomp/47804 | |
17898 | * testsuite/libgomp.fortran/fortran.exp: Check for both | |
17899 | libquadmath.a and libquadmath.${shlib_ext}. If neither exists, | |
17900 | but $blddir != "", still append ${blddir}/${lang_library_path} | |
17901 | to ld_library_path. | |
17902 | ||
3808007c TB |
17903 | 2011-02-16 Tobias Burnus <burnus@net-b.de> |
17904 | ||
17905 | PR libgomp/47758 | |
17906 | * testsuite/libgomp.fortran/fortran.exp: Check for the existence | |
17907 | of libquadmath.a before adding its libpath to ldflags. | |
17908 | ||
53b4d41d JJ |
17909 | 2011-02-14 Jakub Jelinek <jakub@redhat.com> |
17910 | ||
17911 | PR libgomp/47731 | |
17912 | * config/linux/futex.h (futex_wait): Pass NULL as timeout argument | |
17913 | to FUTEX_WAIT futex syscall. | |
17914 | * config/linux/wait.h: Include <futex.h> instead of "futex.h". | |
17915 | ||
029c8f3e RW |
17916 | 2011-02-13 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> |
17917 | ||
17918 | * configure: Regenerate. | |
17919 | ||
bddd6626 BK |
17920 | 2011-01-20 Benjamin Kosnik <bkoz@redhat.com> |
17921 | ||
17922 | PR libstdc++/36104 | |
17923 | * acinclude.m4 (LIBGOMP_ENABLE_SYMVERS): Accept gnu variants. | |
17924 | ||
f1d4ab26 GP |
17925 | 2011-01-16 Gerald Pfeifer |
17926 | ||
17927 | * configure.tgt (*-*-freebsd*): Add -lpthread to XLDFLAGS. | |
17928 | ||
2b503136 JJ |
17929 | 2010-12-14 Jakub Jelinek <jakub@redhat.com> |
17930 | ||
17931 | PR fortran/46874 | |
17932 | * libgomp.fortran/allocatable6.f90: New test. | |
17933 | ||
c0f9d583 RO |
17934 | 2010-12-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
17935 | ||
17936 | * acinclude.m4 (symvers_renaming): Also set if enable_symvers = no. | |
17937 | * configure: Regenerate. | |
17938 | ||
7de6ba7a DK |
17939 | 2010-12-06 Dave Korn <dave.korn.cygwin@gmail.com> |
17940 | ||
17941 | PR target/40125 | |
17942 | PR lto/46695 | |
17943 | * configure.ac: Invoke ACX_LT_HOST_FLAGS. | |
17944 | * Makefile.am (libgomp_la_LDFLAGS): Use lt_host_flags. | |
17945 | * aclocal.m4: Regenerate. | |
17946 | * configure: Regenerate. | |
17947 | * Makefile.in: Regenerate. | |
17948 | * testsuite/Makefile.in: Regenerate. | |
17949 | ||
b7516041 JJ |
17950 | 2010-12-02 Jakub Jelinek <jakub@redhat.com> |
17951 | ||
edaadf74 JJ |
17952 | PR fortran/46753 |
17953 | * libgomp.fortran/pr46753.f90: New test. | |
17954 | ||
4c698cf8 JJ |
17955 | PR libgomp/43706 |
17956 | * env.c (initialize_env): Default to spin count 300000 | |
17957 | instead of 20000000 if neither OMP_WAIT_POLICY nor GOMP_SPINCOUNT | |
17958 | is specified. | |
17959 | ||
b7516041 JJ |
17960 | PR libgomp/45240 |
17961 | * parallel.c (GOMP_parallel_end): Unlock gomp_remaining_threads_lock | |
17962 | at the end if sync builtins aren't supported. | |
17963 | ||
6b43a34c RO |
17964 | 2010-12-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
17965 | ||
17966 | * configure.tgt (mips-sgi-irix6*): Add -lpthread to XLDFLAGS. | |
17967 | ||
950691fa RO |
17968 | 2010-12-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
17969 | ||
17970 | * testsuite/libgomp.fortran/vla8.f90: Use dg-timeout-factor 2.0. | |
17971 | ||
fb9041ea IS |
17972 | 2010-11-24 Iain Sandoe <iains@gcc.gnu.org> |
17973 | ||
17974 | * testsuite/libgomp.fortran/fortran.exp: Add paths for libquadmath. | |
17975 | ||
1ec601bf FXC |
17976 | 2010-11-16 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org> |
17977 | Tobias Burnus <burnus@net-b.de> | |
17978 | ||
17979 | PR fortran/32049 | |
3e348fcc | 17980 | * configure.ac: |
1ec601bf FXC |
17981 | * configure: Regenerate. |
17982 | ||
d213e92e MS |
17983 | 2010-10-06 Marcus Shawcroft <marcus.shawcroft@arm.com> |
17984 | ||
17985 | * config/linux/futex.h: New. | |
17986 | * config/linux/arm/mutex.h: New. | |
17987 | * configure.tgt (arm*-*-linux*): Add config path. | |
17988 | ||
89d5c66f SP |
17989 | 2010-09-30 Sebastian Pop <sebastian.pop@amd.com> |
17990 | ||
17991 | * testsuite/libgomp.graphite/force-parallel-1.c: Adjust. | |
17992 | ||
87350d4a TB |
17993 | 2010-09-23 Tobias Burnus <burnus@net-b.de> |
17994 | ||
17995 | * libgomp.texi (omp_get_nested, omp_set_nested, omp_set_dynamic): | |
17996 | Change Fortran datatype to LOGICAL. | |
17997 | (omp_set_lock, omp_test_lock, omp_unset_lock, omp_set_nested_lock, | |
17998 | omp_unset_nested_lock): Use intent(inout) instead of intent(out). | |
17999 | ||
75bc9e5e RW |
18000 | 2010-08-21 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> |
18001 | ||
18002 | * configure: Regenerate. | |
18003 | ||
acb5c916 JJ |
18004 | 2010-07-26 Jakub Jelinek <jakub@redhat.com> |
18005 | ||
18006 | * libgomp.texi: Add function keyword to a couple of Fortran | |
18007 | interfaces, use integer instead of int for Fortran. | |
18008 | ||
6a2ba183 AH |
18009 | 2010-07-26 Aldy Hernandez <aldyh@redhat.com> |
18010 | ||
18011 | * libgomp.texi: Fix spelling and pasto problems throughout. | |
18012 | Adjust prototypes to match code. | |
18013 | ||
df161b69 TB |
18014 | 2010-07-24 Tobias Burnus <burnus@net-b.de> |
18015 | ||
18016 | * testsuite/libgomp.fortran/appendix-a/a.28.5.f90: Add -w to | |
18017 | silence -fwhole-file warning. | |
18018 | ||
16c9d3b1 RO |
18019 | 2010-07-23 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
18020 | ||
18021 | * configure.tgt (*-*-solaris2.[56]*): Removed. | |
18022 | ||
6d28b933 RO |
18023 | 2010-07-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
18024 | ||
18025 | * acinclude.m4 (LIBGOMP_ENABLE_SYMVERS): Handle sun style. | |
18026 | Define LIBGOMP_BUILD_VERSIONED_SHLIB_GNU, | |
18027 | LIBGOMP_BUILD_VERSIONED_SHLIB_SUN automake conditionals. | |
18028 | (HAVE_SYMVER_SYMBOL_RENAMING_RUNTIME_SUPPORT): Define unless | |
18029 | targetting solaris2*. | |
18030 | * configure: Regenerate. | |
18031 | * config.h.in: Regenerate. | |
18032 | ||
18033 | * Makefile.am [LIBGOMP_BUILD_VERSIONED_SHLIB]: Protect | |
18034 | libgomp_version_script with LIBGOMP_BUILD_VERSIONED_SHLIB_GNU. | |
18035 | Add libgomp_version_dep. | |
18036 | [LIBGOMP_BUILD_VERSIONED_SHLIB_SUN]: Handle Sun symbol | |
18037 | versioning. | |
18038 | [!LIBGOMP_BUILD_VERSIONED_SHLIB]: Add libgomp_version_dep. | |
18039 | (libgomp_la_DEPENDENCIES): Set to $(libgomp_version_dep). | |
18040 | * Makefile.in: Regenerate. | |
18041 | ||
18042 | * libgomp.h (LIBGOMP_GNU_SYMBOL_VERSIONING): Undef unless | |
18043 | HAVE_SYMVER_SYMBOL_RENAMING_RUNTIME_SUPPORT. | |
18044 | * libgomp.map (OMP_1.0): Move symbols both in OMP_1.0 and OMP_3.0 | |
18045 | to common block, protected by | |
18046 | HAVE_SYMVER_SYMBOL_RENAMING_RUNTIME_SUPPORT. | |
18047 | ||
07a67d6a GP |
18048 | 2010-06-10 Gerald Pfeifer <gerald@pfeifer.com> |
18049 | ||
18050 | * libgomp.texi: Move to GFDL version 1.3. Update copyright years. | |
18051 | ||
dbd34b89 IS |
18052 | 2010-06-09 Iain Sandoe <iains@gcc.gnu.org> |
18053 | ||
18054 | PR bootstrap/43170 | |
18055 | * configure: Regenerate. | |
18056 | ||
13917ae3 RW |
18057 | 2010-05-04 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> |
18058 | ||
18059 | PR other/43620 | |
18060 | * configure.ac (AM_INIT_AUTOMAKE): Add no-dist. | |
18061 | * configure: Regenerate. | |
18062 | * Makefile.in: Regenerate. | |
18063 | * testsuite/Makefile.in: Regenerate. | |
18064 | ||
b83a701b JJ |
18065 | 2010-04-26 Jakub Jelinek <jakub@redhat.com> |
18066 | ||
18067 | PR c/43893 | |
18068 | * testsuite/libgomp.c/pr43893.c: New test. | |
18069 | * testsuite/libgomp.c++/pr43893.C: New test. | |
18070 | ||
78db7d92 JJ |
18071 | 2010-04-21 Jakub Jelinek <jakub@redhat.com> |
18072 | ||
18073 | PR middle-end/43570 | |
18074 | * testsuite/libgomp.fortran/vla8.f90: New test. | |
18075 | ||
5221d7a9 JJ |
18076 | 2010-04-20 Jakub Jelinek <jakub@redhat.com> |
18077 | ||
e4ba7a60 JJ |
18078 | PR libgomp/43706 |
18079 | * config/linux/affinity.c (gomp_init_affinity): Decrease | |
18080 | gomp_available_cpus if affinity mask confines the process to fewer | |
18081 | CPUs. | |
18082 | * config/linux/proc.c (get_num_procs): If gomp_cpu_affinity is | |
18083 | non-NULL, just return gomp_available_cpus. | |
18084 | ||
5221d7a9 JJ |
18085 | PR libgomp/43569 |
18086 | * sections.c (gomp_sections_init): Initialize ws->mode. | |
18087 | ||
289a9f86 UB |
18088 | 2010-04-14 Uros Bizjak <ubizjak@gmail.com> |
18089 | ||
18090 | * acinclude.m4 (LIBGOMP_CHECK_SYNC_BUILTINS): Remove set but | |
18091 | not unused bar variable. | |
18092 | * configure: Regenerate. | |
18093 | ||
4d9e8446 RW |
18094 | 2010-04-02 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> |
18095 | ||
18096 | * Makefile.in: Regenerate. | |
18097 | * aclocal.m4: Regenerate. | |
18098 | * testsuite/Makefile.in: Regenerate. | |
18099 | ||
80f046cc JJ |
18100 | 2010-03-22 Jakub Jelinek <jakub@redhat.com> |
18101 | ||
18102 | PR libgomp/42942 | |
18103 | * env.c (parse_unsigned_long): Add ALLOW_ZERO argument. | |
18104 | (initialize_env): Adjust callers. | |
18105 | (omp_set_max_active_levels): Set gomp_max_active_levels_var even | |
18106 | when the argument is 0. | |
18107 | ||
18108 | * testsuite/libgomp.c/pr42942.c: New test. | |
18109 | ||
b58543c3 SP |
18110 | 2010-03-08 Tobias Grosser <grosser@fim.uni-passau.de> |
18111 | ||
18112 | PR middle-end/42644 | |
18113 | PR middle-end/42130 | |
18114 | * testsuite/libgomp.graphite/force-parallel-1.c: Adjust. | |
18115 | * testsuite/libgomp.graphite/force-parallel-2.c: Adjust. | |
18116 | ||
41d1138f RO |
18117 | 2010-01-29 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
18118 | ||
18119 | * testsuite/libgomp.c++/task-1.C: Renamed err to e. | |
18120 | * testsuite/libgomp.c++/task-6.C: Likewise. | |
18121 | ||
6684eb28 SE |
18122 | 2010-01-28 Steve Ellcey <sje@cup.hp.com> |
18123 | ||
18124 | * configure.tgt (*-*-hpux*): Add -frandom-seed flag. | |
18125 | ||
2122aa97 PB |
18126 | 2010-01-26 Paolo Bonzini <bonzini@gnu.org> |
18127 | ||
18128 | * configure.ac: Test for executability of _the first word_ of GFORTRAN. | |
18129 | * configure: Regenerate. | |
18130 | ||
057dd91d JJ |
18131 | 2010-01-26 Jakub Jelinek <jakub@redhat.com> |
18132 | ||
18133 | PR fortran/42866 | |
18134 | * testsuite/libgomp.fortran/allocatable5.f90: New test. | |
18135 | ||
d0709b6a PB |
18136 | 2010-01-20 Paolo Bonzini <bonzini@gnu.org> |
18137 | ||
18138 | * configure.ac: Test for executability of GFORTRAN. | |
18139 | * configure: Regenerate. | |
18140 | ||
b9497ab5 RO |
18141 | 2010-01-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
18142 | ||
18143 | * configure: Regenerate. | |
18144 | ||
45de5648 L |
18145 | 2010-01-04 H.J. Lu <hongjiu.lu@intel.com> |
18146 | ||
18147 | PR libgomp/42602 | |
18148 | * libgomp.fortran/recursion1.f90 (sub): Make 's' atomic. | |
18149 | ||
e74003a1 RG |
18150 | 2010-01-03 Richard Guenther <rguenther@suse.de> |
18151 | ||
18152 | * testsuite/libgomp.fortran/recursion1.f90: New testcase. | |
18153 | ||
1b3abda8 SP |
18154 | 2009-12-23 Sebastian Pop <sebpop@gmail.com> |
18155 | ||
18156 | * testsuite/libgomp.graphite/pr4118.c: New. | |
18157 | ||
e19977d3 IS |
18158 | 2009-12-22 Iain Sandoe <iain.sandoe@sandoe-acoustics.co.uk> |
18159 | ||
18160 | * testsuite/libgomp.fortran/crayptr2.f90: Remove forced static linkage | |
18161 | for darwin, protect the test with require-effective-target tls_runtime. | |
18162 | * testsuite/libgomp.fortran/pr32550.f90: Ditto. | |
18163 | ||
1d32a772 IS |
18164 | 2009-12-22 Iain Sandoe <iain.sandoe@sandoe-acoustics.co.uk> |
18165 | ||
18166 | PR target/41605 | |
18167 | * testsuite/lib/libgomp.exp: Provide -B options to allow for | |
18168 | link spec %s substitutions for static libraries. | |
18169 | ||
deb109b2 JH |
18170 | 2009-12-18 Jack Howarth <howarth@bromo.med.uc.edu> |
18171 | ||
18172 | PR testsuite/42135 | |
18173 | * libgomp.graphite/force-parallel-2.c: Reduce array size. | |
18174 | ||
43e02a8a RW |
18175 | 2009-12-05 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> |
18176 | ||
18177 | * Makefile.in: Regenerate. | |
18178 | * configure: Regenerate. | |
18179 | * testsuite/Makefile.in: Regenerate. | |
18180 | ||
17f35e23 DK |
18181 | 2009-11-30 Dave Korn <dave.korn.cygwin@gmail.com> |
18182 | ||
18183 | * testsuite/lib/libgomp.exp (libgomp_init): Add host-dependent | |
18184 | settings for LC_ALL and LANG. | |
18185 | ||
281e33e1 JJ |
18186 | 2009-11-25 Jakub Jelinek <jakub@redhat.com> |
18187 | ||
18188 | PR fortran/42162 | |
18189 | * testsuite/libgomp.fortran/pr42162.f90: New test. | |
18190 | ||
2b32c27d JJ |
18191 | 2009-11-13 Jakub Jelinek <jakub@redhat.com> |
18192 | ||
18193 | PR middle-end/42029 | |
281e33e1 | 18194 | * testsuite/libgomp.c/pr42029.c: New test. |
2b32c27d | 18195 | |
89c74f4a JJ |
18196 | 2009-10-26 Jakub Jelinek <jakub@redhat.com> |
18197 | ||
18198 | * acinclude.m4 (LIBGOMP_CHECK_LINKER_FEATURES): Avoid using too many | |
18199 | *s. Accept ld version without text in ()s. | |
18200 | * configure: Regenerated. | |
18201 | ||
7e06c3d6 EB |
18202 | 2009-10-22 Razya Ladelsky <razya@il.ibm.com> |
18203 | ||
18204 | * testsuite/libgomp.graphite/force-parallel-2.c: Adjust scan. | |
18205 | ||
0046b1a7 RW |
18206 | 2009-10-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> |
18207 | ||
18208 | PR libgomp/41418 | |
18209 | * configure.ac: Set FC to "no" if $GFORTRAN starts with "no" | |
18210 | or a hyphen (happens with fortran language disabled). | |
18211 | * configure: Regenerate. | |
18212 | ||
c82852f7 RW |
18213 | 2009-09-30 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> |
18214 | ||
18215 | * acinclude.m4 (LIBGOMP_CHECK_LINKER_FEATURES): Avoid 'head', | |
18216 | use sed script portable to Solaris /bin/sed for extracting ld | |
18217 | version. | |
18218 | * configure: Regenerate. | |
18219 | ||
98f3eb1f AM |
18220 | 2009-09-17 Alexander Monakov <amonakov@ispras.ru> |
18221 | ||
18222 | * testsuite/libgomp.graphite/bounds.c: New test. | |
18223 | ||
878f62e5 RW |
18224 | 2009-09-11 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> |
18225 | ||
18226 | * Makefile.am (libgomp_la_LINK): New. | |
18227 | * Makefile.in: Regenerate. | |
18228 | ||
df58e648 RW |
18229 | 2009-08-24 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> |
18230 | ||
18231 | * configure.ac (AC_PREREQ): Bump to 2.64. | |
18232 | ||
5213506e RW |
18233 | 2009-08-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> |
18234 | ||
70fa0efa RW |
18235 | * Makefile.am (install-html, install-pdf): Remove. |
18236 | * Makefile.in: Regenerate. | |
18237 | ||
5213506e RW |
18238 | * Makefile.in: Regenerate. |
18239 | * aclocal.m4: Regenerate. | |
18240 | * config.h.in: Regenerate. | |
18241 | * configure: Regenerate. | |
18242 | * testsuite/Makefile.in: Regenerate. | |
18243 | ||
84fec8a5 RW |
18244 | 2009-08-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> |
18245 | ||
18246 | * Makefile.am (LINK): Add $(AM_LIBTOOLFLAGS) and $(LIBTOOLFLAGS). | |
18247 | * Makefile.in: Regenerate. | |
18248 | ||
197c68cc DK |
18249 | 2009-08-20 Dave Korn <dave.korn.cygwin@gmail.com> |
18250 | ||
18251 | * Makefile.am (libgomp_la_LDFLAGS): Add -bindir flag. | |
18252 | * Makefile.in: Regenerate. | |
18253 | ||
693d54f2 TB |
18254 | 2009-08-19 Tobias Burnus <burnus@net-b.de> |
18255 | ||
18256 | PR fortran/41102 | |
18257 | omp_lib.h.in: Fix -std=f95 errors. | |
18258 | ||
8cac884c DE |
18259 | 2009-08-14 David Edelsohn <edelsohn@gnu.org> |
18260 | ||
18261 | * testsuite/libgomp.graphite: Move from gcc.dg/graphite. | |
18262 | * testsuite/libgomp.graphite/graphite_autopar.exp: Delete. | |
18263 | * testsuite/libgomp.graphite/graphite.exp: New. | |
18264 | ||
78729ee2 AT |
18265 | 2009-08-05 Andreas Tobler <a.tobler@schweiz.org> |
18266 | ||
18267 | * testsuite/libgomp.fortran/fortran.exp: Add flags in case of shared | |
18268 | only build. | |
18269 | ||
b13b7f39 DD |
18270 | 2009-08-04 David Daney <ddaney@caviumnetworks.com> |
18271 | ||
18272 | * config/linux/mutex.h (gomp_mutex_unlock): Add comment about | |
18273 | needed memory barrier semantics. | |
18274 | * config/linux/mips/mutex.h: New file. | |
18275 | ||
1b3b24c2 RW |
18276 | 2009-07-30 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> |
18277 | ||
18278 | * configure.ac (_AC_ARG_VAR_PRECIOUS): Use m4_rename_force. | |
18279 | ||
396b7fa4 JM |
18280 | 2009-07-16 Joseph Myers <joseph@codesourcery.com> |
18281 | ||
18282 | * configure: Regenerate. | |
18283 | ||
33cde516 RS |
18284 | 2009-07-11 Richard Sandiford <rdsandiford@googlemail.com> |
18285 | ||
18286 | PR testsuite/40699 | |
18287 | PR testsuite/40707 | |
18288 | PR testsuite/40709 | |
18289 | * testsuite/lib/libgomp.exp: Revert 2009-07-02 and 2009-06-30 commits. | |
18290 | * testsuite/libgomp.c/c.exp, testsuite/libgomp.c++/c++.exp, | |
18291 | testsuite/libgomp.fortran/fortran.exp: Revert 2009-06-30 commits. | |
18292 | ||
bc21bfa5 RS |
18293 | 2009-07-02 Richard Sandiford <r.sandiford@uk.ibm.com> |
18294 | ||
18295 | * testsuite/lib/libgomp.exp (libgomp_init): Use the ALWAYS_CFLAGS | |
18296 | options when choosing a multilib. | |
18297 | ||
b30bfd40 RS |
18298 | 2009-06-30 Richard Sandiford <r.sandiford@uk.ibm.com> |
18299 | ||
18300 | * testsuite/lib/libgomp.exp (libgomp_init): Don't add "." to | |
18301 | ld_library_path. Use add_path. Add just find_libgcc_s to | |
18302 | ld_library_path, not every libgcc multilib directory. | |
18303 | * testsuite/libgomp.c/c.exp (ld_library_path): Don't call | |
18304 | gcc-set-multilib-library-path; rely on $always_ld_library_path instead. | |
18305 | * testsuite/libgomp.c++/c++.exp (ld_library_path): Likewise. | |
18306 | Use add_path. | |
18307 | * testsuite/libgomp.fortran/fortran.exp (ld_library_path): Likewise. | |
18308 | ||
479c15c2 NF |
18309 | 2009-06-09 Nathan Froyd <froydnj@codesourcery.com> |
18310 | ||
18311 | * Makefile.am (LTLDFLAGS): Define. | |
18312 | (LINK): Define. | |
18313 | * Makefile.in: Regenerate. | |
18314 | ||
667e6f89 JB |
18315 | 2009-05-27 Janne Blomqvist <jb@gcc.gnu.org> |
18316 | ||
18317 | PR fortran/39718 | |
18318 | * testsuite/libgomp.fortran/fortran.exp: Don't link with | |
18319 | libgfortranbegin, check existence of libgfortran.a instead of | |
18320 | libgfortranbegin.a. | |
18321 | ||
6dea8e99 JJ |
18322 | 2009-05-20 Jakub Jelinek <jakub@redhat.com> |
18323 | ||
18324 | PR libgomp/40174 | |
18325 | * team.c (gomp_thread_start): Destroy thr->release semaphore. | |
18326 | (gomp_free_pool_helper): Likewise. | |
18327 | ||
34d01e1d VL |
18328 | 2009-04-20 Vasilis Liaskovitis <vliaskov@gmail.com> |
18329 | Jakub Jelinek <jakub@redhat.com> | |
18330 | ||
18331 | PR fortran/35423 | |
18332 | * testsuite/libgomp.fortran/workshare2.f90: New test. | |
18333 | ||
748086b7 JJ |
18334 | 2009-04-09 Nick Clifton <nickc@redhat.com> |
18335 | ||
18336 | * iter.c: Change copyright header to refer to version 3 of the | |
18337 | GNU General Public License with version 3.1 of the GCC Runtime | |
18338 | Library Exception and to point readers at the COPYING3 and | |
18339 | COPYING3.RUNTIME files and the FSF's license web page. | |
18340 | * alloc.c: Likewise. | |
18341 | * barrier.c: Likewise. | |
18342 | * config/bsd/proc.c: Likewise. | |
18343 | * config/linux/affinity.c: Likewise. | |
18344 | * config/linux/alpha/futex.h: Likewise. | |
18345 | * config/linux/bar.c: Likewise. | |
18346 | * config/linux/bar.h: Likewise. | |
18347 | * config/linux/ia64/futex.h: Likewise. | |
18348 | * config/linux/ia64/mutex.h: Likewise. | |
18349 | * config/linux/lock.c: Likewise. | |
18350 | * config/linux/mips/futex.h: Likewise. | |
18351 | * config/linux/mutex.c: Likewise. | |
18352 | * config/linux/mutex.h: Likewise. | |
18353 | * config/linux/powerpc/futex.h: Likewise. | |
18354 | * config/linux/proc.c: Likewise. | |
18355 | * config/linux/ptrlock.c: Likewise. | |
18356 | * config/linux/ptrlock.h: Likewise. | |
18357 | * config/linux/s390/futex.h: Likewise. | |
18358 | * config/linux/sem.c: Likewise. | |
18359 | * config/linux/sem.h: Likewise. | |
18360 | * config/linux/sparc/futex.h: Likewise. | |
18361 | * config/linux/wait.h: Likewise. | |
18362 | * config/linux/x86/futex.h: Likewise. | |
18363 | * config/mingw32/proc.c: Likewise. | |
18364 | * config/mingw32/time.c: Likewise. | |
18365 | * config/posix/affinity.c: Likewise. | |
18366 | * config/posix/bar.c: Likewise. | |
18367 | * config/posix/bar.h: Likewise. | |
18368 | * config/posix/lock.c: Likewise. | |
18369 | * config/posix/mutex.h: Likewise. | |
18370 | * config/posix/proc.c: Likewise. | |
18371 | * config/posix/ptrlock.h: Likewise. | |
18372 | * config/posix/sem.c: Likewise. | |
18373 | * config/posix/sem.h: Likewise. | |
18374 | * config/posix/time.c: Likewise. | |
18375 | * config/posix95/lock.c: Likewise. | |
18376 | * critical.c: Likewise. | |
18377 | * env.c: Likewise. | |
18378 | * error.c: Likewise. | |
18379 | * fortran.c: Likewise. | |
18380 | * iter_ull.c: Likewise. | |
18381 | * libgomp.h: Likewise. | |
18382 | * libgomp_f.h.in: Likewise. | |
18383 | * libgomp_g.h: Likewise. | |
18384 | * loop.c: Likewise. | |
18385 | * loop_ull.c: Likewise. | |
18386 | * omp.h.in: Likewise. | |
18387 | * omp_lib.f90.in: Likewise. | |
18388 | * omp_lib.h.in: Likewise. | |
18389 | * ordered.c: Likewise. | |
18390 | * parallel.c: Likewise. | |
18391 | * sections.c: Likewise. | |
18392 | * single.c: Likewise. | |
18393 | * task.c: Likewise. | |
18394 | * team.c: Likewise. | |
18395 | * work.c: Likewise. | |
18396 | ||
18397 | 2009-04-09 Jakub Jelinek <jakub@redhat.com> | |
18398 | ||
18399 | * testsuite/config/default.exp: Change copyright header to refer to | |
18400 | version 3 of the GNU General Public License and to point readers | |
18401 | at the COPYING3 file and the FSF's license web page. | |
18402 | ||
4f0ae266 JJ |
18403 | 2009-04-08 Jakub Jelinek <jakub@redhat.com> |
18404 | ||
18405 | PR middle-end/39573 | |
18406 | * libgomp.c++/pr39573.C: New test. | |
18407 | ||
03742a9b JJ |
18408 | 2009-04-01 Jakub Jelinek <jakub@redhat.com> |
18409 | ||
18410 | PR other/39591 | |
18411 | * testsuite/libgomp.c/pr39591-1.c: New test. | |
18412 | * testsuite/libgomp.c/pr39591-2.c: New test. | |
18413 | * testsuite/libgomp.c/pr39591-3.c: New test. | |
18414 | ||
e50ea10b UB |
18415 | 2009-03-25 Uros Bizjak <ubizjak@gmail.com> |
18416 | ||
18417 | * testsuite/libgomp.c/atomic-5.c: Cleanup cpuid usage. | |
18418 | * testsuite/libgomp.c/atomic-6.c: Ditto. | |
18419 | ||
c5cdb03f JJ |
18420 | 2009-03-23 Jakub Jelinek <jakub@redhat.com> |
18421 | ||
18422 | PR c/39495 | |
18423 | * testsuite/libgomp.c/loop-12.c: New test. | |
18424 | * testsuite/libgomp.c/loop-11.c: New test. | |
18425 | * testsuite/libgomp.c++/loop-11.C: New test. | |
18426 | * testsuite/libgomp.c++/loop-12.C: New test. | |
18427 | * testsuite/libgomp.c++/for-8.C: New test. | |
18428 | ||
7a9d3fe8 RW |
18429 | 2009-03-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> |
18430 | ||
18431 | * configure: Regenerate. | |
18432 | ||
3ad6b266 JJ |
18433 | 2009-02-11 Jakub Jelinek <jakub@redhat.com> |
18434 | ||
18435 | PR middle-end/39154 | |
18436 | * testsuite/libgomp.c/pr39154.c: New test. | |
18437 | ||
b39dea08 ILT |
18438 | 2009-01-30 Ian Lance Taylor <iant@google.com> |
18439 | ||
18440 | * acinclude.m4 (LIBCOMP_CHECK_LINKER_FEATURES): Set | |
18441 | libgomp_ld_is_gold. Get gold version number. | |
18442 | (LIBGOMP_ENABLE_SYMVERS): Gold always support symbol versioning. | |
18443 | * configure: Rebuild. | |
18444 | ||
72c66596 IS |
18445 | 2009-01-19 Iain Sandoe <iain.sandoe@sandoe-acoustics.co.uk> |
18446 | ||
e50ea10b | 18447 | * testsuite/lib/libgomp.exp: Add -B option for targets that |
72c66596 IS |
18448 | use libgfortran.a%s in their specs. |
18449 | ||
876080ff JJ |
18450 | 2009-01-07 Jakub Jelinek <jakub@redhat.com> |
18451 | ||
18452 | PR libgomp/38086 | |
18453 | * acinclude.m4 (HAVE_AS_SYMVER_DIRECTIVE): New check. | |
18454 | * libgomp.h (LIBGOMP_GNU_SYMBOL_VERSIONING): Undefine if | |
18455 | HAVE_AS_SYMVER_DIRECTIVE is not defined. | |
18456 | * configure: Regenerated. | |
18457 | * config.h.in: Likewise. | |
18458 | ||
e4ebaef3 JJ |
18459 | 2008-12-28 Jakub Jelinek <jakub@redhat.com> |
18460 | ||
18461 | PR c++/38650 | |
18462 | * testsuite/libgomp.c/pr38650.c: New test. | |
18463 | * testsuite/libgomp.c++/pr38650.C: New test. | |
18464 | ||
382017a6 JJ |
18465 | 2008-12-27 Jakub Jelinek <jakub@redhat.com> |
18466 | ||
18467 | * testsuite/libgomp.c/collapse-1.c (main): Add private(k) clause. | |
18468 | ||
79644b27 UB |
18469 | 2008-12-26 Uros Bizjak <ubizjak@gmail.com> |
18470 | ||
18471 | * testsuite/libgomp.c/atomic-6.c: Add -mieee for alpha*-*-* targets. | |
18472 | ||
baafc534 RW |
18473 | 2008-12-18 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> |
18474 | ||
18475 | * configure: Regenerate. | |
18476 | ||
d9c194cb JJ |
18477 | 2008-12-08 Jakub Jelinek <jakub@redhat.com> |
18478 | ||
18479 | PR middle-end/36802 | |
18480 | * testsuite/libgomp.c/pr36802-1.c: New test. | |
18481 | * testsuite/libgomp.c/pr36802-2.c: New test. | |
18482 | * testsuite/libgomp.c/pr36802-3.c: New test. | |
18483 | ||
86a182bf JJ |
18484 | 2008-12-01 Janis Johnson <janis187@us.ibm.com> |
18485 | ||
18486 | PR libgomp/38270 | |
18487 | * config/linux/powerpc/mutex.h: New. | |
18488 | ||
956adfaf JJ |
18489 | 2008-12-01 Jakub Jelinek <jakub@redhat.com> |
18490 | ||
a2d4cdc9 JJ |
18491 | PR c++/38257 |
18492 | * testsuite/libgomp.c++/for-7.C: New test. | |
18493 | ||
956adfaf JJ |
18494 | PR c++/38348 |
18495 | * testsuite/libgomp.c++/for-6.C: New test. | |
18496 | ||
d4038ca2 JJ |
18497 | 2008-11-26 Janis Johnson <janis187@us.ibm.com> |
18498 | ||
18499 | PR testsuite/28870 | |
18500 | * testsuite/lib/libgomp.exp: Include new timeout library files. | |
18501 | (libgomp_target_compile): Set timeout value from new proc. | |
18502 | ||
8b159eea SE |
18503 | 2008-11-13 Steve Ellcey <sje@cup.hp.com> |
18504 | ||
18505 | PR libgomp/37938 | |
18506 | * config/linux/ia64/mutex.h: New. | |
18507 | ||
5c6ed53a TB |
18508 | 2008-11-04 Tobias Burnus <burnus@net-b.de> |
18509 | ||
18510 | PR libgomp/37935 | |
18511 | * libgomp.texi (Runtime library routines, environment variables): | |
18512 | Update for OpenMP version 3.0. | |
18513 | ||
6b4a97ed PG |
18514 | 2008-09-26 Peter O'Gorman <pogma@thewrittenword.com> |
18515 | Steve Ellcey <sje@cup.hp.com> | |
18516 | ||
18517 | * configure: Regenerate for new libtool. | |
18518 | * Makefile.in: Ditto. | |
18519 | * testsuite/Makefile.in: Ditto. | |
18520 | ||
e2b34106 JJ |
18521 | 2008-09-19 Jakub Jelinek <jakub@redhat.com> |
18522 | Andreas Tobler <a.tobler@schweiz.org> | |
18523 | ||
18524 | * config/bsd/proc.c: New file. | |
8c3b3600 | 18525 | * configure.tgt (*-*-darwin*): Use config_path "bsd posix". |
e2b34106 JJ |
18526 | * configure.ac: Check for header <sys/sysctl.h> |
18527 | * configure: Regenerate. | |
18528 | * config.h.in: Likewise. | |
18529 | ||
3606b8bf JJ |
18530 | 2008-09-05 Janis Johnson <janis187@us.ibm.com> |
18531 | ||
18532 | * testsuite/ligbomp.c/c.exp: Unset lang_test_file only if it exists. | |
18533 | ||
6528b88d AL |
18534 | 2008-08-31 Aaron W. LaFramboise <aaronavay62@aaronwl.com> |
18535 | ||
18536 | * Makefile.am (libgomp_la_LDFLAGS): Add -no-undefined. | |
18537 | * Makefile.in: Regenerated. | |
18538 | * testsuite/Makefile.in: Regenerated. | |
18539 | ||
d9b14b12 | 18540 | 2008-08-21 Nathan Froyd <froydnj@codesourcery.com> |
8c9570df | 18541 | |
a16b68bb | 18542 | * testsuite/lib/libgomp.exp (libgomp_init): Only set things that |
8c9570df NF |
18543 | depend on blddir if blddir exists. |
18544 | (libgomp_target_compile): Likewise. | |
18545 | * testsuite/libgomp.c++/c++.exp: Likewise. | |
18546 | * testsuite/libgomp.fortran/fortran.exp: Likewise. | |
18547 | ||
70b1e376 RW |
18548 | 2008-07-30 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> |
18549 | ||
18550 | * libgomp.texi: Update to GFDL 1.2. Update copyright years. | |
18551 | Do not list GPL as Invariant Section. | |
18552 | ||
318e8c3f IG |
18553 | 2008-07-28 Ilie Garbacea <ilie@mips.com> |
18554 | Chao-ying Fu <fu@mips.com> | |
18555 | ||
18556 | * configure.tgt: Enable futex for MIPS. | |
18557 | * config/linux/mips/futex.h: New file. | |
18558 | ||
4db72361 JJ |
18559 | 2008-07-16 Jakub Jelinek <jakub@redhat.com> |
18560 | ||
18561 | * team.c (gomp_team_end): Free team immediately if it has | |
18562 | just one thread. | |
18563 | ||
87bd23b8 DE |
18564 | 2008-07-08 David Edelsohn <edelsohn@gnu.org> |
18565 | ||
18566 | * testsuite/libgomp.c++/c++.exp: Append multilib library path. | |
18567 | * testsuite/libgomp.fortran/fortran.exp: Same. | |
18568 | * testsuite/libgomp.c/c.exp: Same. | |
18569 | * testsuite/lib/libgomp.exp: Append AIX libgcc pthread multilib | |
18570 | directory to library path first. | |
18571 | ||
323ff903 KW |
18572 | 2008-06-29 Krister Walfridsson <krister.walfridsson@gmail.com> |
18573 | ||
18574 | * env.c (parse_stacksize): Add cast to avoid warning. | |
18575 | (parse_spincount): Likewise. | |
18576 | ||
b357f682 JJ |
18577 | 2008-06-27 Jakub Jelinek <jakub@redhat.com> |
18578 | ||
ca2b1311 JJ |
18579 | * testsuite/libgomp.c/loop-10.c: New test. |
18580 | * libgomp.c/loop-3.c (main): Add lastprivate clause. | |
18581 | * libgomp.c++/loop-6.C (main): Likewise. | |
18582 | ||
b357f682 JJ |
18583 | PR debug/36617 |
18584 | * testsuite/libgomp.c/debug-1.c: New test. | |
18585 | ||
09a46078 JJ |
18586 | 2008-06-19 Jakub Jelinek <jakub@redhat.com> |
18587 | ||
18588 | * testsuite/libgomp.c/nqueens-1.c: New test. | |
18589 | ||
2368a460 JJ |
18590 | PR c++/36523 |
18591 | * testsuite/libgomp.c++/task-7.C: New function. | |
18592 | ||
18c04407 RW |
18593 | 2008-06-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> |
18594 | ||
18595 | * configure: Regenerate. | |
18596 | ||
9c4e59e0 JDA |
18597 | 2008-06-15 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> |
18598 | ||
18599 | * env.c (initialize_env): Always initialize gomp_remaining_threads_lock | |
18600 | mutex when HAVE_SYNC_BUILTINS isn't defined. | |
18601 | ||
6ccde948 RW |
18602 | 2008-06-15 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> |
18603 | ||
18604 | * libgomp.texi (omp_test_lock): Fix typo. | |
18605 | ||
b896f9fd TB |
18606 | 2008-06-12 Tobias Burnus <burnus@net-b.de> |
18607 | ||
18608 | * omp_lib.f90.in: Add "implicit none". | |
18609 | ||
c34938a8 JJ |
18610 | 2008-06-12 Jakub Jelinek <jakub@redhat.com> |
18611 | ||
18612 | PR middle-end/36506 | |
18613 | * testsuite/libgomp.c/reduction-5.c: New test. | |
18614 | ||
976e44e3 JJ |
18615 | 2008-06-11 Jakub Jelinek <jakub@redhat.com> |
18616 | ||
5f836cbb JJ |
18617 | * libgomp.h (struct gomp_task): Add in_tied_task field. |
18618 | * task.c (gomp_init_task): Initialize it. | |
18619 | (GOMP_task): Likewise. Call gomp_team_barrier_set_task_pending | |
18620 | unconditionally. Don't call gomp_team_barrier_wake if | |
18621 | current task is implicit or if(0) from implicit and number of | |
18622 | running tasks is equal to nthreads - 1. | |
18623 | ||
01501fc8 JJ |
18624 | PR libgomp/36471 |
18625 | * omp_lib.f90.in (omp_get_ancestor_thread_num_8, | |
18626 | omp_get_team_size_8): Fix pastos. | |
18627 | ||
976e44e3 JJ |
18628 | PR libgomp/36469 |
18629 | * configure.ac: Add AC_CHECK_FUNCS (strtoull). | |
18630 | * configure: Regenerated. | |
18631 | * config.h.in: Regenerated. | |
18632 | * env.c (strtoull): Define to strtoul if HAVE_STRTOULL is not | |
18633 | defined. | |
18634 | ||
e919209b AT |
18635 | 2008-06-06 Andreas Tobler <a.tobler@schweiz.org> |
18636 | ||
18637 | PR bootstrap/36452 | |
18638 | * loop_ull.c (GOMP_loop_ull_static_start): Adjust API. | |
18639 | (GOMP_loop_ull_dynamic_start): Likewise. | |
18640 | (GOMP_loop_ull_guided_start): Likewise. | |
18641 | (GOMP_loop_ull_ordered_static_start): Likewise. | |
18642 | (GOMP_loop_ull_ordered_dynamic_start): Likewise. | |
18643 | (GOMP_loop_ull_ordered_guided_start): Likewise. | |
18644 | ||
a68ab351 JJ |
18645 | 2008-06-06 Jakub Jelinek <jakub@redhat.com> |
18646 | Richard Henderson <rth@redhat.com> | |
18647 | Ulrich Drepper <drepper@redhat.com> | |
18648 | Jakob Blomer <jakob.blomer@ira.uka.de> | |
18649 | ||
18650 | * configure.ac (LIBGOMP_GNU_SYMBOL_VERSIONING): New AC_DEFINE. | |
18651 | Substitute also OMP_*LOCK_25*. | |
18652 | * configure: Regenerated. | |
18653 | * config.h.in: Regenerated. | |
18654 | * Makefile.am (libgomp_la_SOURCES): Add loop_ull.c, iter_ull.c, | |
18655 | ptrlock.c and task.c. | |
18656 | * Makefile.in: Regenerated. | |
18657 | * testsuite/Makefile.in: Regenerated. | |
18658 | * task.c: New file. | |
18659 | * loop_ull.c: New file. | |
18660 | * iter_ull.c: New file. | |
18661 | * libgomp.h: Include ptrlock.h. | |
18662 | (enum gomp_task_kind): New type. | |
18663 | (struct gomp_team): Add task_lock, task_queue, task_count, | |
18664 | task_running_count, single_count fields. Add | |
18665 | work_share_list_free_lock ifndef HAVE_SYNC_BUILTINS. | |
18666 | Remove work_share_lock, generation_mask, | |
18667 | oldest_live_gen, num_live_gen and init_work_shares fields, add | |
18668 | work work_share_list_alloc, work_share_list_free and work_share_chunk | |
18669 | fields. Change work_shares from pointer to pointers into an array. | |
18670 | Change ordered_release field into gomp_sem_t ** from flexible array | |
18671 | member. Add implicit_task and initial_work_shares fields. | |
18672 | Move close to the end of the struct. | |
18673 | (struct gomp_team_state): Add single_count, last_work_share, | |
18674 | active_level and level fields, remove work_share_generation. | |
18675 | (gomp_barrier_handle_tasks): New prototype. | |
18676 | (gomp_finish_task): New inline function. | |
18677 | (struct gomp_work_share): Move chunk_size, end, incr into | |
18678 | transparent union/struct, add chunk_size_ull, end_ll, incr_ll and | |
18679 | next_ll fields. Reshuffle fields. Add next_alloc, | |
18680 | next_ws, next_free and inline_ordered_team_ids fields, change | |
18681 | ordered_team_ids into pointer from flexible array member. | |
18682 | Add mode field. Put lock and next into a different cache line | |
18683 | from most of the write-once fields. | |
18684 | (gomp_iter_ull_static_next, gomp_iter_ull_dynamic_next_locked, | |
18685 | gomp_iter_ull_guided_next_locked, gomp_iter_ull_dynamic_next, | |
18686 | gomp_iter_ull_guided_next): New prototypes. | |
18687 | (gomp_new_icv): New prototype. | |
18688 | (struct gomp_thread): Add thread_pool and task fields. | |
18689 | (struct gomp_thread_pool): New type. | |
18690 | (gomp_new_team): New prototype. | |
18691 | (gomp_team_start): Change type of last argument. | |
18692 | (gomp_new_work_share): Removed. | |
18693 | (gomp_init_work_share, gomp_fini_work_share): New prototypes. | |
18694 | (gomp_work_share_init_done): New static inline. | |
18695 | (gomp_throttled_spin_count_var, gomp_available_cpus, | |
18696 | gomp_managed_threads): New extern decls. | |
18697 | (gomp_init_task): New prototype. | |
18698 | (gomp_spin_count_var): New extern var decl. | |
18699 | (LIBGOMP_GNU_SYMBOL_VERSIONING): Undef if no visibility | |
18700 | or no alias support, or if not PIC. | |
18701 | (gomp_init_lock_30, gomp_destroy_lock_30, gomp_set_lock_30, | |
18702 | gomp_unset_lock_30, gomp_test_lock_30, gomp_init_nest_lock_30, | |
18703 | gomp_destroy_nest_lock_30, gomp_set_nest_lock_30, | |
18704 | gomp_unset_nest_lock_30, gomp_test_nest_lock_30, gomp_init_lock_25, | |
18705 | gomp_destroy_lock_25, gomp_set_lock_25, gomp_unset_lock_25, | |
18706 | gomp_test_lock_25, gomp_init_nest_lock_25, gomp_destroy_nest_lock_25, | |
18707 | gomp_set_nest_lock_25, gomp_unset_nest_lock_25, | |
18708 | gomp_test_nest_lock_25): New prototypes. | |
18709 | (omp_lock_symver, strong_alias): Define. | |
18710 | (gomp_remaining_threads_count, gomp_remaining_threads_lock): New | |
18711 | decls. | |
18712 | (gomp_end_task): New. | |
18713 | (struct gomp_task_icv, gomp_global_icv): New. | |
18714 | (gomp_thread_limit_var, gomp_max_active_levels_var): New. | |
18715 | (struct gomp_task): New. | |
18716 | (gomp_nthreads_var, gomp_dyn_var, gomp_nest_var, | |
18717 | gomp_run_sched_var, gomp_run_sched_chunk): Remove. | |
18718 | (gomp_icv): New. | |
18719 | (gomp_schedule_type): Reorder enum to match | |
18720 | omp_sched_t. | |
18721 | * team.c (struct gomp_thread_start_data): Add thread_pool and task | |
18722 | fields. | |
18723 | (gomp_thread_start): Add gomp_team_barrier_wait call. | |
18724 | For non-nested case remove clearing of docked thread thr fields. | |
18725 | Use pool fields instead of global gomp_* variables. Use | |
18726 | gomp_barrier_wait_last when needed. Initialize ts.active_level. | |
18727 | Create tasks for each member thread. | |
18728 | (free_team): Only destroy team barrier, task_lock here and free it. | |
18729 | (gomp_free_thread): Free last_team if non-NULL. | |
18730 | (gomp_team_end): Call gomp_team_barrier_wait instead of | |
18731 | gomp_barrier_wait. For nested case call one extra | |
18732 | gomp_barrier_wait. Move here some destruction from free_team. | |
18733 | Call free_team on pool->last_team if any, rather than freeing | |
18734 | current team. Destroy work_share_list_free_lock ifndef | |
18735 | HAVE_SYNC_BUILTINS. | |
18736 | (gomp_new_icv): New function. | |
18737 | (gomp_threads, gomp_threads_size, gomp_threads_used, | |
18738 | gomp_threads_dock): Removed. | |
18739 | (gomp_thread_destructor): New variable. | |
18740 | (gomp_new_thread_pool, gomp_free_pool_helper, gomp_free_thread): New | |
18741 | functions. | |
18742 | (gomp_team_start): Create new pool if current thread doesn't have | |
3e348fcc | 18743 | one. Use pool fields instead of global gomp_* variables. |
a68ab351 JJ |
18744 | Initialize thread_pool field for new threads. Clear single_count. |
18745 | Change last argument from ws to team, don't create | |
18746 | new team, set ts.work_share to &team->work_shares[0] and clear | |
18747 | ts.last_work_share. Don't clear ts.work_share_generation. | |
18748 | If number of threads changed, adjust atomically gomp_managed_threads. | |
18749 | Use gomp_init_task instead of gomp_new_task, | |
18750 | set thr->task to the corresponding implicit_task array entry. | |
18751 | Create tasks for each member thread. Initialize ts.level. | |
18752 | (initialize_team): Call pthread_key_create on | |
18753 | gomp_thread_destructor. | |
18754 | (team_destructor): New function. | |
18755 | (new_team): Removed. | |
18756 | (gomp_new_team): New function. | |
18757 | (free_team): Free gomp_work_share blocks chained through next_alloc, | |
18758 | instead of freeing work_shares and destroying work_share_lock. | |
18759 | (gomp_team_end): Call gomp_fini_work_share. If number of threads | |
18760 | changed, adjust atomically gomp_managed_threads. Use gomp_end_task. | |
18761 | * barrier.c (GOMP_barrier): Call gomp_team_barrier_wait instead | |
18762 | of gomp_barrier_wait. | |
18763 | * single.c (GOMP_single_copy_start): Call gomp_team_barrier_wait | |
18764 | instead of gomp_barrier_wait. Call gomp_work_share_init_done | |
18765 | if gomp_work_share_start returned true. Don't unlock ws->lock. | |
18766 | (GOMP_single_copy_end): Call gomp_team_barrier_wait instead | |
18767 | of gomp_barrier_wait. | |
18768 | (GOMP_single_start): Rewritten if HAVE_SYNC_BUILTINS. Call | |
18769 | gomp_work_share_init_done if gomp_work_share_start returned true. | |
18770 | Don't unlock ws->lock. | |
18771 | * work.c: Include stddef.h. | |
18772 | (free_work_share): Use work_share_list_free_lock instead | |
18773 | of atomic chaining ifndef HAVE_SYNC_BUILTINS. Add team argument. | |
18774 | Call gomp_fini_work_share and then either free ws if orphaned, or | |
18775 | put it into work_share_list_free list of the current team. | |
18776 | (alloc_work_share, gomp_init_work_share, gomp_fini_work_share): New | |
18777 | functions. | |
18778 | (gomp_work_share_start, gomp_work_share_end, | |
18779 | gomp_work_share_end_nowait): Rewritten. | |
18780 | * omp_lib.f90.in Change some tabs to spaces to prevent warnings. | |
18781 | (openmp_version): Set to 200805. | |
18782 | (omp_sched_kind, omp_sched_static, omp_sched_dynamic, | |
18783 | omp_sched_guided, omp_sched_auto): New parameters. | |
18784 | (omp_set_schedule, omp_get_schedule, omp_get_thread_limit, | |
18785 | omp_set_max_active_levels, omp_get_max_active_levels, | |
18786 | omp_get_level, omp_get_ancestor_thread_num, omp_get_team_size, | |
18787 | omp_get_active_level): New interfaces. | |
18788 | * omp_lib.h.in (openmp_version): Set to 200805. | |
18789 | (omp_sched_kind, omp_sched_static, omp_sched_dynamic, | |
18790 | omp_sched_guided, omp_sched_auto): New parameters. | |
18791 | (omp_set_schedule, omp_get_schedule, omp_get_thread_limit, | |
18792 | omp_set_max_active_levels, omp_get_max_active_levels, | |
18793 | omp_get_level, omp_get_ancestor_thread_num, omp_get_team_size, | |
18794 | omp_get_active_level): New externals. | |
18795 | * loop.c: Include limits.h. | |
18796 | (GOMP_loop_runtime_next, GOMP_loop_ordered_runtime_next): Handle | |
18797 | GFS_AUTO. | |
18798 | (GOMP_loop_runtime_start, GOMP_loop_ordered_runtime_start): | |
18799 | Likewise. Use gomp_icv. | |
18800 | (gomp_loop_static_start, gomp_loop_dynamic_start): Clear | |
18801 | ts.static_trip here. | |
18802 | (gomp_loop_static_start, gomp_loop_ordered_static_start): Call | |
18803 | gomp_work_share_init_done after gomp_loop_init. Don't unlock ws->lock. | |
18804 | (gomp_loop_dynamic_start, gomp_loop_guided_start): Call | |
18805 | gomp_work_share_init_done after gomp_loop_init. If HAVE_SYNC_BUILTINS, | |
18806 | don't unlock ws->lock, otherwise lock it. | |
18807 | (gomp_loop_ordered_dynamic_start, gomp_loop_ordered_guided_start): Call | |
18808 | gomp_work_share_init_done after gomp_loop_init. Lock ws->lock. | |
18809 | (gomp_parallel_loop_start): Call gomp_new_team instead of | |
18810 | gomp_new_work_share. Call gomp_loop_init on &team->work_shares[0]. | |
18811 | Adjust gomp_team_start caller. Pass 0 as second argument to | |
18812 | gomp_resolve_num_threads. | |
18813 | (gomp_loop_init): For GFS_DYNAMIC, multiply ws->chunk_size by incr. | |
18814 | If adding ws->chunk_size nthreads + 1 times after end won't | |
18815 | overflow, set ws->mode to 1. | |
18816 | * libgomp_g.h (GOMP_loop_ull_static_start, GOMP_loop_ull_dynamic_start, | |
18817 | GOMP_loop_ull_guided_start, GOMP_loop_ull_runtime_start, | |
18818 | GOMP_loop_ull_ordered_static_start, | |
18819 | GOMP_loop_ull_ordered_dynamic_start, | |
18820 | GOMP_loop_ull_ordered_guided_start, | |
18821 | GOMP_loop_ull_ordered_runtime_start, GOMP_loop_ull_static_next, | |
18822 | GOMP_loop_ull_dynamic_next, GOMP_loop_ull_guided_next, | |
18823 | GOMP_loop_ull_runtime_next, GOMP_loop_ull_ordered_static_next, | |
18824 | GOMP_loop_ull_ordered_dynamic_next, GOMP_loop_ull_ordered_guided_next, | |
18825 | GOMP_loop_ull_ordered_runtime_next, GOMP_task, GOMP_taskwait): New | |
18826 | prototypes. | |
18827 | * libgomp.map: Export lock routines also @@OMP_2.0. | |
18828 | (GOMP_loop_ordered_dynamic_first, | |
18829 | GOMP_loop_ordered_guided_first, GOMP_loop_ordered_runtime_first, | |
18830 | GOMP_loop_ordered_static_first): Remove. | |
18831 | (GOMP_loop_ull_dynamic_next, GOMP_loop_ull_dynamic_start, | |
18832 | GOMP_loop_ull_guided_next, GOMP_loop_ull_guided_start, | |
18833 | GOMP_loop_ull_ordered_dynamic_next, | |
18834 | GOMP_loop_ull_ordered_dynamic_start, | |
18835 | GOMP_loop_ull_ordered_guided_next, | |
18836 | GOMP_loop_ull_ordered_guided_start, | |
18837 | GOMP_loop_ull_ordered_runtime_next, | |
18838 | GOMP_loop_ull_ordered_runtime_start, | |
18839 | GOMP_loop_ull_ordered_static_next, | |
18840 | GOMP_loop_ull_ordered_static_start, | |
18841 | GOMP_loop_ull_runtime_next, GOMP_loop_ull_runtime_start, | |
18842 | GOMP_loop_ull_static_next, GOMP_loop_ull_static_start, | |
18843 | GOMP_task, GOMP_taskwait): Export @@GOMP_2.0. | |
18844 | (omp_set_schedule, omp_get_schedule, | |
18845 | omp_get_thread_limit, omp_set_max_active_levels, | |
18846 | omp_get_max_active_levels, omp_get_level, | |
18847 | omp_get_ancestor_thread_num, omp_get_team_size, omp_get_active_level, | |
18848 | omp_set_schedule_, omp_set_schedule_8_, | |
18849 | omp_get_schedule_, omp_get_schedule_8_, omp_get_thread_limit_, | |
18850 | omp_set_max_active_levels_, omp_set_max_active_levels_8_, | |
18851 | omp_get_max_active_levels_, omp_get_level_, | |
18852 | omp_get_ancestor_thread_num_, omp_get_ancestor_thread_num_8_, | |
18853 | omp_get_team_size_, omp_get_team_size_8_, omp_get_active_level_): | |
18854 | New exports @@OMP_3.0. | |
18855 | * omp.h.in (omp_sched_t): New type. | |
18856 | (omp_set_schedule, omp_get_schedule, omp_get_thread_limit, | |
18857 | omp_set_max_active_levels, omp_get_max_active_levels, | |
18858 | omp_get_level, omp_get_ancestor_thread_num, omp_get_team_size, | |
18859 | omp_get_active_level): New prototypes. | |
18860 | * env.c (gomp_spin_count_var, gomp_throttled_spin_count_var, | |
18861 | gomp_available_cpus, gomp_managed_threads, gomp_max_active_levels_var, | |
18862 | gomp_thread_limit_var, gomp_remaining_threads_count, | |
18863 | gomp_remaining_threads_lock): New variables. | |
18864 | (parse_spincount): New function. | |
18865 | (initialize_env): Call gomp_init_num_threads unconditionally. | |
18866 | Initialize gomp_available_cpus. Call parse_spincount, | |
18867 | initialize gomp_{,throttled_}spin_count_var | |
18868 | depending on presence and value of OMP_WAIT_POLICY and | |
18869 | GOMP_SPINCOUNT env vars. Handle GOMP_BLOCKTIME env var. | |
18870 | Handle OMP_WAIT_POLICY, OMP_MAX_ACTIVE_LEVELS, | |
18871 | OMP_THREAD_LIMIT, OMP_STACKSIZE env vars. Handle unit specification | |
18872 | for GOMP_STACKSIZE. Initialize gomp_remaining_threads_count and | |
18873 | gomp_remaining_threads_lock if needed. Use gomp_global_icv. | |
18874 | (gomp_nthreads_var, gomp_dyn_var, gomp_nest_var, | |
18875 | gomp_run_sched_var, gomp_run_sched_chunk): Remove. | |
18876 | (gomp_global_icv): New. | |
18877 | (parse_schedule): Use it. Parse "auto". | |
18878 | (omp_set_num_threads): Use gomp_icv. | |
18879 | (omp_set_dynamic, omp_get_dynamic, omp_set_nested, omp_get_nested): | |
18880 | Likewise. | |
18881 | (omp_get_max_threads): Move from parallel.c. | |
18882 | (omp_set_schedule, omp_get_schedule, omp_get_thread_limit, | |
18883 | omp_set_max_active_levels, omp_get_max_active_levels): New functions, | |
18884 | add ialias. | |
18885 | (parse_stacksize, parse_wait_policy): New functions. | |
18886 | * fortran.c: Rewrite lock wrappers, if symbol versioning provide | |
18887 | both wrappers for compatibility and new locks. | |
18888 | (omp_set_schedule, omp_get_schedule, | |
18889 | omp_get_thread_limit, omp_set_max_active_levels, | |
18890 | omp_get_max_active_levels, omp_get_level, | |
18891 | omp_get_ancestor_thread_num, omp_get_team_size, | |
18892 | omp_get_active_level): New ialias_redirect. | |
18893 | (omp_set_schedule_, omp_set_schedule_8_, | |
18894 | omp_get_schedule_, omp_get_schedule_8_, omp_get_thread_limit_, | |
18895 | omp_set_max_active_levels_, omp_set_max_active_levels_8_, | |
18896 | omp_get_max_active_levels_, omp_get_level_, | |
18897 | omp_get_ancestor_thread_num_, omp_get_ancestor_thread_num_8_, | |
18898 | omp_get_team_size_, omp_get_team_size_8_, omp_get_active_level_): | |
18899 | New functions. | |
18900 | * parallel.c: Include limits.h. | |
18901 | (gomp_resolve_num_threads): Add count argument. Rewritten. | |
18902 | (GOMP_parallel_start): Call gomp_new_team and pass that as last | |
18903 | argument to gomp_team_start. Pass 0 as second argument to | |
18904 | gomp_resolve_num_threads. | |
18905 | (GOMP_parallel_end): Decrease gomp_remaining_threads_count | |
18906 | if gomp_thread_limit_var != ULONG_MAX. | |
18907 | (omp_in_parallel): Implement using ts.active_level. | |
18908 | (omp_get_max_threads): Move to env.c. | |
18909 | (omp_get_level, omp_get_ancestor_thread_num, | |
18910 | omp_get_team_size, omp_get_active_level): New functions, | |
18911 | add ialias. | |
18912 | * sections.c (GOMP_sections_start): Call gomp_work_share_init_done | |
18913 | after gomp_sections_init. If HAVE_SYNC_BUILTINS, call | |
18914 | gomp_iter_dynamic_next instead of the _locked variant and don't take | |
18915 | lock around it, otherwise acquire it before calling | |
18916 | gomp_iter_dynamic_next_locked. | |
18917 | (GOMP_sections_next): If HAVE_SYNC_BUILTINS, call | |
18918 | gomp_iter_dynamic_next instead of the _locked variant and don't take | |
18919 | lock around it. | |
18920 | (GOMP_parallel_sections_start): Call gomp_new_team instead of | |
18921 | gomp_new_work_share. Call gomp_sections_init on &team->work_shares[0]. | |
18922 | Adjust gomp_team_start caller. Pass count as second argument to | |
18923 | gomp_resolve_num_threads, don't adjust num_threads after the call. | |
18924 | Use gomp_icv. | |
18925 | * iter.c (gomp_iter_dynamic_next_locked): Don't multiply | |
18926 | ws->chunk_size by incr. | |
18927 | (gomp_iter_dynamic_next): Likewise. If ws->mode, use more efficient | |
18928 | code. | |
18929 | * libgomp_f.h.in (omp_lock_25_arg_t, omp_nest_lock_25_arg_t): New | |
18930 | types. | |
18931 | (omp_lock_25_arg, omp_nest_lock_25_arg): New macros. | |
18932 | (omp_check_defines): Check even the compat defines. | |
18933 | * config/linux/ptrlock.c: New file. | |
18934 | * config/linux/ptrlock.h: New file. | |
18935 | * config/linux/wait.h: New file. | |
18936 | * config/posix/ptrlock.c: New file. | |
18937 | * config/posix/ptrlock.h: New file. | |
18938 | * config/linux/bar.h (gomp_team_barrier_wait, | |
18939 | gomp_team_barrier_wait_end, gomp_team_barrier_wake): New prototypes. | |
18940 | (gomp_team_barrier_set_task_pending, | |
18941 | gomp_team_barrier_clear_task_pending, | |
18942 | gomp_team_barrier_set_waiting_for_tasks, | |
18943 | gomp_team_barrier_waiting_for_tasks, | |
18944 | gomp_team_barrier_done): New inlines. | |
18945 | (gomp_barrier_t): Rewritten. | |
18946 | (gomp_barrier_state_t): New typedef. | |
18947 | (gomp_barrier_init, gomp_barrier_reinit, gomp_barrier_destroy, | |
18948 | gomp_barrier_wait_start): Rewritten. | |
18949 | (gomp_barrier_wait_end): Change second argument to | |
18950 | gomp_barrier_state_t. | |
18951 | (gomp_barrier_last_thread, gomp_barrier_wait_last): New static | |
18952 | inlines. | |
18953 | * config/linux/bar.c: Include wait.h instead of libgomp.h and | |
18954 | futex.h. | |
18955 | (gomp_barrier_wait_end): Rewritten. | |
18956 | (gomp_team_barrier_wait, gomp_team_barrier_wait_end, | |
18957 | gomp_team_barrier_wake, gomp_barrier_wait_last): New functions. | |
18958 | * config/posix/bar.h (gomp_barrier_t): Add generation field. | |
18959 | (gomp_barrier_state_t): New typedef. | |
18960 | (gomp_team_barrier_wait, | |
18961 | gomp_team_barrier_wait_end, gomp_team_barrier_wake): New prototypes. | |
18962 | (gomp_barrier_wait_start): Or all but low 2 bits from generation | |
18963 | into the return value. Return gomp_barrier_state_t. | |
18964 | (gomp_team_barrier_set_task_pending, | |
18965 | gomp_team_barrier_clear_task_pending, | |
18966 | gomp_team_barrier_set_waiting_for_tasks, | |
18967 | gomp_team_barrier_waiting_for_tasks, | |
18968 | gomp_team_barrier_done): New inlines. | |
18969 | (gomp_barrier_wait_end): Change second argument to | |
18970 | gomp_barrier_state_t. | |
18971 | (gomp_barrier_last_thread, gomp_barrier_wait_last): New static | |
18972 | inlines. | |
18973 | * config/posix/bar.c (gomp_barrier_init): Clear generation field. | |
18974 | (gomp_barrier_wait_end): Change second argument to | |
3e348fcc | 18975 | gomp_barrier_state_t. |
a68ab351 JJ |
18976 | (gomp_team_barrier_wait, gomp_team_barrier_wait_end, |
18977 | gomp_team_barrier_wake): New functions. | |
18978 | * config/linux/mutex.c: Include wait.h instead of libgomp.h and | |
18979 | futex.h. | |
18980 | (gomp_futex_wake, gomp_futex_wait): New variables. | |
18981 | (gomp_mutex_lock_slow): Call do_wait instead of futex_wait. | |
18982 | * config/linux/lock.c: Rewrite to make locks task owned, | |
18983 | for backwards compatibility provide the old entrypoints | |
18984 | if symbol versioning. Include wait.h instead of libgomp.h and | |
18985 | futex.h. | |
18986 | (gomp_set_nest_lock_25): Call do_wait instead of futex_wait. | |
18987 | * config/posix95/lock.c: Rewrite to make locks task owned, | |
18988 | for backwards compatibility provide the old entrypoints | |
18989 | if symbol versioning. | |
18990 | * config/posix/lock.c: Rewrite to make locks task owned, | |
18991 | for backwards compatibility provide the old entrypoints | |
18992 | if symbol versioning. | |
18993 | * config/linux/proc.c (gomp_init_num_threads): Use gomp_global_icv. | |
18994 | (get_num_procs, gomp_dynamic_max_threads): Use gomp_icv. | |
18995 | * config/posix/proc.c, config/mingw32/proc.c: Similarly. | |
18996 | * config/linux/powerpc/futex.h (FUTEX_WAIT, FUTEX_WAKE): Remove. | |
18997 | (sys_futex0): Return error code. | |
18998 | (futex_wake, futex_wait): If ENOSYS was returned, clear | |
18999 | FUTEX_PRIVATE_FLAG in gomp_futex_wa{ke,it} and retry. | |
19000 | (cpu_relax, atomic_write_barrier): New static inlines. | |
19001 | * config/linux/alpha/futex.h (FUTEX_WAIT, FUTEX_WAKE): Remove. | |
19002 | (futex_wake, futex_wait): If ENOSYS was returned, clear | |
19003 | FUTEX_PRIVATE_FLAG in gomp_futex_wa{ke,it} and retry. | |
19004 | (cpu_relax, atomic_write_barrier): New static inlines. | |
19005 | * config/linux/x86/futex.h (FUTEX_WAIT, FUTEX_WAKE): Remove. | |
19006 | (sys_futex0): Return error code. | |
19007 | (futex_wake, futex_wait): If ENOSYS was returned, clear | |
19008 | FUTEX_PRIVATE_FLAG in gomp_futex_wa{ke,it} and retry. | |
19009 | (cpu_relax, atomic_write_barrier): New static inlines. | |
19010 | * config/linux/s390/futex.h (FUTEX_WAIT, FUTEX_WAKE): Remove. | |
19011 | (sys_futex0): Return error code. | |
19012 | (futex_wake, futex_wait): If ENOSYS was returned, clear | |
19013 | FUTEX_PRIVATE_FLAG in gomp_futex_wa{ke,it} and retry. | |
19014 | (cpu_relax, atomic_write_barrier): New static inlines. | |
19015 | * config/linux/ia64/futex.h (FUTEX_WAIT, FUTEX_WAKE): Remove. | |
19016 | (sys_futex0): Return error code. | |
19017 | (futex_wake, futex_wait): If ENOSYS was returned, clear | |
19018 | FUTEX_PRIVATE_FLAG in gomp_futex_wa{ke,it} and retry. | |
19019 | (cpu_relax, atomic_write_barrier): New static inlines. | |
19020 | * config/linux/sparc/futex.h (FUTEX_WAIT, FUTEX_WAKE): Remove. | |
19021 | (sys_futex0): Return error code. | |
19022 | (futex_wake, futex_wait): If ENOSYS was returned, clear | |
19023 | FUTEX_PRIVATE_FLAG in gomp_futex_wa{ke,it} and retry. | |
19024 | (cpu_relax, atomic_write_barrier): New static inlines. | |
19025 | * config/linux/sem.c: Include wait.h instead of libgomp.h and | |
19026 | futex.h. | |
19027 | (gomp_sem_wait_slow): Call do_wait instead of futex_wait. | |
19028 | * config/linux/affinity.c: Assume HAVE_SYNC_BUILTINS. | |
19029 | * config/linux/omp-lock.h (omp_lock_25_t, omp_nest_lock_25_t): New | |
19030 | types. | |
19031 | (omp_nest_lock_t): Change owner into void *, add lock field. | |
19032 | * config/posix95/omp-lock.h: Include semaphore.h. | |
19033 | (omp_lock_25_t, omp_nest_lock_25_t): New types. | |
19034 | (omp_lock_t): Use sem_t instead of mutex if semaphores | |
19035 | aren't broken. | |
19036 | (omp_nest_lock_t): Likewise. Change owner to void *. | |
19037 | * config/posix/omp-lock.h: Include semaphore.h. | |
19038 | (omp_lock_25_t, omp_nest_lock_25_t): New types. | |
19039 | (omp_lock_t): Use sem_t instead of mutex if semaphores | |
19040 | aren't broken. | |
19041 | (omp_nest_lock_t): Likewise. Add owner field. | |
19042 | ||
19043 | 2008-06-06 Jakub Jelinek <jakub@redhat.com> | |
19044 | ||
19045 | * testsuite/libgomp.c/collapse-1.c: New test. | |
19046 | * testsuite/libgomp.c/collapse-2.c: New test. | |
19047 | * testsuite/libgomp.c/collapse-3.c: New test. | |
19048 | * testsuite/libgomp.c/icv-1.c: New test. | |
19049 | * testsuite/libgomp.c/icv-2.c: New test. | |
19050 | * testsuite/libgomp.c/lib-2.c: New test. | |
19051 | * testsuite/libgomp.c/lock-1.c: New test. | |
19052 | * testsuite/libgomp.c/lock-2.c: New test. | |
19053 | * testsuite/libgomp.c/lock-3.c: New test. | |
19054 | * testsuite/libgomp.c/loop-4.c: New test. | |
19055 | * testsuite/libgomp.c/loop-5.c: New test. | |
19056 | * testsuite/libgomp.c/loop-6.c: New test. | |
19057 | * testsuite/libgomp.c/loop-7.c: New test. | |
19058 | * testsuite/libgomp.c/loop-8.c: New test. | |
19059 | * testsuite/libgomp.c/loop-9.c: New test. | |
19060 | * testsuite/libgomp.c/nested-3.c: New test. | |
19061 | * testsuite/libgomp.c/nestedfn-6.c: New test. | |
19062 | * testsuite/libgomp.c/sort-1.c: New test. | |
19063 | * testsuite/libgomp.c/task-1.c: New test. | |
19064 | * testsuite/libgomp.c/task-2.c: New test. | |
19065 | * testsuite/libgomp.c/task-3.c: New test. | |
19066 | * testsuite/libgomp.c/task-4.c: New test. | |
19067 | * testsuite/libgomp.c++/c++.exp: Add libstdc++-v3 build includes | |
19068 | to C++ testsuite default compiler options. | |
19069 | * testsuite/libgomp.c++/collapse-1.C: New test. | |
19070 | * testsuite/libgomp.c++/collapse-2.C: New test. | |
19071 | * testsuite/libgomp.c++/ctor-10.C: New test. | |
19072 | * testsuite/libgomp.c++/for-1.C: New test. | |
19073 | * testsuite/libgomp.c++/for-2.C: New test. | |
19074 | * testsuite/libgomp.c++/for-3.C: New test. | |
19075 | * testsuite/libgomp.c++/for-4.C: New test. | |
19076 | * testsuite/libgomp.c++/for-5.C: New test. | |
19077 | * testsuite/libgomp.c++/loop-8.C: New test. | |
19078 | * testsuite/libgomp.c++/loop-9.C: New test. | |
19079 | * testsuite/libgomp.c++/loop-10.C: New test. | |
19080 | * testsuite/libgomp.c++/task-1.C: New test. | |
19081 | * testsuite/libgomp.c++/task-2.C: New test. | |
19082 | * testsuite/libgomp.c++/task-3.C: New test. | |
19083 | * testsuite/libgomp.c++/task-4.C: New test. | |
19084 | * testsuite/libgomp.c++/task-5.C: New test. | |
19085 | * testsuite/libgomp.c++/task-6.C: New test. | |
19086 | * testsuite/libgomp.fortran/allocatable1.f90: New test. | |
19087 | * testsuite/libgomp.fortran/allocatable2.f90: New test. | |
19088 | * testsuite/libgomp.fortran/allocatable3.f90: New test. | |
19089 | * testsuite/libgomp.fortran/allocatable4.f90: New test. | |
19090 | * testsuite/libgomp.fortran/collapse1.f90: New test. | |
19091 | * testsuite/libgomp.fortran/collapse2.f90: New test. | |
19092 | * testsuite/libgomp.fortran/collapse3.f90: New test. | |
19093 | * testsuite/libgomp.fortran/collapse4.f90: New test. | |
19094 | * testsuite/libgomp.fortran/lastprivate1.f90: New test. | |
19095 | * testsuite/libgomp.fortran/lastprivate2.f90: New test. | |
19096 | * testsuite/libgomp.fortran/lib4.f90: New test. | |
19097 | * testsuite/libgomp.fortran/lock-1.f90: New test. | |
19098 | * testsuite/libgomp.fortran/lock-2.f90: New test. | |
19099 | * testsuite/libgomp.fortran/nested1.f90: New test. | |
19100 | * testsuite/libgomp.fortran/nestedfn4.f90: New test. | |
19101 | * testsuite/libgomp.fortran/strassen.f90: New test. | |
19102 | * testsuite/libgomp.fortran/tabs1.f90: New test. | |
19103 | * testsuite/libgomp.fortran/tabs2.f: New test. | |
19104 | * testsuite/libgomp.fortran/task1.f90: New test. | |
19105 | * testsuite/libgomp.fortran/task2.f90: New test. | |
19106 | * testsuite/libgomp.fortran/vla4.f90: Add dg-warning. | |
19107 | * testsuite/libgomp.fortran/vla5.f90: Likewise. | |
19108 | * testsuite/libgomp.c/pr26943-2.c: Likewise. | |
19109 | * testsuite/libgomp.c/pr26943-3.c: Likewise. | |
19110 | * testsuite/libgomp.c/pr26943-4.c: Likewise. | |
19111 | ||
7a0112e7 JJ |
19112 | 2008-05-23 Jakub Jelinek <jakub@redhat.com> |
19113 | ||
19114 | PR c++/36308 | |
19115 | * testsuite/libgomp.c++/ctor-11.C: New test. | |
19116 | * testsuite/libgomp.c++/ctor-12.C: New test. | |
19117 | ||
91a5b394 JJ |
19118 | 2008-05-15 Janis Johnson <janis187@us.ibm.com> |
19119 | ||
19120 | * testsuite/lib/libgomp.exp: Load torture-options.exp from gcc lib. | |
19121 | ||
c18c98c0 JJ |
19122 | 2008-05-07 Jakub Jelinek <jakub@redhat.com> |
19123 | ||
19124 | PR middle-end/36106 | |
19125 | * testsuite/libgomp.c/atomic-5.c: New test. | |
19126 | * testsuite/libgomp.c/atomic-6.c: New test. | |
19127 | * testsuite/libgomp.c/autopar-1.c: New test. | |
19128 | ||
6d26724a RW |
19129 | 2008-04-21 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> |
19130 | ||
19131 | * acinclude.m4 (LIBGOMP_CHECK_SYNC_BUILTINS) | |
19132 | (LIBGOMP_CHECK_ATTRIBUTE_VISIBILITY) | |
19133 | (LIBGOMP_CHECK_ATTRIBUTE_DLLEXPORT) | |
19134 | (LIBGOMP_CHECK_ATTRIBUTE_ALIAS): Fix cache variable names. | |
19135 | * configure: Regenerate. | |
19136 | * Makefile.in, testsuite/Makefile.in: Likewise. | |
19137 | ||
deb984e6 PB |
19138 | 2008-04-18 Paolo Bonzini <bonzini@gnu.org> |
19139 | ||
19140 | PR bootstrap/35457 | |
19141 | * aclocal.m4: Regenerate. | |
19142 | * configure: Regenerate. | |
19143 | ||
9e775963 JJ |
19144 | 2008-03-18 Jakub Jelinek <jakub@redhat.com> |
19145 | ||
8119fc93 JJ |
19146 | PR middle-end/35611 |
19147 | * testsuite/libgomp.c/atomic-4.c: New test. | |
19148 | ||
9e775963 JJ |
19149 | PR libgomp/35625 |
19150 | * iter.c (gomp_iter_guided_next_locked): If q > n, set end to ws->end. | |
19151 | (gomp_iter_guided_next): Likewise. | |
19152 | * testsuite/libgomp.c/pr35625.c: New test. | |
19153 | ||
38d24731 RW |
19154 | 2008-03-16 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> |
19155 | ||
19156 | * aclocal.m4: Regenerate. | |
19157 | * configure: Likewise. | |
19158 | * Makefile.in: Likewise. | |
19159 | * testsuite/Makefile.in: Likewise. | |
19160 | ||
d0fb20be JJ |
19161 | 2008-03-13 Jakub Jelinek <jakub@redhat.com> |
19162 | ||
19163 | PR middle-end/35185 | |
19164 | * testsuite/libgomp.c++/pr35185.C: New test. | |
19165 | ||
7c8f7639 JJ |
19166 | 2008-03-12 Jakub Jelinek <jakub@redhat.com> |
19167 | ||
19168 | PR middle-end/35549 | |
19169 | * testsuite/libgomp.c/pr35549.c: New test. | |
19170 | ||
251923f5 JJ |
19171 | 2008-03-06 Jakub Jelinek <jakub@redhat.com> |
19172 | ||
19173 | * testsuite/libgomp.c/atomic-3.c: New test. | |
19174 | ||
f489fba1 FXC |
19175 | 2008-03-03 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org> |
19176 | ||
19177 | PR fortran/33197 | |
251923f5 | 19178 | * testsuite/libgomp.fortran/fortran.exp: Add .f08 and |
f489fba1 FXC |
19179 | .F08 file suffixes. |
19180 | ||
a1b25e49 PG |
19181 | 2008-03-03 Peter O'Gorman <pogma@thewrittenword.com> |
19182 | ||
19183 | PR libgomp/33131 | |
19184 | * configure.ac: Add ACX_HEADER_STRING. | |
19185 | * env.c: Include strings.h. | |
19186 | * aclocal.m4: Regenerate. | |
19187 | * config.h.in: Regenerate. | |
19188 | * configure: Regenerate. | |
19189 | * Makefile.in: Regenerate. | |
19190 | * testsuite/Makefile.in: Regenerate. | |
19191 | ||
6837b3b8 JJ |
19192 | 2008-02-15 Jakub Jelinek <jakub@redhat.com> |
19193 | ||
ac84c062 JJ |
19194 | PR middle-end/35196 |
19195 | * testsuite/libgomp.c/pr35196.c: New test. | |
19196 | ||
6837b3b8 JJ |
19197 | PR middle-end/35130 |
19198 | * testsuite/libgomp.fortran/pr35130.f90: New test. | |
19199 | * testsuite/libgomp.c/pr35130.c: New test. | |
19200 | ||
c256730c JJ |
19201 | 2008-01-25 Jakub Jelinek <jakub@redhat.com> |
19202 | ||
19203 | PR middle-end/33880 | |
19204 | * testsuite/libgomp.c/pr33880.c: New test. | |
19205 | * testsuite/libgomp.fortran/pr33880.f90: New test. | |
19206 | ||
c8e95542 | 19207 | 2008-01-24 David Edelsohn <edelsohn@gnu.org> |
d653fdfb DE |
19208 | |
19209 | * configure: Regenerate. | |
19210 | ||
0f3e711e JJ |
19211 | 2008-01-08 Jakub Jelinek <jakub@redhat.com> |
19212 | ||
19213 | * configure.ac: Move futex checking into ../config/futex.m4. | |
19214 | * configure: Rebuilt. | |
19215 | * aclocal.m4: Rebuilt. | |
19216 | * Makefile.in: Rebuilt. | |
19217 | ||
19218 | * configure.tgt: Rename have_tls to gcc_cv_have_tls to match | |
19219 | 2007-10-15 ../config/tls.m4 change. | |
19220 | ||
5259c813 JJ |
19221 | 2007-12-19 Jakub Jelinek <jakub@redhat.com> |
19222 | ||
19223 | PR c++/34513 | |
19224 | * testsuite/libgomp.c/pr34513.c: New test. | |
19225 | * testsuite/libgomp.c++/pr34513.C: New test. | |
19226 | ||
ae8d8879 JH |
19227 | 2007-12-17 Jack Howarth <howarth@bromo.med.uc.edu> |
19228 | ||
19229 | PR target/32765 | |
19230 | * testsuite/libgomp.fortran/crayptr2.f90: Move dg-options for darwin. | |
19231 | ||
2b4cf991 JJ |
19232 | 2007-12-04 Jakub Jelinek <jakub@redhat.com> |
19233 | ||
19234 | * omp.h.in (__GOMP_NOTHROW): Define. Use it on omp_* prototypes. | |
19235 | ||
d2dda7fe JJ |
19236 | 2007-12-03 Jakub Jelinek <jakub@redhat.com> |
19237 | ||
19238 | * testsuite/libgomp.c/private-1.c: New test. | |
19239 | ||
d683ec81 PB |
19240 | 2007-11-29 Andris Pavenis <andris.pavenis@iki.fi> |
19241 | Paolo Bonzini <bonzini@gnu.org> | |
19242 | ||
19243 | * Makefile.am: Use space as vpath separator. Use 'vpath %' | |
19244 | instead of 'VPATH ='. | |
19245 | * Makefile.in: Regenerate. | |
19246 | ||
a7415017 MK |
19247 | 2007-11-23 Matthias Klose <doko@ubuntu.com> |
19248 | ||
19249 | * configure.ac: Adjust makeinfo version check. | |
19250 | * configure: Regenerate. | |
19251 | ||
78e47463 JJ |
19252 | 2007-11-10 Jakub Jelinek <jakub@redhat.com> |
19253 | ||
19254 | PR fortran/34020 | |
19255 | * testsuite/libgomp.fortran/pr34020.f90: New test. | |
19256 | ||
239371f9 JJ |
19257 | 2007-11-06 Jakub Jelinek <jakub@redhat.com> |
19258 | ||
19259 | PR c++/33894 | |
19260 | * testsuite/libgomp.c++/atomic-1.C: New test. | |
19261 | ||
98a5fa94 JJ |
19262 | 2007-10-25 Jakub Jelinek <jakub@redhat.com> |
19263 | ||
19264 | PR libgomp/33275 | |
19265 | * testsuite/libgomp.fortran/omp_parse3.f90 (test_threadprivate): | |
19266 | Make x and y integers rather than (implicit) reals. Add private (j) | |
19267 | clause to the last omp parallel. | |
19268 | ||
3afcaaf4 MR |
19269 | 2007-10-15 Maciej W. Rozycki <macro@linux-mips.org> |
19270 | ||
19271 | * configure: Regenerate following changes to ../config/tls.m4. | |
19272 | ||
bd69daef JJ |
19273 | 2007-09-28 Jakub Jelinek <jakub@redhat.com> |
19274 | ||
19275 | * testsuite/libgomp.fortran/stack.f90: New test. | |
19276 | ||
1d0bd356 DS |
19277 | 2007-09-10 Danny Smith <dannysmith@users.sourceforge.net> |
19278 | ||
19279 | * config/mingw32/proc.c: New file. | |
19280 | ||
b3172cab UB |
19281 | 2007-09-05 Uros Bizjak <ubizjak@gmail.com> |
19282 | ||
19283 | * testsuite/libgomp.c/atomic-1.c: Include cpuid.h for i386 targets. | |
19284 | (main): Use __get_cpuid to get i386 target fetaures. | |
19285 | * testsuite/libgomp.c/atomic-2.c: Include cpuid.h for x86_64 targets. | |
19286 | (main): Use __get_cpuid to get x86_64 target fetaures. | |
19287 | ||
6da17392 JH |
19288 | 2007-08-15 Jack Howarth <howarth@bromo.med.uc.edu> |
19289 | ||
19290 | PR target/32765 | |
19291 | * testsuite/libgomp.fortran/pr32550.f90: Use -static-libgcc on Darwin. | |
19292 | * testsuite/libgomp.fortran/crayptr2.f90: Likwise. | |
19293 | ||
e1c82219 JJ |
19294 | 2007-07-12 Jakub Jelinek <jakub@redhat.com> |
19295 | ||
19296 | PR fortran/32550 | |
19297 | * testsuite/libgomp.fortran/pr32550.f90: New test. | |
19298 | * testsuite/libgomp.fortran/crayptr2.f90: New test. | |
19299 | ||
12a27363 L |
19300 | 2007-07-05 H.J. Lu <hongjiu.lu@intel.com> |
19301 | ||
19302 | * aclocal.m4: Regenerated. | |
19303 | ||
5349080d TB |
19304 | 2007-07-05 Tobias Burnus <burnus@net-b.de> |
19305 | ||
19306 | PR fortran/32359 | |
19307 | * testsuite/libgomp.fortran/pr32359.f90: New. | |
19308 | ||
4f9c450c JJ |
19309 | 2007-07-02 Jakub Jelinek <jakub@redhat.com> |
19310 | ||
19311 | PR libgomp/32468 | |
19312 | * sections.c (GOMP_parallel_sections_start): Only decrease | |
19313 | number of threads to COUNT if dyn_var is true. | |
19314 | * testsuite/libgomp.c/pr32468.c: New test. | |
19315 | ||
28c67ed7 RO |
19316 | 2007-07-02 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE> |
19317 | ||
19318 | PR libgomp/26308 | |
19319 | * config/posix/lock.c (_XOPEN_SOURCE): Don't define on Tru64 UNIX. | |
19320 | ||
64964499 JJ |
19321 | 2007-06-21 Jakub Jelinek <jakub@redhat.com> |
19322 | ||
19323 | PR middle-end/32362 | |
19324 | * testsuite/libgomp.c/pr32362-1.c: New test. | |
19325 | * testsuite/libgomp.c/pr32362-2.c: New test. | |
19326 | * testsuite/libgomp.c/pr32362-3.c: New test. | |
19327 | ||
46d8fbd1 JJ |
19328 | 2007-06-07 Jakub Jelinek <jakub@redhat.com> |
19329 | ||
19330 | * team.c (gomp_team_start): Fix setting up thread_attr | |
19331 | stack size. | |
19332 | ||
82a6cadf PB |
19333 | 2007-06-02 Paolo Bonzini <bonzini@gnu.org> |
19334 | ||
19335 | * configure: Regenerate. | |
19336 | ||
1cf3d07d SE |
19337 | 2007-05-23 Steve Ellcey <sje@cup.hp.com> |
19338 | ||
19339 | * Makefile.in: Regenerate. | |
19340 | * configure: Regenerate. | |
19341 | * aclocal.m4: Regenerate. | |
19342 | * testsuite/Makefile.in: Regenerate. | |
19343 | ||
12aac30b JJ |
19344 | 2007-05-04 Jakub Jelinek <jakub@redhat.com> |
19345 | ||
19346 | * config/linux/proc.c: New file. | |
19347 | ||
f1028b02 JJ |
19348 | PR libgomp/28482 |
19349 | * configure.tgt: Don't link with -Wl,-z,nodlopen even on Linux. | |
19350 | ||
06785a48 DF |
19351 | 2007-04-19 Daniel Franke <franke.daniel@gmail.com> |
19352 | ||
19353 | * libgomp.texi (GOMP_CPU_AFFINITY): Updated. | |
19354 | ||
b3b08ba0 MK |
19355 | 2007-04-16 Matthias Klose <doko@debian.org> |
19356 | ||
19357 | * configure.tgt (i[456]86-*-linux*): Only add ia32 specific | |
19358 | flags if not building with -m64. | |
19359 | * testsuite/lib/libgomp-dg.exp (libgomp_init): Don't add -march | |
19360 | flag for i?86-*-* targets, if current target matches -m64. | |
19361 | ||
6b2c5ce0 SE |
19362 | 2007-04-14 Steve Ellcey <sje@cup.hp.com> |
19363 | ||
19364 | * Makefile.am: Add -I .. to ACLOCAL_AMFLAGS. | |
19365 | * Makefile.in: Regenerate. | |
19366 | ||
dd56fe7c JDA |
19367 | 2007-04-07 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> |
19368 | ||
19369 | PR testsuite/31369 | |
19370 | * testsuite/libgomp.c++/c++.exp: Don't use concat when setting | |
19371 | ld_library_path. | |
19372 | * testsuite/libgomp.fortran/fortran.exp: Likewise. | |
19373 | ||
a0884cf0 JJ |
19374 | 2007-04-04 Jakub Jelinek <jakub@redhat.com> |
19375 | ||
19376 | * libgomp.h (gomp_cpu_affinity, gomp_cpu_affinity_len): New extern | |
19377 | decls. | |
19378 | (gomp_init_affinity, gomp_init_thread_affinity): New prototypes. | |
19379 | * env.c (gomp_cpu_affinity, gomp_cpu_affinity_len): New variables. | |
19380 | (parse_affinity): New function. | |
19381 | (initialize_env): Call it and gomp_init_affinity. | |
19382 | * team.c (gomp_team_start): If gomp_cpu_affinity != NULL, | |
19383 | create new pthread_attr_t and call gomp_init_thread_affinity | |
19384 | on it for each thread before passing the attribute to pthread_create. | |
19385 | * config/linux/affinity.c: New file. | |
19386 | * config/posix/affinity.c: New file. | |
19387 | * configure.ac (HAVE_PTHREAD_AFFINITY_NP): New test. | |
19388 | * configure: Rebuilt. | |
19389 | * config.h.in: Rebuilt. | |
19390 | * Makefile.am (libgomp_la_SOURCES): Add affinity.c. | |
19391 | * Makefile.in: Rebuilt. | |
19392 | ||
1850744b AT |
19393 | 2007-03-23 Andreas Tobler <a.tobler@schweiz.org> |
19394 | ||
19395 | * testsuite/lib/libgomp.exp (libgomp_init): Add -shared-libgcc for | |
19396 | *-*-darwin*. | |
19397 | * testsuite/libgomp.c++/c++.exp: Look for shared libstdc++ library | |
19398 | and use it if found. | |
19399 | ||
516f1ed8 UB |
19400 | 2007-03-18 Uros Bizjak <ubizjak@gmail.com> |
19401 | ||
19402 | * testsuite/config/default.exp: New file. | |
19403 | * testsuite/lib/libgomp.exp: New file. | |
19404 | * testsuite/lib/libgomp.dg (load_gcc_lib, libgomp_init, | |
19405 | libgomp_target_compile, libgomp_option_help, libgomp_option_proc, | |
19406 | load_lib *, load_gcc_lib *): Move to libgomp.exp. | |
19407 | (libgomp_load): Remove. | |
19408 | * testsuite/lib/libgomp.exp (libgomp_init): Compute | |
19409 | always_ld_library_path, not ld_library_path. Set additional_flags | |
19410 | to -march=i486 for ilp32 x86_64-*-* and i386-*-* targets. | |
19411 | (target_compile): Do not call libgomp_init. Append lang_library_path | |
19412 | and lang_link_flags to options. | |
19413 | * testsuite/libgomp.c/c.exp: Set DEFAULT_FLAGS to -O2. Set | |
19414 | ld_library_path from always_ld_library_path. Set LD_LIBRARY_PATH | |
19415 | here. | |
19416 | * testsuite/libgomp.c++/c++.exp: Set ld_library_path from | |
19417 | always_ld_library_path. Set LD_LIBRARY_PATH here. | |
19418 | * testsuite/libgomp.fortran/fortran.exp: Ditto. | |
19419 | * testsuite/libgomp.c/atomic-1.c: Set dg-options to | |
19420 | "-O2 -march=pentium" for ilp32 x86 targets. Simplify check for | |
19421 | CX8 flag. | |
19422 | * testsuite/libgomp.c/atomic-2.c: Set dg-options to "-O2 -mcx16" for | |
19423 | lp64 x86 targets. Do not check for SSE3 bit. Do not define bit_SSE3. | |
19424 | * testsuite/libgomp.c/pr29947-1.c: Remove default dg-options. | |
19425 | * testsuite/libgomp.c/pr29947-1.c: Ditto. | |
19426 | * testsuite/libgomp.c/atomic-10.c: Ditto. | |
19427 | ||
2ada56f5 JJ |
19428 | 2007-03-21 Jakub Jelinek <jakub@redhat.com> |
19429 | ||
19430 | * testsuite/libgomp.fortran/appendix-a/a.22.8.f90: Add | |
19431 | dg-final cleanup-modules line. | |
19432 | * testsuite/libgomp.fortran/appendix-a/a.40.1.f90: Likewise. | |
19433 | * testsuite/libgomp.fortran/appendix-a/a.31.5.f90: Likewise. | |
19434 | * testsuite/libgomp.fortran/appendix-a/a.31.4.f90: Likewise. | |
19435 | * testsuite/libgomp.fortran/threadprivate2.f90: Likewise. | |
19436 | * testsuite/libgomp.fortran/reduction5.f90: Likewise. | |
19437 | * testsuite/libgomp.fortran/threadprivate3.f90: Likewise. | |
19438 | * testsuite/libgomp.fortran/threadprivate1.f90: Likewise. | |
19439 | ||
f210f1cd AS |
19440 | 2007-03-18 Andreas Schwab <schwab@suse.de> |
19441 | ||
19442 | * acinclude.m4: Adjust regular expression for ld version | |
19443 | extraction. | |
19444 | * configure: Regenerate. | |
19445 | ||
c4dc950d BM |
19446 | 2007-03-01 Brooks Moses <brooks.moses@codesourcery.com> |
19447 | ||
19448 | * Makefile.am: Add install-pdf target as copied from | |
19449 | automake v1.10 rules. | |
19450 | * Makefile.in: Regenerate | |
19451 | ||
e02a048f JJ |
19452 | 2007-02-07 Jakub Jelinek <jakub@redhat.com> |
19453 | ||
78e075d4 JJ |
19454 | PR libgomp/28486 |
19455 | * configure: Regenerate. | |
19456 | ||
e02a048f JJ |
19457 | PR c++/30703 |
19458 | * testsuite/libgomp.c++/pr30703.C: New test. | |
19459 | ||
60def7ed JJ |
19460 | 2007-02-02 Jakub Jelinek <jakub@redhat.com> |
19461 | ||
19462 | Revert: | |
19463 | 2006-07-05 Eric Christopher <echristo@apple.com> | |
19464 | * configure.ac: Depend addition of -pthread on host OS. | |
19465 | * configure: Regenerate. | |
19466 | ||
f1b0882e RW |
19467 | 2007-01-31 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> |
19468 | ||
19469 | * libgomp.texi: Fix spacing after abbreviations. | |
19470 | ||
748b9d7c DF |
19471 | 2007-01-31 Daniel Franke <franke.daniel@gmail.com> |
19472 | ||
19473 | PR libgomp/30546 | |
19474 | * configure.ac: Add check for makeinfo | |
19475 | * Makefile.am: Redefined target libgomp.info, build libgomp.info only | |
a0221aee | 19476 | if an appropriate version of makeinfo is found. |
748b9d7c DF |
19477 | * aclocal.m4: Regenerated. |
19478 | * configure: Regenerated. | |
19479 | * Makefile.in: Regenerated. | |
19480 | * testsuite/Makefile.in: Regenerated. | |
19481 | ||
14734fc7 DF |
19482 | 2007-01-29 Daniel Franke <franke.daniel@gmail.com> |
19483 | ||
19484 | PR libgomp/30540 | |
19485 | * libgomp.texi: More about implementation-dependent settings. | |
19486 | ||
7befd5d2 TB |
19487 | 2007-01-26 Tobias Burnus <burnus@net-b.de> |
19488 | ||
19489 | * testsuite/libgomp.fortran/fortran.exp: Support .f03 extension. | |
19490 | ||
4288fea2 JJ |
19491 | 2007-01-24 Jakub Jelinek <jakub@redhat.com> |
19492 | ||
19493 | PR middle-end/30494 | |
19494 | * testsuite/libgomp.c/pr30494.c: New test. | |
19495 | ||
627ab4b8 TT |
19496 | 2007-01-15 Tom Tromey <tromey@redhat.com> |
19497 | ||
19498 | * configure: Rebuilt. | |
19499 | * configure.ac: Fixed comment. | |
19500 | ||
7c2b7f45 DF |
19501 | 2007-01-14 Daniel Franke <franke.daniel@gmail.com> |
19502 | ||
19503 | * libgomp.texi: Document implementation specific default values of | |
19504 | environment variables. | |
19505 | ||
3721b9e1 DF |
19506 | 2006-12-21 Daniel Franke <franke.daniel@gmail.com> |
19507 | ||
19508 | PR libgomp/28209 | |
19509 | * libgomp.texi: New file. | |
19510 | * configure.ac: Add --enable-generated-files-in-srcdir option. | |
19511 | * Makefile.am: Add info, dvi, pdf, html targets. On request, copy | |
19512 | files to srcdir. | |
19513 | * Makefile.in: Regenerated. | |
19514 | * config.h.in: Regenerated. | |
19515 | * testsuite/Makefile.in: Regenerated. | |
19516 | * NOTES: Removed. | |
19517 | ||
62bd6216 DF |
19518 | 2006-12-04 Daniel Franke <franke.daniel@gmail.com> |
19519 | ||
19520 | PR libgomp/29949 | |
19521 | * env.c (omp_set_num_threads): Set illegal thread count to 1. | |
19522 | ||
aad741f4 EB |
19523 | 2006-12-04 Eric Botcazou <ebotcazou@libertysurf.fr> |
19524 | ||
19525 | * configure: Regenerate. | |
19526 | ||
22568cc6 JJ |
19527 | 2006-12-04 Jakub Jelinek <jakub@redhat.com> |
19528 | ||
19529 | PR libgomp/29947 | |
19530 | * loop.c (gomp_loop_init): Make parameters signed. Set ws->end to | |
19531 | start if there shouldn't be any loop iterations. | |
19532 | (gomp_loop_ordered_static_start): Remove start == end test. | |
19533 | * testsuite/libgomp.c/pr29947-1.c: New test. | |
19534 | * testsuite/libgomp.c/pr29947-2.c: New test. | |
19535 | ||
a9690009 EB |
19536 | 2006-12-02 Eric Botcazou <ebotcazou@libertysurf.fr> |
19537 | ||
19538 | * configure.tgt: Force initial-exec TLS model on Linux only. | |
19539 | ||
597c25e6 DJ |
19540 | 2006-11-13 Daniel Jacobowitz <dan@codesourcery.com> |
19541 | ||
19542 | * configure: Regenerated. | |
19543 | ||
6acf0b38 UB |
19544 | 2006-11-09 Uros Bizjak <ubizjak@gmail.com> |
19545 | ||
19546 | * env.c (parse_schedule): Reject out of range values. | |
19547 | (parse_unsigned_long): Reject out of range, negative or zero values. | |
19548 | ||
a7a53ca5 JJ |
19549 | 2006-10-29 Jakub Jelinek <jakub@redhat.com> |
19550 | ||
19551 | PR fortran/29629 | |
19552 | * testsuite/libgomp.fortran/pr29629.f90: New test. | |
19553 | ||
6d4d216a EB |
19554 | 2006-10-24 Eric Botcazou <ebotcazou@libertysurf.fr> |
19555 | ||
19556 | PR libgomp/29494 | |
19557 | * configure.tgt: Use posix95 configuration for Solaris 2.5.1 and 2.6. | |
19558 | * config/posix95: New directory. | |
19559 | * config/posix95/omp-lock.h: New file. | |
19560 | * config/posix95/lock.c: Likewise. | |
19561 | ||
5b043f08 GK |
19562 | 2006-10-14 Geoffrey Keating <geoffk@apple.com> |
19563 | ||
19564 | * aclocal.m4: Regenerate. | |
19565 | * configure: Regenerate. | |
19566 | ||
b50019f0 DS |
19567 | 2006-10-05 Danny Smith <dannysmith@users.sourceforge.net> |
19568 | ||
19569 | * testsuite/libgomp.c/barrier-1.c: Change timestamp tests from | |
19570 | '<' to '<='. | |
19571 | ||
8887708e DS |
19572 | 2006-10-05 Danny Smith <dannysmith@users.sourceforge.net> |
19573 | ||
19574 | * acinclude.m4 (HAVE_ATTRIBUTE_ALIAS): Remove __USER_LABEL_PREFIX__ from | |
19575 | test. | |
19576 | * configure: Regenerate. | |
19577 | * fortran.c (ialias_redirect): Add __USER_LABEL_PREFIX__ to alias. | |
19578 | ||
9b9e4cd6 JJ |
19579 | 2006-09-26 Jakub Jelinek <jakub@redhat.com> |
19580 | ||
a70ad3bb JJ |
19581 | PR middle-end/25261 |
19582 | PR middle-end/28790 | |
19583 | * testsuite/libgomp.c/nestedfn-4.c: New test. | |
19584 | * testsuite/libgomp.c/nestedfn-5.c: New test. | |
19585 | * testsuite/libgomp.fortran/nestedfn3.f90: New test. | |
19586 | ||
9b9e4cd6 JJ |
19587 | PR fortran/29097 |
19588 | * testsuite/libgomp.fortran/condinc1.f: New test. | |
19589 | * testsuite/libgomp.fortran/condinc2.f: New test. | |
19590 | * testsuite/libgomp.fortran/condinc3.f90: New test. | |
19591 | * testsuite/libgomp.fortran/condinc4.f90: New test. | |
19592 | * testsuite/libgomp.fortran/condinc1.inc: New file. | |
19593 | ||
2fb31455 TT |
19594 | 2006-09-18 Tom Tromey <tromey@redhat.com> |
19595 | ||
19596 | * configure: Rebuilt. | |
19597 | ||
c663e301 JM |
19598 | 2006-09-13 Joseph S. Myers <joseph@codesourcery.com> |
19599 | ||
19600 | PR c/28768 | |
19601 | PR preprocessor/14634 | |
19602 | * configure.ac (HAVE_CLOCK_GETTIME): Add missing second argument | |
19603 | to AC_DEFINE. | |
19604 | * configure: Regenerate. | |
19605 | ||
38371be9 SK |
19606 | 2006-09-08 Steven G. Kargl <kargl@gcc.gnu.org> |
19607 | ||
19608 | * testsuite/libgomp.fortran/reduction3.f90: Change | |
19609 | -2147483648 to -huge(i)-1 to avoid overflow. | |
19610 | * testsuite/libgomp.fortran/reduction4.f90: Change | |
19611 | Z'ffffffff' to not(0) to avoid overflow. | |
19612 | ||
571d5ac5 JM |
19613 | 2006-08-26 Joseph S. Myers <joseph@codesourcery.com> |
19614 | ||
19615 | PR libgomp/25938 | |
19616 | * Makefile.am (libsubincludedir): New. | |
19617 | (nodist_include_HEADERS): Rename to nodist_libsubinclude_HEADERS. | |
19618 | * Makefile.in: Regenerate. | |
19619 | ||
89b3e3cd JJ |
19620 | 2006-08-17 Jakub Jelinek <jakub@redhat.com> |
19621 | ||
19622 | PR libgomp/28725 | |
19623 | * env.c: Include ctype.h. | |
19624 | (parse_schedule, parse_unsigned_long, parse_boolean): Allow | |
19625 | leading and/or trailing whitespace and compare strings case | |
19626 | insensitively. | |
19627 | ||
742fae05 JJ |
19628 | 2006-07-16 Jakub Jelinek <jakub@redhat.com> |
19629 | ||
19630 | PR fortran/28390 | |
19631 | * testsuite/libgomp.fortran/pr28390.f: New test. | |
19632 | ||
a1daed2d EC |
19633 | 2006-07-05 Eric Christopher <echristo@apple.com> |
19634 | ||
19635 | * configure.ac: Depend addition of -pthread on host OS. | |
19636 | * configure: Regenerate. | |
19637 | ||
5d7b5199 JJ |
19638 | 2006-06-21 Jakub Jelinek <jakub@redhat.com> |
19639 | ||
19640 | * critical.c (GOMP_critical_name_start): Fix *pptr initialization | |
19641 | when gomp_mutex_t is larger than pointer and HAVE_SYNC_BUILTINS is | |
19642 | defined. | |
19643 | ||
fe5568e9 JJ |
19644 | 2006-06-20 Jakub Jelinek <jakub@redhat.com> |
19645 | ||
19646 | PR libgomp/26175 | |
19647 | PR libgomp/26477 | |
19648 | * configure.ac: If neither --enable-linux-futex nor | |
19649 | --disable-linux-futex is passed, determine the default by checking | |
19650 | for compiling and/or running against NPTL. With --enable-linux-futex, | |
19651 | check if SYS_gettid and SYS_futex are defined. | |
19652 | * configure: Rebuilt. | |
19653 | ||
c3b11a40 RH |
19654 | 2006-06-14 Richard Henderson <rth@redhat.com> |
19655 | ||
19656 | PR libgomp/28008 | |
19657 | * env.c (initialize_env): Avoid using PTHREAD_STACK_MIN when | |
19658 | undefined. Use GOMP_STACKSIZE not OMP_STACKSIZE for environment. | |
19659 | ||
d0d1b24d RH |
19660 | 2006-06-09 Richard Henderson <rth@redhat.com> |
19661 | ||
19662 | * env.c (gomp_nthreads_var): Change to unsigned long. | |
19663 | (gomp_run_sched_chunk): Likewise. | |
19664 | (parse_unsigned_long): Rename from parse_num_threads and generalize. | |
19665 | (initialize_env): Initialize gomp_thread_attr. | |
19666 | * libgomp.h (gomp_nthreads_var): Update decl. | |
19667 | (gomp_run_sched_chunk): Likewise. | |
19668 | (gomp_thread_attr): Declare. | |
19669 | * team.c (gomp_thread_attr): Export. | |
19670 | (initialize_team): Don't initialize it. | |
19671 | ||
cd75853e JJ |
19672 | 2006-06-09 Jakub Jelinek <jakub@redhat.com> |
19673 | ||
19674 | PR fortran/27916 | |
19675 | * testsuite/libgomp.fortran/pr27916-1.f90: New test. | |
19676 | * testsuite/libgomp.fortran/pr27916-2.f90: New test. | |
19677 | ||
33815e0c FXC |
19678 | 2006-06-06 Francois-Xavier Coudert <coudert@clipper.ens.fr> |
19679 | ||
19680 | * config/mingw32/time.c: New file. | |
19681 | * configure.tgt: Use it. | |
19682 | ||
6667de0d CD |
19683 | 2006-05-23 Carlos O'Donell <carlos@codesourcery.com> |
19684 | ||
19685 | * Makefile.am: Add install-html target. Add install-html to .PHONY | |
19686 | * Makefile.in: Regenerate. | |
19687 | ||
e962c46b JDA |
19688 | 2006-05-22 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> |
19689 | ||
19690 | PR libgomp/27612 | |
19691 | * testsuite/libgomp.c/sections-1.c: Require sync_int_long. | |
19692 | * testsuite/libgomp.c/critical-1.c: Likewise. | |
19693 | * testsuite/libgomp.c/loop-1.c: Likewise. | |
19694 | * testsuite/libgomp.c/loop-2.c: Likewise. | |
19695 | * testsuite/libgomp.c/single-1.c: Likewise. | |
19696 | * testsuite/libgomp.c/ordered-1.c: Likewise. | |
19697 | * testsuite/libgomp.c/ordered-2.c: Likewise. | |
19698 | ||
eeb1d9e0 JJ |
19699 | 2006-05-15 Jakub Jelinek <jakub@redhat.com> |
19700 | ||
19701 | PR middle-end/27416 | |
19702 | * libgomp.fortran/pr27416-1.f90: New test. | |
19703 | ||
693d710f JJ |
19704 | 2006-05-03 Jakub Jelinek <jakub@redhat.com> |
19705 | ||
19706 | PR fortran/27395 | |
19707 | * testsuite/libgomp.fortran/pr27395-1.f90: New test. | |
19708 | * testsuite/libgomp.fortran/pr27395-2.f90: New test. | |
19709 | ||
8ca5b2a2 JJ |
19710 | 2006-05-02 Jakub Jelinek <jakub@redhat.com> |
19711 | ||
19712 | PR c++/26943 | |
19713 | * testsuite/libgomp.c/pr26943-1.c: New test. | |
19714 | * testsuite/libgomp.c/pr26943-2.c: New test. | |
19715 | * testsuite/libgomp.c/pr26943-3.c: New test. | |
19716 | * testsuite/libgomp.c/pr26943-4.c: New test. | |
19717 | * testsuite/libgomp.c++/pr27337.C: Remove barrier. | |
19718 | * testsuite/libgomp.c++/pr26943.C: New test. | |
19719 | ||
077b0dfb JJ |
19720 | 2006-05-02 Jakub Jelinek <jakub@redhat.com> |
19721 | ||
19722 | PR middle-end/27337 | |
19723 | * testsuite/libgomp.c++/pr27337.C: New test. | |
19724 | ||
91b6c26d JJ |
19725 | 2006-04-26 Jakub Jelinek <jakub@redhat.com> |
19726 | ||
19727 | PR c/26171 | |
19728 | * testsuite/libgomp.c/pr26171.c: New test. | |
19729 | ||
60e1758f RH |
19730 | 2006-04-25 Richard Henderson <rth@redhat.com> |
19731 | ||
19732 | PR libgomp/25865 | |
19733 | * configure.ac: Use GCC_CHECK_TLS. | |
19734 | * acinclude.m4 (LIBGOMP_CHECK_TLS): Remove. | |
19735 | * Makefile.in, aclocal.m4, configure: Regenerate. | |
19736 | ||
615baed7 MK |
19737 | 2006-04-10 Matthias Klose <doko@debian.org> |
19738 | ||
19739 | * testsuite/lib/libgomp.exp (libgomp_init): Recognize multilib | |
19740 | directory names containing underscores. | |
19741 | ||
fae2b46b JJ |
19742 | 2006-03-21 Jakub Jelinek <jakub@redhat.com> |
19743 | ||
19744 | PR c++/26691 | |
19745 | * testsuite/libgomp.c++/pr26691.C: New test. | |
19746 | ||
11a5f608 JJ |
19747 | 2006-03-13 Jakub Jelinek <jakub@redhat.com> |
19748 | ||
19749 | * testsuite/libgomp.fortran/retval2.f90: New test. | |
19750 | ||
1799e5d5 RH |
19751 | 2006-03-09 Diego Novillo <dnovillo@redhat.com> |
19752 | ||
19753 | * testsuite/libgomp.c++: New directory. | |
19754 | ||
d349482e AT |
19755 | 2006-02-25 Shantonu Sen <ssen@opendarwin.org> |
19756 | ||
19757 | * config/posix/sem.h: Define BROKEN_POSIX_SEMAPHORES functions. | |
19758 | * config/posix/sem.c: Implement the above. | |
19759 | ||
19760 | 2006-02-25 Andreas Tobler <a.tobler@schweiz.ch> | |
19761 | ||
19762 | * configure.ac (HAVE_BROKEN_POSIX_SEMAPHORES): Check for darwin and | |
19763 | define HAVE_BROKEN_POSIX_SEMAPHORES. | |
19764 | * configure: Rebuilt. | |
19765 | * config.h.in: Rebuilt. | |
19766 | ||
124452c9 FXC |
19767 | 2006-02-17 Francois-Xavier Coudert <coudert@clipper.ens.fr> |
19768 | ||
19769 | PR bootstrap/26161 | |
19770 | * configure.ac: Remove AC_CHECK_HEADER for pthread.h. Add comment | |
19771 | for the other pthread check. | |
19772 | * configure: Regenerate. | |
19773 | * config.h.in: Regenerate. | |
19774 | ||
dd8d6dfe JJ |
19775 | 2006-02-15 Jakub Jelinek <jakub@redhat.com> |
19776 | ||
19777 | PR libgomp/25938 | |
19778 | PR libgomp/25984 | |
19779 | * Makefile.am (fincludedir): New variable. | |
19780 | (nodist_include_HEADERS): Remove Fortran files. | |
19781 | (nodist_finclude_HEADERS): New variable. | |
19782 | * Makefile.in: Regenerated. | |
19783 | ||
6c7a4dfd JJ |
19784 | 2006-02-13 Jakub Jelinek <jakub@redhat.com> |
19785 | ||
19786 | * testsuite/libgomp.fortran/vla7.f90: Add -w to options. | |
19787 | Remove tests for returning assumed character length arrays. | |
19788 | ||
5142e08b RS |
19789 | 2006-02-12 Roger Sayle <roger@eyesopen.com> |
19790 | John David Anglin <dave@hiauly1.hia.nrc.ca> | |
19791 | ||
19792 | PR libgomp/25936 | |
19793 | * configure.tgt: Link against -lrt for sem_init on HPUX v11 systems. | |
a1daed2d | 19794 | |
5821fba8 UW |
19795 | 2006-02-08 Ulrich Weigand <uweigand@de.ibm.com> |
19796 | ||
19797 | * testsuite/lib/libgomp-dg.exp: Load scanrtl.exp library. | |
19798 | ||
cb2bbc67 EB |
19799 | 2006-02-07 Eric Botcazou <ebotcazou@libertysurf.fr> |
19800 | ||
19801 | * testsuite/lib/libgomp-dg.exp (libgomp_init): Compute multilib related | |
19802 | part of LD_LIBRARY_PATH manually. | |
19803 | ||
f05ee80c L |
19804 | 2006-02-03 H.J. Lu <hongjiu.lu@intel.com> |
19805 | ||
19806 | PR libgomp/25852 | |
19807 | * testsuite/lib/libgomp-dg.exp (blddir): Set it in | |
19808 | libgomp_init. | |
19809 | ||
03b8fe49 PB |
19810 | 2005-01-25 Paolo Bonzini <bonzini@gnu.org> |
19811 | ||
19812 | PR libgomp/25884 | |
f05ee80c L |
19813 | * Makefile.am (omp.h, omp_lib.h, omp_lib.f90, libgomp_f.h): Remove. |
19814 | * configure.ac (PERL): Don't set. | |
19815 | (gstdint.h, omp.h, omp_lib.h, omp_lib.f90, libgomp_f.h): Create here. | |
19816 | (OMP_LOCK_SIZE, OMP_LOCK_ALIGN, OMP_LOCK_KIND, OMP_NEST_LOCK_SIZE, | |
19817 | OMP_NEST_LOCK_ALIGN, OMP_NEST_LOCK_KIND): New substitutions. | |
19818 | * omp.h.in: Wrap the new configure substitutions with @ characters. | |
19819 | * omp_lib.h.in, omp_lib.f90.in, libgomp_f.h.in: Likewise. | |
19820 | * aclocal.m4, configure, Makefile.in: Regenerate. | |
19821 | * mkomp_h.pl: Delete. | |
03b8fe49 | 19822 | |
18cbfd85 PB |
19823 | 2005-01-24 Paolo Bonzini <bonzini@gnu.org> |
19824 | ||
19825 | PR libgomp/25259 | |
19826 | * configure.ac: Use GCC_HEADER_STDINT. | |
19827 | * libgomp.h: Include gstdint.h. | |
19828 | * libgomp_f.h.in: Don't include stdint.h or inttypes.h. | |
19829 | * configure, Makefile.in, testsuite/Makefile.in, aclocal.m4: Rebuild. | |
19830 | ||
c41303c6 RH |
19831 | 2006-01-24 Richard Henderson <rth@redhat.com> |
19832 | ||
19833 | PR libgomp/25942 | |
19834 | * configure.ac: Add AM_MAINTAINER_MODE. | |
19835 | * Makefile.in, aclocal.m4, configure, testsuite/Makefile.in: Rebuild. | |
19836 | ||
149b9553 DN |
19837 | 2006-01-24 Diego Novillo <dnovillo@redhat.com> |
19838 | ||
19839 | * Makefile.in: Regenerate. | |
19840 | * testsuite/Makefile.in: Regenerate. | |
19841 | * aclocal.m4: Regenerate. | |
19842 | ||
192a50ad AT |
19843 | 2006-01-23 Andreas Tobler <a.tobler@schweiz.ch> |
19844 | ||
19845 | * config/posix/proc.c: Conditional include of sys/loadavg.h for | |
19846 | Solaris. | |
19847 | * configure.ac: Add check for loadavg.h. | |
19848 | (link_gomp): Adjust comment. | |
19849 | * configure: Regenerate. | |
19850 | * config.h.in: Regenerate. | |
19851 | ||
a55b8e18 SE |
19852 | 2006-01-21 Steve Ellcey <sje@cup.hp.com> |
19853 | ||
19854 | PR libgomp/25877 | |
19855 | * configure.ac: Remove check for alloca.h. | |
19856 | * configure: Regenerate. | |
19857 | * config.h.in: Regenerate. | |
19858 | * libgomp.h: define gomp_alloca to be __builtin_alloca. | |
19859 | * team.c: Remove use of alloca.h. | |
19860 | Call gomp_alloca instead of alloca. | |
19861 | ||
692eeb34 SE |
19862 | 2006-01-20 Steve Ellcey <sje@cup.hp.com> |
19863 | ||
19864 | PR libgomp/25877 | |
19865 | * team.c: Add include of alloca.h. | |
19866 | * configure.ac: Add check for alloca.h. | |
19867 | * configure: Regenerate. | |
19868 | * config.h.in: Regenerate. | |
19869 | ||
953ff289 DN |
19870 | 2006-01-17 Jakub Jelinek <jakub@redhat.com> |
19871 | ||
19872 | PR fortran/25219 | |
19873 | * testsuite/libgomp.fortran/pr25219.f90: New test. | |
19874 | ||
19875 | 2005-12-05 Uros Bizjak <uros@kss-loka.si> | |
19876 | ||
19877 | * testsuite/libgomp.c/pr24455.c, testsuite/libgomp.c/copyin-1.c, | |
19878 | testsuite/libgomp.c/copyin-2.c, testsuite/libgomp.c/copyin-3.c, | |
19879 | testsuite/libgomp.c++/copyin-1.C, testsuite/libgomp.c++/copyin-2.C, | |
19880 | testsuite/libgomp.c++/ctor-5.C, testsuite/libgomp.c++/ctor-8.C, | |
19881 | testsuite/libgomp.c++/ctor-9.C, testsuite/libgomp.c++/pr24455.C, | |
19882 | testsuite/libgomp.fortran/threadprivate1.f90, | |
19883 | testsuite/libgomp.fortran/threadprivate2.f90, | |
19884 | testsuite/libgomp.fortran/threadprivate3.f90, | |
19885 | testsuite/libgomp.fortran/appendix-a/a.22.7.f9, | |
19886 | testsuite/libgomp.fortran/appendix-a/a.22.8.f9, | |
19887 | testsuite/libgomp.fortran/omp_parse3.f90: Change required | |
19888 | effective-target to TLS runtime. | |
19889 | ||
19890 | * testsuite/libgomp.fortran/pr25162.f: Require | |
19891 | effective-target TLS runtime. | |
19892 | ||
19893 | 2005-12-01 Jakub Jelinek <jakub@redhat.com> | |
19894 | ||
19895 | * testsuite/libgomp.fortran/nestedfn2.f90: New test. | |
19896 | * testsuite/libgomp.c/nestedfn-3.c: New test. | |
19897 | ||
19898 | 2005-11-30 Jakub Jelinek <jakub@redhat.com> | |
19899 | ||
19900 | PR fortran/25162 | |
19901 | * testsuite/libgomp.fortran/pr25162.f: New test. | |
19902 | ||
19903 | 2005-11-28 Jakub Jelinek <jakub@redhat.com> | |
19904 | ||
19905 | * config/posix/time.c (omp_get_wtime, omp_get_wtick): Fall back to | |
19906 | CLOCK_REALTIME if clock_* (CLOCK_MONOTONIC, &ts) call failed. | |
19907 | ||
19908 | 2005-11-25 Jakub Jelinek <jakub@redhat.com> | |
19909 | ||
19910 | * alloc.c, barrier.c, critical.c, env.c, error.c, fortran.c, iter.c, | |
19911 | libgomp.h, libgomp_f.h.in, libgomp_g.h, loop.c, mkomp_h.pl, omp.h.in, | |
19912 | omp_lib.f90.in, omp_lib.h.in, ordered.c, parallel.c, sections.c, | |
19913 | single.c, team.c, work.c, config/linux/alpha/futex.h, | |
19914 | config/linux/bar.c, config/linux/bar.h, config/linux/ia64/futex.h, | |
19915 | config/linux/lock.c, config/linux/mutex.c, config/linux/mutex.h, | |
19916 | config/linux/powerpc/futex.h, config/linux/s390/futex.h, | |
19917 | config/linux/sem.c, config/linux/sem.h, config/linux/sparc/futex.h, | |
19918 | config/linux/x86/futex.h, config/posix/bar.c, config/posix/bar.h, | |
19919 | config/posix/lock.c, config/posix/mutex.h, config/posix/proc.c, | |
19920 | config/posix/sem.c, config/posix/sem.h, config/posix/time.c: Update | |
19921 | FSF address. | |
19922 | ||
19923 | 2005-11-18 Jakub Jelinek <jakub@redhat.com> | |
19924 | ||
19925 | * Makefile.am: Move libgomp_f.h from nodist_include_HEADERS | |
19926 | to nodist_noinst_HEADERS. | |
19927 | * Makefile.in: Rebuilt. | |
19928 | ||
19929 | * config/posix/omp-lock.h (omp_nest_lock_t): Change into struct, | |
19930 | add integer count field. | |
19931 | * config/posix/lock.c (omp_destroy_nest_lock): Adjust for | |
19932 | omp_nest_lock_t type change. | |
19933 | (omp_init_nest_lock): Likewise. Initialize count to 0. | |
19934 | (omp_set_nest_lock): Adjust for omp_nest_lock_t type change. | |
19935 | Increment count. | |
19936 | (omp_unset_nest_lock): Adjust for omp_nest_lock_t type change. | |
19937 | Decrement count. | |
19938 | (omp_test_nest_lock): Adjust for omp_nest_lock_t type change. | |
19939 | Increment count if successful and return the new nesting level. | |
19940 | * config/linux/lock.c (omp_test_nest_lock): Return new nesting level. | |
19941 | * omp_lib.f90.in (omp_test_lock): Fix LOCK argument type. | |
19942 | * testsuite/libgomp.c/lib-1.c: New test. | |
19943 | * testsuite/libgomp.fortran/lib1.f90: New test. | |
19944 | * testsuite/libgomp.fortran/lib2.f: New test. | |
19945 | * testsuite/libgomp.fortran/lib3.f: New test. | |
19946 | ||
19947 | 2005-11-17 Richard Henderson <rth@redhat.com> | |
19948 | ||
19949 | PR 24845 | |
19950 | * Makefile.am (nodist_toolexeclib_HEADERS): New. | |
19951 | * configure.ac (link_gomp): New. Substitute it. | |
19952 | (AC_CONFIG_FILES): Add libgomp.spec. | |
19953 | * libgomp.spec.in: New file. | |
19954 | * Makefile.in, testsuite/Makefile.in, configure: Rebuild. | |
19955 | * testsuite/lib/libgomp-dg.exp: Add -B${blddir}/ to flags. | |
19956 | ||
19957 | 2005-11-18 Jakub Jelinek <jakub@redhat.com> | |
19958 | ||
19959 | * testsuite/libgomp.fortran/reduction1.f90: Adjust for | |
19960 | reduction(-:var) behaving the same as reduction(+:var). | |
19961 | * testsuite/libgomp.c/reduction-4.c: New test. | |
19962 | ||
19963 | 2005-11-15 Uros Bizjak <uros@kss-loka.si> | |
19964 | ||
19965 | * testsuite/libgomp.c/pr24455-1.c, testsuite/libgomp.c/pr24455.c, | |
19966 | testsuite/libgomp.c/copyin-1.c, testsuite/libgomp.c/copyin-2.c, | |
19967 | testsuite/libgomp.c/copyin-3.c, | |
19968 | testsuite/libgomp.c++/copyin-1.C, testsuite/libgomp.c++/copyin-2.C, | |
19969 | testsuite/libgomp.c++/ctor-5.C, testsuite/libgomp.c++/ctor-8.C, | |
19970 | testsuite/libgomp.c++/ctor-9.C, testsuite/libgomp.c++/pr24455-1.C, | |
19971 | testsuite/libgomp.c++/pr24455.C, | |
19972 | testsuite/libgomp.fortran/threadprivate1.f90, | |
19973 | testsuite/libgomp.fortran/threadprivate2.f90, | |
19974 | testsuite/libgomp.fortran/threadprivate3.f90, | |
19975 | testsuite/libgomp.fortran/appendix-a/a.22.7.f9, | |
19976 | testsuite/libgomp.fortran/appendix-a/a.22.8.f9, | |
19977 | testsuite/libgomp.fortran/omp_parse3.f90: Require | |
19978 | effective-target TLS. | |
19979 | ||
19980 | 2005-11-14 Diego Novillo <dnovillo@redhat.com> | |
19981 | ||
19982 | * HEADER: Remove. | |
19983 | ||
19984 | 2005-11-13 Jakub Jelinek <jakub@redhat.com> | |
19985 | ||
19986 | PR libgomp/24797 | |
19987 | * team.c (initialize_team): Pass NULL rather than free as | |
19988 | pthread_key_create destructor. Initialize thread specific data | |
19989 | pointer in initial thread to a static local variable rather than | |
19990 | malloced memory. | |
19991 | ||
19992 | 2005-11-11 Uros Bizjak <uros@kss-loka.si> | |
19993 | ||
19994 | * testsuite/lib/libgomp-dg.exp: Locate libgcc.a and append | |
19995 | its location to ld_library_path. | |
19996 | ||
19997 | 2005-11-10 Diego Novillo <dnovillo@redhat.com> | |
19998 | ||
19999 | * testsuite/libgomp.c/c.exp: Rename from dg.exp. | |
20000 | ||
20001 | 2005-11-10 Diego Novillo <dnovillo@redhat.com> | |
20002 | ||
20003 | * testsuite/libgomp.c: Rename from libgomp.dg. | |
20004 | ||
20005 | 2005-11-09 Diego Novillo <dnovillo@redhat.com> | |
20006 | ||
20007 | * testsuite/libgomp.c++/pr24455.C: Add copyin clause for | |
20008 | threadprivate variable 'i'. | |
20009 | ||
20010 | 2005-11-09 Jakub Jelinek <jakub@redhat.com> | |
20011 | ||
20012 | * config/linux/s390/futex.h: New file. | |
20013 | * configure.tgt: Use it. | |
20014 | ||
20015 | * testsuite/libgomp.fortran/omp_parse4.f90: Move n initialization | |
20016 | before the parallel. | |
20017 | ||
20018 | 2005-11-08 Jakub Jelinek <jakub@redhat.com> | |
20019 | ||
20020 | PR c++/24734 | |
20021 | * testsuite/libgomp.c++/master-1.C: New test. | |
20022 | ||
20023 | 2005-11-07 Jakub Jelinek <jakub@redhat.com> | |
20024 | ||
20025 | * testsuite/libgomp.dg/copyin-3.c: New test. | |
20026 | ||
20027 | 2005-11-07 Jakub Jelinek <jakub@redhat.com> | |
20028 | ||
20029 | * testsuite/libgomp.fortran/retval1.f90: New test. | |
20030 | * testsuite/libgomp.fortran/vla7.f90: New test. | |
20031 | ||
20032 | 2005-11-06 Jakub Jelinek <jakub@redhat.com> | |
20033 | ||
20034 | * testsuite/libgomp.fortran/vla2.f90: New test. | |
20035 | * testsuite/libgomp.fortran/vla3.f90: New test. | |
20036 | * testsuite/libgomp.fortran/vla4.f90: New test. | |
20037 | * testsuite/libgomp.fortran/vla5.f90: New test. | |
20038 | * testsuite/libgomp.fortran/vla6.f90: New test. | |
20039 | ||
20040 | 2005-11-01 Jakub Jelinek <jakub@redhat.com> | |
20041 | ||
20042 | * config/linux/sparc/futex.h: New file. | |
20043 | * configure.tgt: Use it. | |
20044 | * testsuite/lib/libgomp-dg.exp: Use -mcpu=v9 for sparc testing. | |
20045 | ||
20046 | * critical.c: Include stdlib.h. | |
20047 | * acinclude.m4 (LIBGOMP_CHECK_SYNC_BUILTINS): Avoid warnings about | |
20048 | ignoring return value. | |
20049 | * configure.ac: Don't put -Wc,-pthread into XCFLAGS until after | |
20050 | LIBGOMP_CHECK_SYNC_BUILTINS check. | |
20051 | * configure: Rebuilt. | |
20052 | ||
20053 | 2005-10-31 Jakub Jelinek <jakub@redhat.com> | |
20054 | ||
20055 | * testsuite/libgomp.fortran/vla1.f90: New test. | |
20056 | ||
20057 | 2005-10-31 Richard Henderson <rth@redhat.com> | |
20058 | ||
20059 | * testsuite/libgomp.fortran/character2.f90: Fix race condition | |
20060 | setting 's' in different threads. | |
20061 | ||
20062 | 2005-10-31 Jakub Jelinek <jakub@redhat.com> | |
20063 | ||
20064 | * libgomp.h (attribute_hidden, ialias): Define. | |
20065 | * config/posix/proc.c (omp_get_num_procs): Add ialias. | |
20066 | * config/posix/time.c (omp_get_wtime, omp_get_wtick): Likewise. | |
20067 | * config/posix/lock.c (omp_init_lock, omp_init_nest_lock, | |
20068 | omp_destroy_lock, omp_destroy_nest_lock, omp_set_lock, | |
20069 | omp_set_nest_lock, omp_unset_lock, omp_unset_nest_lock, | |
20070 | omp_test_lock, omp_test_nest_lock): Likewise. | |
20071 | * config/linux/lock.c (omp_init_lock, omp_init_nest_lock, | |
20072 | omp_destroy_lock, omp_destroy_nest_lock, omp_set_lock, | |
20073 | omp_set_nest_lock, omp_unset_lock, omp_unset_nest_lock, | |
20074 | omp_test_lock, omp_test_nest_lock): Likewise. | |
20075 | * env.c (omp_set_dynamic, omp_set_nested, omp_set_num_threads, | |
20076 | omp_get_dynamic, omp_get_nested): Likewise. | |
20077 | * parallel.c (omp_get_num_threads, omp_get_max_threads, | |
20078 | omp_get_thread_num, omp_in_parallel): Likewise. | |
20079 | * fortran.c (ialias_redirect): Define. | |
20080 | (omp_init_lock, omp_init_nest_lock, omp_destroy_lock, | |
20081 | omp_destroy_nest_lock, omp_set_lock, omp_set_nest_lock, | |
20082 | omp_unset_lock, omp_unset_nest_lock, omp_test_lock, | |
20083 | omp_test_nest_lock, omp_set_dynamic, omp_set_nested, | |
20084 | omp_set_num_threads, omp_get_dynamic, omp_get_nested, | |
20085 | omp_in_parallel, omp_get_max_threads, omp_get_num_procs, | |
20086 | omp_get_num_threads, omp_get_thread_num, omp_get_wtick, | |
20087 | omp_get_wtime): Add ialias_redirect. | |
20088 | ||
20089 | 2005-10-30 Jakub Jelinek <jakub@redhat.com> | |
20090 | ||
20091 | * fortran.c: Include stdlib.h. | |
20092 | ||
20093 | 2005-10-29 Jakub Jelinek <jakub@redhat.com> | |
20094 | ||
20095 | * Makefile.am (env.o, env.lo): Depend on libgomp_f.h. | |
20096 | * Makefile.in: Regenerated. | |
20097 | ||
20098 | 2005-10-28 Jakub Jelinek <jakub@redhat.com> | |
20099 | ||
20100 | * mkomp_h.pl: Remove all -Wc, option prefixes in $COMPILE. | |
20101 | * libgomp_f.h.in (omp_check_defines): New function. | |
20102 | * env.c: Include libgomp_f.h. | |
20103 | (initialize_env): Call omp_check_defines. | |
20104 | ||
20105 | * testsuite/libgomp.dg/copyin-2.c: New test. | |
20106 | * testsuite/libgomp.c++/copyin-2.C: New test. | |
20107 | * testsuite/libgomp.fortran/threadprivate3.f90: New test. | |
20108 | ||
20109 | * testsuite/libgomp.fortran/threadprivate2.f90: New test. | |
20110 | * testsuite/libgomp.fortran/sharing2.f90: New test. | |
20111 | ||
20112 | * testsuite/libgomp.dg/copyin-1.c: New test. | |
20113 | * testsuite/libgomp.c++/copyin-1.C: New test. | |
20114 | ||
20115 | 2005-10-26 Jakub Jelinek <jakub@redhat.com> | |
20116 | ||
20117 | * testsuite/libgomp.fortran/crayptr1.f90: New test. | |
20118 | ||
20119 | * testsuite/libgomp.fortran/workshare1.f90: New test. | |
20120 | ||
20121 | * libgomp.fortran/appendix-a/a.28.5.f90: Change into compile | |
20122 | only test. | |
20123 | * libgomp.fortran/sharing1.f90: New test. | |
20124 | ||
20125 | 2005-10-24 Jakub Jelinek <jakub@redhat.com> | |
20126 | ||
20127 | PR c++/24502 | |
20128 | * testsuite/libgomp.c++/loop-7.C: New test. | |
20129 | ||
20130 | * testsuite/libgomp.dg/nestedfn-2.c: New test. | |
20131 | ||
20132 | * testsuite/libgomp.dg/nestedfn-1.c: New test. | |
20133 | * testsuite/libgomp.fortran/reduction6.f90: New test. | |
20134 | * testsuite/libgomp.fortran/nestedfn1.f90: New test. | |
20135 | ||
20136 | 2005-10-23 Richard Henderson <rth@redhat.com> | |
20137 | ||
20138 | * testsuite/libgomp.c++/ctor-1.C: New. | |
20139 | * testsuite/libgomp.c++/ctor-2.C: New. | |
20140 | * testsuite/libgomp.c++/ctor-3.C: New. | |
20141 | * testsuite/libgomp.c++/ctor-4.C: New. | |
20142 | * testsuite/libgomp.c++/ctor-5.C: New. | |
20143 | * testsuite/libgomp.c++/ctor-6.C: New. | |
20144 | * testsuite/libgomp.c++/ctor-7.C: New. | |
20145 | * testsuite/libgomp.c++/ctor-8.C: New. | |
20146 | * testsuite/libgomp.c++/ctor-9.C: New. | |
20147 | ||
20148 | 2005-10-21 Diego Novillo <dnovillo@redhat.com> | |
20149 | ||
20150 | PR 24455 | |
20151 | * testsuite/libgomp.c++/pr24455-1.C: New test. | |
20152 | * testsuite/libgomp.c++/pr24455.C: New test. | |
20153 | * testsuite/libgomp.dg/pr24455-1.c: New test. | |
20154 | * testsuite/libgomp.dg/pr24455.c: New test. | |
20155 | ||
20156 | 2005-10-20 Richard Henderson <rth@redhat.com> | |
20157 | ||
20158 | * testsuite/libgomp.c++/loop-6.C: New. | |
20159 | * testsuite/libgomp.dg/loop-3.c: New. | |
20160 | ||
20161 | 2005-10-20 Jakub Jelinek <jakub@redhat.com> | |
20162 | ||
20163 | * testsuite/libgomp.fortran/jacobi.f: Don't make i and j | |
20164 | explicitly private. | |
20165 | * testsuite/libgomp.fortran/omp_parse1.f90 (test_do): Make i | |
20166 | explicitly shared. | |
20167 | ||
20168 | 2005-10-19 Diego Novillo <dnovillo@redhat.com> | |
20169 | ||
20170 | * testsuite/libgomp.fortran/jacobi.f: New test. | |
20171 | ||
20172 | 2005-10-19 Richard Henderson <rth@redhat.com> | |
20173 | ||
20174 | * configure.tgt (i?86-linux): Default to with_arch instead of | |
20175 | CFLAGS. Add -mtune to match target_cpu. | |
20176 | (x86_64-linux): Tune to i686. | |
20177 | ||
20178 | * fortran.c (omp_test_nest_lock_): Fix typo. | |
20179 | ||
20180 | 2005-10-19 Jakub Jelinek <jakub@redhat.com> | |
20181 | ||
20182 | * ordered.c (gomp_ordered_first, gomp_ordered_last, gomp_ordered_next, | |
20183 | gomp_ordered_sync): Do nothing if team->nthreads == 1. | |
20184 | * testsuite/libgomp.dg/ordered-3.c: New test. | |
20185 | ||
20186 | * testsuite/libgomp.dg/appendix-a/a.18.1.c: Remove unconditional abort. | |
20187 | Remove volatile keyword. | |
20188 | ||
20189 | * testsuite/libgomp.fortran/appendix-a/a.19.1.f90: Reorder variables | |
20190 | in COMMON block to avoid warnings on 64-bit targets. | |
20191 | ||
20192 | 2005-10-18 Diego Novillo <dnovillo@redhat.com> | |
20193 | ||
20194 | * testsuite/libgomp.dg/shared-3.c: New test. | |
20195 | ||
20196 | 2005-10-18 Jakub Jelinek <jakub@redhat.com> | |
20197 | ||
20198 | * testsuite/libgomp.fortran/appendix-a/a.31.3.f90: Removed. | |
20199 | * testsuite/libgomp.fortran/reduction5.f90: New test. | |
20200 | ||
20201 | 2005-10-18 Jakub Jelinek <jakub@redhat.com> | |
20202 | ||
20203 | * testsuite/libgomp.fortran/appendix-a/a.40.1.f90: Add -ffixed-form to | |
20204 | dg-options. | |
20205 | * testsuite/libgomp.fortran/appendix-a/a.18.1.f90: Likewise. Enable | |
20206 | flush loop now that __sync_synchronize has proper memory barrier. | |
20207 | * testsuite/libgomp.fortran/appendix-a/a.3.1.f90: Fix a typo. | |
20208 | Add -ffixed-form to dg-options. | |
20209 | ||
20210 | 2005-10-17 Diego Novillo <dnovillo@redhat.com> | |
20211 | ||
20212 | * testsuite/libgomp.fortran/fortran.exp: Also gather tests | |
20213 | from subdirectories. | |
20214 | * testsuite/libgomp.fortran/appendix-a/a.15.1.f90: New test. | |
20215 | * testsuite/libgomp.fortran/appendix-a/a.16.1.f90: New test. | |
20216 | * testsuite/libgomp.fortran/appendix-a/a.18.1.f90: New test. | |
20217 | * testsuite/libgomp.fortran/appendix-a/a.19.1.f90: New test. | |
20218 | * testsuite/libgomp.fortran/appendix-a/a.2.1.f90: New test. | |
20219 | * testsuite/libgomp.fortran/appendix-a/a.21.1.f90: New test. | |
20220 | * testsuite/libgomp.fortran/appendix-a/a.22.7.f90: New test. | |
20221 | * testsuite/libgomp.fortran/appendix-a/a.22.8.f90: New test. | |
20222 | * testsuite/libgomp.fortran/appendix-a/a.26.1.f90: New test. | |
20223 | * testsuite/libgomp.fortran/appendix-a/a.28.1.f90: New test. | |
20224 | * testsuite/libgomp.fortran/appendix-a/a.28.2.f90: New test. | |
20225 | * testsuite/libgomp.fortran/appendix-a/a.28.3.f90: New test. | |
20226 | * testsuite/libgomp.fortran/appendix-a/a.28.4.f90: New test. | |
20227 | * testsuite/libgomp.fortran/appendix-a/a.28.5.f90: New test. | |
20228 | * testsuite/libgomp.fortran/appendix-a/a.3.1.f90: New test. | |
20229 | * testsuite/libgomp.fortran/appendix-a/a.31.3.f90: New test. | |
20230 | * testsuite/libgomp.fortran/appendix-a/a.31.4.f90: New test. | |
20231 | * testsuite/libgomp.fortran/appendix-a/a.31.5.f90: New test. | |
20232 | * testsuite/libgomp.fortran/appendix-a/a.33.3.f90: New test. | |
20233 | * testsuite/libgomp.fortran/appendix-a/a.38.1.f90: New test. | |
20234 | * testsuite/libgomp.fortran/appendix-a/a.39.1.f90: New test. | |
20235 | * testsuite/libgomp.fortran/appendix-a/a.4.1.f90: New test. | |
20236 | * testsuite/libgomp.fortran/appendix-a/a.40.1.f90: New test. | |
20237 | * testsuite/libgomp.fortran/appendix-a/a.5.1.f90: New test. | |
20238 | * testsuite/libgomp.fortran/appendix-a/a10.1.f90: New test. | |
20239 | ||
20240 | 2005-10-17 Jakub Jelinek <jakub@redhat.com> | |
20241 | ||
20242 | * testsuite/libgomp.dg/dg.exp: Only unset lang_* if | |
20243 | lang_library_path exists. Use find instead of glob to gather tests. | |
20244 | * testsuite/libgomp.dg/appendix-a/appendix-a.exp: Removed. | |
20245 | ||
20246 | 2005-10-17 Diego Novillo <dnovillo@redhat.com> | |
20247 | ||
20248 | * testsuite/libgomp.dg/appendix-a/a.15.1.c: New test. | |
20249 | * testsuite/libgomp.dg/appendix-a/a.16.1.c: New test. | |
20250 | * testsuite/libgomp.dg/appendix-a/a.18.1.c: New test. | |
20251 | * testsuite/libgomp.dg/appendix-a/a.19.1.c: New test. | |
20252 | * testsuite/libgomp.dg/appendix-a/a.2.1.c: New test. | |
20253 | * testsuite/libgomp.dg/appendix-a/a.21.1.c: New test. | |
20254 | * testsuite/libgomp.dg/appendix-a/a.26.1.c: New test. | |
20255 | * testsuite/libgomp.dg/appendix-a/a.29.1.c: New test. | |
20256 | * testsuite/libgomp.dg/appendix-a/a.3.1.c: New test. | |
20257 | * testsuite/libgomp.dg/appendix-a/a.39.1.c: New test. | |
20258 | * testsuite/libgomp.dg/appendix-a/a.4.1.c: New test. | |
20259 | * testsuite/libgomp.dg/appendix-a/a.5.1.c: New test. | |
20260 | * testsuite/libgomp.dg/appendix-a/appendix-a.exp: New file. | |
20261 | ||
20262 | 2005-10-15 Jakub Jelinek <jakub@redhat.com> | |
20263 | ||
20264 | * testsuite/libgomp.dg/vla-1.c: New test. | |
20265 | ||
20266 | * testsuite/libgomp.fortran/reference2.f90: New test. | |
20267 | ||
20268 | * testsuite/libgomp.fortran/character2.f90: Remove explicit | |
20269 | declaration of omp_get_thread_num. | |
20270 | * testsuite/libgomp.fortran/threadprivate1.f90: Likewise. Add | |
20271 | use omp_lib. | |
20272 | ||
20273 | * testsuite/libgomp.fortran/reduction1.f90: New test. | |
20274 | * testsuite/libgomp.fortran/reduction2.f90: New test. | |
20275 | * testsuite/libgomp.fortran/reduction3.f90: New test. | |
20276 | * testsuite/libgomp.fortran/reduction4.f90: New test. | |
20277 | ||
20278 | 2005-10-13 Richard Henderson <rth@redhat.com> | |
20279 | ||
20280 | * Makefile.am (libgomp_la_SOURCES): Add bar.c. | |
20281 | * Makefile.in: Regenerate. | |
20282 | * barrier.c (GOMP_barrier): Use gomp_barrier_wait. | |
20283 | * libgomp.h: Include bar.h. | |
20284 | (struct gomp_barrier): Remove. | |
20285 | (struct gomp_team): Add barrier. Replace master_barrier with | |
20286 | master_release. Replace threads with ordered_release. | |
20287 | (struct gomp_thread): Replace barrier with release. | |
20288 | * ordered.c (gomp_ordered_first): Update for ordered_release change. | |
20289 | (gomp_ordered_last, gomp_ordered_next, gomp_ordered_static_init, | |
20290 | gomp_ordered_static_next, gomp_ordered_sync): Likewise. | |
20291 | * single.c (GOMP_single_copy_start): Use gomp_barrier_wait. | |
20292 | (GOMP_single_copy_end): Likewise. | |
20293 | * team.c (gomp_threads_dock): New. | |
20294 | (gomp_barrier_init, gomp_barrier_destroy): Remove. | |
20295 | (gomp_thread_start): Use gomp_barrier_wait. | |
20296 | (new_team, free_team): Update for gomp_team changes. | |
20297 | (gomp_team_start): Use gomp_barrier_wait and gomp_barrier_reinit. | |
20298 | (gomp_team_end): Use gomp_barrier_wait. | |
20299 | (initialize_team): Update for gomp_thread changes. | |
20300 | * work.c (gomp_work_share_end): Use gomp_barrier_wait_start. | |
20301 | (gomp_work_share_end_nowait): Use atomic ops when available. | |
20302 | * config/linux/bar.c, config/linux/bar.h: New files. | |
20303 | * config/posix/bar.c, config/posix/bar.h: New files. | |
20304 | ||
20305 | 2005-10-13 Jakub Jelinek <jakub@redhat.com> | |
20306 | ||
20307 | * single.c (GOMP_single_copy_end): Don't segfault if team is NULL. | |
20308 | * testsuite/libgomp.dg/single-2.c: New test. | |
20309 | ||
20310 | * testsuite/libgomp.dg/dg.exp (lang_library_path, lang_test_file, | |
20311 | lang_link_flags): Unset, so that they aren't inherited from previously | |
20312 | sourced *.exp. | |
20313 | ||
20314 | * testsuite/libgomp.fortran/threadprivate1.f90: New test. | |
20315 | ||
20316 | 2005-10-12 Richard Henderson <rth@redhat.com> | |
20317 | ||
20318 | * testsuite/lib/libgomp-dg.exp: Set blddir at toplevel. | |
20319 | (libgomp_init): Use lang_test_file, lang_library_path, and | |
20320 | lang_link_flags, set by the subdirectory files. Add -fopenmp here. | |
20321 | ||
20322 | * testsuite/libgomp.fortran/fortran.exp (lang_library_path): New. | |
20323 | (lang_test_file, lang_link_flags): New. | |
20324 | (DEFAULT_FFLAGS, ALWAYS_CFLAGS, multilibs, blddir): Remove. | |
20325 | ||
20326 | * testsuite/libgomp.c++/c++.exp, testsuite/libgomp.c++/loop-1.C, | |
20327 | testsuite/libgomp.c++/loop-2.C, testsuite/libgomp.c++/loop-3.C, | |
20328 | testsuite/libgomp.c++/loop-4.C, testsuite/libgomp.c++/nested-1.C, | |
20329 | testsuite/libgomp.c++/parallel-1.C, | |
20330 | testsuite/libgomp.c++/reduction-1.C, | |
20331 | testsuite/libgomp.c++/reduction-2.C, | |
20332 | testsuite/libgomp.c++/reduction-3.C, | |
20333 | testsuite/libgomp.c++/sections-1.C, testsuite/libgomp.c++/shared-1.C, | |
20334 | testsuite/libgomp.c++/shared-2.C, testsuite/libgomp.c++/single-1.C, | |
20335 | testsuite/libgomp.c++/single-2.C, testsuite/libgomp.c++/single-3.C: | |
20336 | New files, largely cribbed from the C testsuite. | |
20337 | ||
20338 | 2005-10-12 Jakub Jelinek <jakub@redhat.com> | |
20339 | ||
20340 | * testsuite/libgomp.fortran/character1.f90: New test. | |
20341 | * testsuite/libgomp.fortran/character2.f90: New test. | |
20342 | ||
20343 | * testsuite/libgomp.dg/nested-1.c: New test. | |
20344 | * testsuite/libgomp.dg/nested-2.c: New test. | |
20345 | * testsuite/libgomp.fortran/do1.f90: New test. | |
20346 | * testsuite/libgomp.fortran/do2.f90: New test. | |
20347 | ||
20348 | * testsuite/libgomp.fortran/reference1.f90: New test. | |
20349 | ||
20350 | 2005-10-11 Jakub Jelinek <jakub@redhat.com> | |
20351 | ||
20352 | * testsuite/libgomp.dg/reduction-1.c: New test. | |
20353 | * testsuite/libgomp.dg/reduction-2.c: New test. | |
20354 | * testsuite/libgomp.dg/reduction-3.c: New test. | |
20355 | ||
20356 | 2005-10-10 Jakub Jelinek <jakub@redhat.com> | |
20357 | ||
20358 | * testsuite/libgomp.dg/atomic-1.c: New test. | |
20359 | * testsuite/libgomp.dg/atomic-2.c: New test. | |
20360 | ||
20361 | 2005-10-09 Richard Henderson <rth@redhat.com> | |
20362 | ||
20363 | * critical.c (atomic_lock): New. | |
20364 | (initialize_critical): Initialize it. | |
20365 | (GOMP_atomic_start, GOMP_atomic_end): New. | |
20366 | * libgomp.map: Export them. | |
20367 | * libgomp_g.h: Declare them. | |
20368 | ||
20369 | * testsuite/libgomp.dg/atomic-10.c: Move from gcc testsuite. | |
20370 | ||
20371 | 2005-10-02 Richard Henderson <rth@redhat.com> | |
20372 | ||
20373 | * configure.ac: Move save_CFLAGS hack earlier. Append -Wall/-Werror | |
20374 | to XCFLAGS instead of CFLAGS. | |
20375 | ||
20376 | 2005-09-30 Richard Henderson <rth@redhat.com> | |
20377 | ||
20378 | * configure.ac: Determine whether -pthread or -lpthread is needed. | |
20379 | * Makefile.am (libgomp_la_LDFLAGS): Remove explicit -lpthread. | |
93d90219 | 20380 | * Makefile.in, configure: Rebuild. |
953ff289 DN |
20381 | |
20382 | 2005-09-28 Richard Henderson <rth@redhat.com> | |
20383 | ||
20384 | * testsuite/libgomp.dg/omp-loop03.c: Fix return code. | |
20385 | * testsuite/libgomp.dg/omp-single-3.c: New test. | |
20386 | ||
20387 | 2005-09-28 Diego Novillo <dnovillo@redhat.com> | |
20388 | ||
20389 | * testsuite/libgomp.dg/omp-single-2.c: New test. | |
20390 | * testsuite/libgomp.dg/shared-2.c: Fix return code. | |
20391 | ||
20392 | 2005-09-27 Richard Henderson <rth@redhat.com> | |
20393 | ||
20394 | * testsuite/libgomp.dg/omp-loop03.c: Add initial barrier. | |
20395 | * testsuite/libgomp.dg/omp-parallel-for.c: Specify static schedule. | |
20396 | ||
20397 | 2005-09-27 Jakub Jelinek <jakub@redhat.com> | |
20398 | ||
20399 | * testsuite/libgomp.dg/omp-loop03.c: New test. | |
20400 | ||
20401 | 2005-09-27 Diego Novillo <dnovillo@redhat.com> | |
20402 | ||
20403 | * testsuite/libgomp.dg/omp-parallel-for.c: New test. | |
20404 | ||
20405 | 2005-09-27 Diego Novillo <dnovillo@redhat.com> | |
20406 | ||
20407 | * testsuite/libgomp.dg/omp-single-1.c: New test. | |
20408 | * testsuite/libgomp.dg/shared-1.c: Return 0. | |
20409 | Add prototype for abort. | |
20410 | * testsuite/libgomp.dg/shared-2.c: Likewise. | |
20411 | ||
20412 | 2005-09-26 Jakub Jelinek <jakub@redhat.com> | |
20413 | ||
20414 | * testsuite/libgomp.fortran/omp_parse3.f90: Fix non-conforming | |
20415 | constructs. | |
20416 | ||
20417 | 2005-09-26 Diego Novillo <dnovillo@redhat.com> | |
20418 | ||
20419 | * testsuite/libgomp.dg/shared-1.c: New test. | |
20420 | * testsuite/libgomp.dg/shared-2.c: New test. | |
20421 | ||
20422 | 2005-09-24 Richard Henderson <rth@redhat.com> | |
20423 | ||
20424 | * testsuite/libgomp.dg/omp_workshare3.c: Mark dg-error. | |
20425 | ||
20426 | 2005-09-24 Richard Henderson <rth@redhat.com> | |
20427 | ||
20428 | * iter.c (gomp_iter_static_next): Round up when computing number | |
20429 | of iterations. Don't bother distributing a remainder equally. | |
20430 | ||
20431 | * testsuite/libgomp.dg/omp-loop01.c (main1): Rename from main. | |
20432 | Don't call srand. Zero b before testing. | |
20433 | (main): New. | |
20434 | ||
20435 | 2005-09-24 Jakub Jelinek <jakub@redhat.com> | |
20436 | ||
20437 | * testsuite/libgomp.fortran/omp_atomic1.f90: New test. | |
20438 | * testsuite/libgomp.fortran/omp_atomic2.f90: New test. | |
20439 | ||
20440 | 2005-09-23 Jakub Jelinek <jakub@redhat.com> | |
20441 | ||
20442 | * testsuite/libgomp.fortran/omp_parse1.f90: Add a test for !$omp do | |
20443 | without !$omp end do, followed immediately by subroutine end. | |
20444 | ||
20445 | 2005-09-23 Diego Novillo <dnovillo@redhat.com> | |
20446 | ||
20447 | * testsuite/libgomp.dg/omp-parallel-if.c: New test. | |
20448 | ||
20449 | 2005-09-22 Richard Henderson <rth@redhat.com> | |
20450 | ||
20451 | * critical.c (GOMP_critical_name_start): Change argument to void**. | |
20452 | Reuse the pointer space if the mutex fits. | |
20453 | (GOMP_critical_name_end): Likewise. | |
20454 | (initialize_critical): Don't define if GOMP_MUTEX_INIT_0. | |
20455 | * libgomp_g.h (GOMP_critical_name_start): Update decl. | |
20456 | (GOMP_critical_name_end): Likewise. | |
20457 | * config/linux/mutex.h (GOMP_MUTEX_INIT_0): New. | |
20458 | * config/posix/mutex.h (GOMP_MUTEX_INIT_0): New. | |
20459 | ||
20460 | 2005-09-20 Richard Henderson <rth@redhat.com> | |
20461 | ||
20462 | * critical.c (GOMP_critical_name_start, GOMP_critical_name_end): New. | |
20463 | (create_lock_lock): New. | |
20464 | (initialize_critical): Initialize it. | |
20465 | * libgomp.map (GOMP_critical_name_start, GOMP_critical_name_end): New. | |
20466 | * libgomp_g.h (GOMP_ordered_start, GOMP_ordered_end): Declare. | |
20467 | ||
20468 | 2005-09-20 Diego Novillo <dnovillo@redhat.com> | |
20469 | ||
20470 | * testsuite/libgom.dg/omp-loop01.c: Include stdio.h. | |
20471 | ||
20472 | 2005-09-20 Diego Novillo <dnovillo@redhat.com> | |
20473 | ||
20474 | * testsuite/libgomp.dg/omp-loop01.c: New test. | |
20475 | * testsuite/libgomp.dg/omp-loop02.c: New test. | |
20476 | ||
20477 | 2005-09-20 Jakub Jelinek <jakub@redhat.com> | |
20478 | ||
20479 | * configure.ac (AC_PROG_FC): Add. | |
20480 | (USE_FORTRAN): New automake conditional. | |
20481 | * configure: Rebuilt. | |
20482 | * Makefile.am (libgomp_la_SOURCES): Add fortran.c. | |
20483 | (nodist_include_HEADERS): Add omp_lib.h, omp_lib.f90 and libgomp_f.h. | |
20484 | If USE_FORTRAN, add also omp_lib.mod and omp_lib_kinds.mod. | |
20485 | Add rules to build them. | |
20486 | * Makefile.in: Rebuilt. | |
20487 | * mkomp_h.pl: Compute and replace also OMP_LOCK_KIND and | |
20488 | OMP_NEST_LOCK_KIND. | |
20489 | * libgomp.map: Add Fortran wrappers. | |
20490 | * libgomp_f.h.in: New file. | |
20491 | * omp_lib.h.in: New file. | |
20492 | * omp_lib.f90.in: New file. | |
20493 | * fortran.c: New file. | |
20494 | * testsuite/lib/libgomp-dg.exp: Load a few more .exp files. | |
20495 | Append libgfortran directory to LD_LIBRARY_PATH if it exists. | |
20496 | Add -Lpath_to_libgfortran and -lgfortran -lgfortranbegin if | |
20497 | libgfortran has been built. | |
20498 | * testsuite/libgomp.fortran/fortran.exp: New file. | |
20499 | * testsuite/libgomp.fortran/omp_cond1.f: New test. | |
20500 | * testsuite/libgomp.fortran/omp_cond2.f: New test. | |
20501 | * testsuite/libgomp.fortran/omp_cond3.F90: New test. | |
20502 | * testsuite/libgomp.fortran/omp_cond4.F90: New test. | |
20503 | * testsuite/libgomp.fortran/omp_hello.f: New test. | |
20504 | * testsuite/libgomp.fortran/omp_orphan.f: New test. | |
20505 | * testsuite/libgomp.fortran/omp_parse1.f90: New test. | |
20506 | * testsuite/libgomp.fortran/omp_parse2.f90: New test. | |
20507 | * testsuite/libgomp.fortran/omp_parse3.f90: New test. | |
20508 | * testsuite/libgomp.fortran/omp_parse4.f90: New test. | |
20509 | * testsuite/libgomp.fortran/omp_reduction.f: New test. | |
20510 | * testsuite/libgomp.fortran/omp_workshare1.f: New test. | |
20511 | * testsuite/libgomp.fortran/omp_workshare2.f: New test. | |
20512 | ||
20513 | 2005-08-30 Richard Henderson <rth@redhat.com> | |
20514 | ||
20515 | * loop.c (GOMP_loop_static_start): Provide fallback wrapper | |
20516 | function for when aliases are not usable. | |
20517 | (GOMP_loop_dynamic_start, GOMP_loop_guided_start, | |
20518 | GOMP_loop_ordered_static_start, GOMP_loop_ordered_dynamic_start, | |
20519 | GOMP_loop_ordered_guided_start, GOMP_loop_static_next, | |
20520 | GOMP_loop_dynamic_next, GOMP_loop_guided_next, | |
20521 | GOMP_loop_ordered_static_next, GOMP_loop_ordered_dynamic_next, | |
20522 | GOMP_loop_ordered_guided_next): Likewise. | |
20523 | * ordered.c (GOMP_ordered_start): Likewise. | |
20524 | ||
20525 | 2005-08-01 Diego Novillo <dnovillo@redhat.com> | |
20526 | ||
20527 | * testsuite/libgomp.dg/dg.exp: Use -O2 for now. | |
20528 | * testsuite/libgomp.dg/omp_hello.c: Fix return code | |
20529 | * testsuite/libgomp.dg/omp_matvec.c: Likewise. | |
20530 | * testsuite/libgomp.dg/omp_orphan.c: Likewise | |
20531 | * testsuite/libgomp.dg/omp_reduction.c: Likewise | |
20532 | * testsuite/libgomp.dg/omp_workshare1.c: Likewise | |
20533 | * testsuite/libgomp.dg/omp_workshare2.c: Likewise | |
20534 | * testsuite/libgomp.dg/omp_workshare3.c: Likewise | |
20535 | * testsuite/libgomp.dg/omp_workshare4.c: Likewise | |
20536 | ||
20537 | 2005-07-07 Eric Christopher <echristo@redhat.com> | |
20538 | Diego Novillo <dnovillo@redhat.com> | |
20539 | ||
20540 | * testsuite/libgomp.dg/dg.exp: Add -fopenmp to DEFAULT_CFLAGS. | |
20541 | * testsuite/libgomp.dg/omp_hello.c: Add standard includes, fix | |
20542 | up code. | |
20543 | * testsuite/libgomp.dg/omp_matvec.c: Ditto. | |
20544 | * testsuite/libgomp.dg/omp_orphan.c: Ditto. | |
20545 | * testsuite/libgomp.dg/omp_reduction.c: Ditto. | |
20546 | * testsuite/libgomp.dg/omp_workshare1.c: Ditto. | |
20547 | * testsuite/libgomp.dg/omp_workshare2.c: Ditto. | |
20548 | * testsuite/libgomp.dg/omp_workshare3.c: Ditto. | |
20549 | * testsuite/libgomp.dg/omp_workshare4.c: Ditto. | |
20550 | ||
20551 | 2005-06-13 Diego Novillo <dnovillo@redhat.com> | |
20552 | ||
20553 | * TOPLEVEL.patch: Remove. | |
20554 | ||
20555 | 2005-05-16 Richard Henderson <rth@redhat.com> | |
20556 | ||
20557 | * configure.ac: Test for clock_gettime. | |
20558 | * config.h.in, configure: Rebuild. | |
20559 | * config/posix/time.c: Use recommended TIME_WITH_SYS_TIME pattern. | |
20560 | (omp_get_wtime): Use clock_gettime if available. | |
20561 | (omp_get_wtick): Use clock_getres if available. | |
20562 | ||
20563 | 2005-05-11 Richard Henderson <rth@redhat.com> | |
20564 | ||
20565 | * config/linux/ia64/futex.h: New file. | |
20566 | * configure.tgt: Use it. | |
20567 | ||
20568 | * team.c (gomp_barrier_init, gomp_barrier_destroy): Mark inline. | |
20569 | ||
20570 | 2005-05-07 Richard Henderson <rth@redhat.com> | |
20571 | ||
20572 | * config/linux/powerpc/futex.h: New file. | |
20573 | * configure.tgt: Use it. | |
20574 | ||
20575 | * config/linux/i486/futex.h: Merge ... | |
20576 | * config/linux/x86_64/futex.h: ... into ... | |
20577 | * config/linux/x86/futex.h: ... here. | |
20578 | * configure.tgt: Update to match. | |
20579 | ||
20580 | 2005-05-06 Richard Henderson <rth@redhat.com> | |
20581 | ||
20582 | * config/linux/alpha/futex.h: Conditionally define SYS_futex. | |
20583 | * config/linux/i486/futex.h: Likewise. | |
20584 | * config/linux/x86_64/futex.h: Likewise. | |
20585 | ||
20586 | * config/linux/lock.c: New file. | |
20587 | * config/linux/omp-lock.h: New file. | |
20588 | ||
20589 | * critical.c, env.h: Don't include omp.h | |
20590 | * config/posix/lock.c: Include libgomp.h instead of omp.h. | |
20591 | * config/posix/time.c: Likewise. | |
20592 | * config/posix/omp-lock.h: New file. | |
20593 | * libgomp.h: Include omp-lock.h and omp.h. | |
20594 | * Makefile.am (nodist_include_HEADERS): New. | |
20595 | (omp.h): New rule. | |
20596 | * configure.ac (PERL): New. | |
20597 | * mkomp_h.pl: New file. | |
20598 | * omp.h.in: Rename from omp.h; replace omp_lock_t and omp_nest_lock_t | |
20599 | with templates. | |
20600 | * Makefile.in, configure, testsuite/Makefile.in: Rebuild. | |
20601 | ||
20602 | * testsuite/lib/libgomp-dg.exp (libgomp_init): Add include into | |
20603 | build directory. Re-add -march=i486 hack. | |
20604 | ||
20605 | * testsuite/lib/libgomp-dg.exp (libgomp_compile_flags): Remove. | |
20606 | (libgomp_link_flags): Remove. | |
20607 | (libgomp_initialized): Remove. | |
20608 | (libgomp_init): Don't protect from reinitialization. Copy code | |
20609 | from libstdc++ for getting the multilib set correctly. | |
20610 | ||
20611 | 2005-05-05 Richard Henderson <rth@redhat.com> | |
20612 | ||
20613 | * config/linux/alpha/futex.h: New file. | |
20614 | * configure.tgt (alpha*-*-linux*): Use it. | |
20615 | ||
20616 | * config/posix/mutex.c: New file. | |
20617 | * config/posix/sem.c: Use libgomp.h. | |
20618 | ||
20619 | * configure.tgt (x86_64-linux): Also test CC for -m32. | |
20620 | * config/linux/x86_64/futex.h (futex_wait): Fix r10 usage. | |
20621 | ||
a1daed2d | 20622 | * testsuite/lib/libgomp-dg.exp (libgomp_link_flags): Add / |
953ff289 DN |
20623 | after $gccpath. |
20624 | ||
20625 | * Makefile.am (SUBDIRS): New. | |
20626 | (libgomp_la_LDFLAGS): Add -lpthread. | |
20627 | * configure.ac (AM_INIT_AUTOMAKE): Enable dependencies. | |
20628 | * Makefile.in, aclocal.m4, config.h.in, configure: Rebuild. | |
20629 | ||
20630 | * libgomp_g.h: New file. | |
20631 | * libgomp.h: Split out all public declarations to libgomp_g.h. | |
20632 | Use pragma GCC visibility instead of ATTRIBUTE_HIDDEN. | |
20633 | * config/linux/mutex.h: Remove ATTRIBUTE_HIDDEN. | |
20634 | * config/linux/sem.h: Likewise. | |
20635 | * config/posix/sem.h: Likewise. | |
20636 | ||
20637 | * Makefile.am (AM_LDFLAGS): New. | |
20638 | (libgomp_version_script): Split out from ... | |
20639 | (libgomp_la_LDFLAGS): ... here. | |
20640 | (libgomp_version_info): New. | |
20641 | * acinclude.m4 (LIBGOMP_CHECK_TLS): Use LIBGOMP_ENABLE. | |
20642 | (LIBGOMP_ENABLE): New. | |
20643 | (LIBGOMP_CHECK_LINKER_FEATURES): New. | |
20644 | (LIBGOMP_ENABLE_SYMVERS): New. | |
20645 | * configure.ac (AC_INIT): Version 1.0. | |
20646 | (enable-version-specific-runtime-libs): Use LIBGOMP_ENABLE. | |
20647 | (enable-linux-futex): Likewise. Rename from enable-futex. | |
20648 | (libtool_VERSION): New. | |
20649 | (LIBGOMP_ENABLE_SYMVERS): Use it. | |
20650 | * configure.tgt: Check with_gnu_ld wrt have_tls optimizations. | |
20651 | * Makefile.in, aclocal.m4, configure: Rebuild. | |
20652 | ||
20653 | * config/linux/mutex.c: Include libgomp.h instead of mutex.h. | |
20654 | (gomp_mutex_unlock_slow): Fix typo. | |
20655 | * config/linux/sem.c: Similarly. | |
20656 | (gomp_sem_post_slow): Fix typo. | |
20657 | * config/linux/sem.h (gomp_sem_post_slow): Fix typo. | |
20658 | * config/linux/i486/futex.h: Remove USE_LINUX_SYSENTER code. | |
20659 | [__PIC__] (sys_futex0): Don't use tmp output in asm. | |
20660 | ||
20661 | * Makefile.am (AM_CFLAGS): Expand with XCFLAGS. | |
20662 | (libgomp_la_LDFLAGS): Add top_srcdir to path. | |
20663 | * acinclude.m4: Copy libtool.m4 stuff from libgfortran. | |
20664 | * configure.ac: Check for getloadavg. Substitute XCFLAGS and | |
20665 | XLDFLAGS. Add XCFLAGS to CFLAGS around LIBGOMP_CHECK_SYNC_BUILTINS. | |
20666 | * configure.tgt: Set XCFLAGS and XLDFLAGS instead of CFLAGS and | |
20667 | LDFLAGS. Pull enable_futex check to top-level. | |
20668 | * libgomp.h: Fix sem.h and mutex.h includes. Define ATTRIBUTE_HIDDEN. | |
20669 | * Makefile.in, aclocal.m4, config.h.in, configure: Regenerate. | |
20670 | ||
20671 | First attempt at real configury. | |
20672 | * Makefile, config.h: Remove file. | |
20673 | * Makefile.am, Makefile.in: New file. | |
20674 | * acinclude.m4 aclocal.m4: New file. | |
20675 | * configure.ac, configure.tgt, configure: New file. | |
20676 | ||
20677 | * config/posix/lock.c: Rename from sys-lock.c. | |
20678 | * config/posix/mutex.h: Rename from sys-mutex.h. | |
20679 | * config/posix/sem.c: Rename from sys-sem.c. | |
20680 | * config/posix/sem.h: Rename from sys-sem.h. | |
20681 | * config/posix/proc.c: Rename from sys-proc.c. | |
20682 | * config/posix/time.c: Rename from sys-proc.c. | |
20683 | ||
20684 | * config/linux/mutex.c: New file. | |
20685 | * config/linux/mutex.h: New file. | |
20686 | * config/linux/sem.c: New file. | |
20687 | * config/linux/sem.h: New file. | |
20688 | * config/linux/i486/futex.h: New file. | |
20689 | * config/linux/x86_64/futex.h: New file. | |
20690 | ||
20691 | 2005-05-04 Richard Henderson <rth@redhat.com> | |
20692 | ||
20693 | * iter.c (gomp_iter_dynamic_next, gomp_iter_guided_next): New. | |
20694 | * libgomp.h: Declare them. | |
20695 | * loop.c (gomp_loop_dynamic_start, gomp_loop_guided_start, | |
20696 | gomp_loop_dynamic_next, gomp_loop_guided_next): Use them. | |
20697 | ||
20698 | 2005-05-04 Richard Henderson <rth@redhat.com> | |
20699 | ||
20700 | * libgomp-1 code drop | |
20701 | ||
20702 | 2005-05-04 Richard Henderson <rth@redhat.com> | |
20703 | ||
20704 | * iter.c (gomp_iter_static_next): Return tri-state on 0. | |
20705 | * ordered.c (gomp_ordered_static_next): Remove not_last argument. | |
20706 | * libgomp.h (struct gomp_team_state): Make static_trip unsigned. | |
20707 | (gomp_iter_static_next): Update. | |
20708 | (gomp_ordered_static_next): Update. | |
20709 | * loop.c (gomp_loop_static_start): Update for gomp_iter_static_next. | |
20710 | (gomp_loop_ordered_static_start): Likewise. Exit early for a | |
20711 | totally empty range. | |
20712 | (gomp_loop_ordered_static_next): Refine test for calling | |
20713 | gomp_ordered_static_next. | |
20714 | * testsuite/ordered-1.c: Add case for more threads than iterations. | |
20715 | ||
20716 | * iter.c (gomp_iter_runtime_next_locked): Remove. | |
20717 | * loop.c (gomp_loop_static_start, gomp_loop_dynamic_start, | |
a1daed2d | 20718 | gomp_loop_guided_start, gomp_loop_ordered_static_start, |
953ff289 DN |
20719 | gomp_loop_ordered_dynamic_start, gomp_loop_ordered_guided_start, |
20720 | gomp_loop_static_next, gomp_loop_dynamic_next, gomp_loop_guided_next, | |
20721 | gomp_loop_ordered_static_next, gomp_loop_ordered_dynamic_next, | |
20722 | gomp_loop_ordered_guided_next): Downcase name, make static, add | |
20723 | an external alias with the old name. | |
20724 | (GOMP_loop_runtime_start, GOMP_loop_ordered_runtime_start, | |
20725 | GOMP_loop_runtime_next, GOMP_loop_ordered_runtime_next): Use a | |
20726 | switch and call one of the above static functions. | |
20727 | * libgomp.h: Update. | |
20728 | ||
20729 | * work.c (gomp_work_share_start): Lock the mutex for !first too. | |
20730 | * loop.c (GOMP_loop_static_start, GOMP_loop_dynamic_start, | |
20731 | GOMP_loop_guided_start, GOMP_loop_runtime_start, | |
20732 | GOMP_loop_ordered_static_start, GOMP_loop_ordered_dynamic_start, | |
20733 | GOMP_loop_ordered_guided_start): Update to match. | |
20734 | * sections.c (GOMP_sections_start): Likewise. | |
20735 | * single.c (GOMP_single_start, GOMP_single_copy_start): Likewise. | |
20736 | ||
20737 | * ordered.c (gomp_ordered_first, gomp_ordered_last, gomp_ordered_next, | |
20738 | gomp_ordered_static_init, gomp_ordered_static_next): Rename s/_loop//. | |
20739 | Use bounds check instead of modulus. | |
20740 | (gomp_ordered_sync): Split out of GOMP_ordered_start. | |
20741 | (gomp_ordered_last): Don't sync with ordered_owner here. | |
20742 | (gomp_ordered_next): Likewise. | |
20743 | (gomp_ordered_static_loop_next): Likewise. | |
20744 | * loop.c, libgomp.h: Update to match. | |
20745 | ||
20746 | * libgomp.h (GOMP_barrier): Declare. | |
20747 | ||
20748 | * testsuite/barrier-1.c: New file. | |
20749 | * testsuite/critical-1.c: New file. | |
20750 | * testsuite/ordered-2.c: New file. | |
20751 | * testsuite/ordered-1.c: New file. | |
20752 | * testsuite/sections-1.c: New file. | |
20753 | * testsuite/single-1.c: New file. | |
20754 | * testsuite/Makefile (TESTS): Add them. | |
20755 | ||
20756 | 2005-05-04 Richard Henderson <rth@redhat.com> | |
20757 | ||
20758 | * libgomp.h (struct gomp_work_share): Add ordered_owner. | |
20759 | * loop.c (GOMP_loop_static_start): If not the startup thread, | |
20760 | acquire the mutex to wait for initialization complete. | |
20761 | (GOMP_loop_ordered_static_start): Likewise. | |
20762 | (GOMP_loop_ordered_runtime_start): Likewise. | |
20763 | (GOMP_loop_ordered_static_first): Remove. | |
20764 | (GOMP_loop_ordered_dynamic_first): Remove. | |
20765 | (GOMP_loop_ordered_guided_first): Remove. | |
20766 | (GOMP_loop_ordered_runtime_first): Remove. | |
20767 | * ordered.c (gomp_ordered_loop_first): Post to own release when | |
20768 | we're the first thread. | |
20769 | (gomp_ordered_loop_last): Wait on release if not owner. | |
20770 | (gomp_ordered_loop_next): Likewise. | |
20771 | (gomp_ordered_static_loop_init): New. | |
20772 | (gomp_ordered_static_loop_next): Use ordered_owner. | |
20773 | (GOMP_ordered_start): Likewise. | |
20774 | * work.c (gomp_new_work_share): Initialize ordered_owner. | |
20775 | ||
20776 | 2005-05-03 Richard Henderson <rth@redhat.com> | |
20777 | ||
20778 | * Makefile (OPT): New. | |
20779 | (CFLAGS): Use it. | |
20780 | ||
20781 | * loop.c (GOMP_loop_end, GOMP_loop_end_nowait): New. | |
20782 | * sections.c (GOMP_sections_end, GOMP_sections_end_nowait): New. | |
20783 | * libgomp.h, libgomp.map, NOTES: Update to match. | |
20784 | ||
20785 | * team.c (struct gomp_thread_start_data): Remove ts, fn, data. | |
20786 | Add initialized and thr members. | |
20787 | (gomp_thread_start): Pause when initially spawned to wait for | |
20788 | the whole team to be created. | |
20789 | (gomp_team_start): Release team members at the end. | |
20790 | ||
20791 | * testsuite/loop-1.c (N): New. Use it instead of hardcoded 100. | |
20792 | (f_foo_1): Use GOMP_loop_end. | |
20793 | (f_foo_2): Use GOMP_loop_end_nowait. | |
20794 | ||
20795 | * testsuite/loop-2.c: New file. | |
20796 | * testsuite/Makefile (TESTS): Add it. | |
20797 | ||
20798 | 2005-05-03 Richard Henderson <rth@redhat.com> | |
20799 | ||
20800 | * iter.c (gomp_iter_static_next): Fix overflow check typo. | |
20801 | (gomp_iter_dynamic_next_locked): Fix overflow check thinko. | |
20802 | * team.c (new_team): Initialize oldest_live_gen to 1 if no | |
20803 | initial work_share. | |
20804 | ||
20805 | * testsuite/Makefile: New file. | |
20806 | * testsuite/loop-1.c: New file. | |
20807 | ||
20808 | 2005-05-03 Richard Henderson <rth@redhat.com> | |
20809 | ||
20810 | Initial implementation and checkin. | |
21fa2a29 | 20811 | \f |
68127a8e | 20812 | Copyright (C) 2005-2023 Free Software Foundation, Inc. |
21fa2a29 JJ |
20813 | |
20814 | Copying and distribution of this file, with or without modification, | |
20815 | are permitted in any medium without royalty provided the copyright | |
20816 | notice and this notice are preserved. |