]> git.ipfire.org Git - thirdparty/gcc.git/blame - libgomp/libgomp.map
Detect overflow by atomic functions [PR102453].
[thirdparty/gcc.git] / libgomp / libgomp.map
CommitLineData
953ff289
DN
1OMP_1.0 {
2 global:
3 omp_set_num_threads;
4 omp_get_num_threads;
5 omp_get_max_threads;
6 omp_get_thread_num;
7 omp_get_num_procs;
8 omp_in_parallel;
9 omp_set_dynamic;
10 omp_get_dynamic;
11 omp_set_nested;
12 omp_get_nested;
6d28b933
RO
13#ifdef HAVE_SYMVER_SYMBOL_RENAMING_RUNTIME_SUPPORT
14 # If the assembler used lacks the .symver directive or the linker
15 # doesn't support GNU symbol versioning, we have the same symbol in
16 # two versions, which Sun ld chokes on.
953ff289
DN
17 omp_init_lock;
18 omp_init_nest_lock;
19 omp_destroy_lock;
20 omp_destroy_nest_lock;
21 omp_set_lock;
22 omp_set_nest_lock;
23 omp_unset_lock;
24 omp_unset_nest_lock;
25 omp_test_lock;
26 omp_test_nest_lock;
27 omp_destroy_lock_;
28 omp_destroy_nest_lock_;
6d28b933
RO
29 omp_init_lock_;
30 omp_init_nest_lock_;
31 omp_set_lock_;
32 omp_set_nest_lock_;
33 omp_test_lock_;
34 omp_test_nest_lock_;
35 omp_unset_lock_;
36 omp_unset_nest_lock_;
37#endif
953ff289
DN
38 omp_get_dynamic_;
39 omp_get_max_threads_;
40 omp_get_nested_;
41 omp_get_num_procs_;
42 omp_get_num_threads_;
43 omp_get_thread_num_;
44 omp_in_parallel_;
953ff289
DN
45 omp_set_dynamic_;
46 omp_set_dynamic_8_;
953ff289
DN
47 omp_set_nested_;
48 omp_set_nested_8_;
49 omp_set_num_threads_;
50 omp_set_num_threads_8_;
953ff289
DN
51 local:
52 *;
53};
54
55OMP_2.0 {
56 global:
57 omp_get_wtick;
58 omp_get_wtime;
59 omp_get_wtick_;
60 omp_get_wtime_;
61} OMP_1.0;
62
a68ab351
JJ
63OMP_3.0 {
64 global:
65 omp_set_schedule;
66 omp_set_schedule_;
67 omp_set_schedule_8_;
68 omp_get_schedule;
69 omp_get_schedule_;
70 omp_get_schedule_8_;
71 omp_get_thread_limit;
72 omp_get_thread_limit_;
73 omp_set_max_active_levels;
74 omp_set_max_active_levels_;
75 omp_set_max_active_levels_8_;
76 omp_get_max_active_levels;
77 omp_get_max_active_levels_;
78 omp_get_level;
79 omp_get_level_;
80 omp_get_ancestor_thread_num;
81 omp_get_ancestor_thread_num_;
82 omp_get_ancestor_thread_num_8_;
83 omp_get_team_size;
84 omp_get_team_size_;
85 omp_get_team_size_8_;
86 omp_get_active_level;
87 omp_get_active_level_;
88 omp_init_lock;
89 omp_init_nest_lock;
90 omp_destroy_lock;
91 omp_destroy_nest_lock;
92 omp_set_lock;
93 omp_set_nest_lock;
94 omp_unset_lock;
95 omp_unset_nest_lock;
96 omp_test_lock;
97 omp_test_nest_lock;
98 omp_destroy_lock_;
99 omp_destroy_nest_lock_;
100 omp_init_lock_;
101 omp_init_nest_lock_;
102 omp_set_lock_;
103 omp_set_nest_lock_;
104 omp_test_lock_;
105 omp_test_nest_lock_;
106 omp_unset_lock_;
107 omp_unset_nest_lock_;
108} OMP_2.0;
109
20906c66
JJ
110OMP_3.1 {
111 global:
112 omp_in_final;
113 omp_in_final_;
114} OMP_3.0;
115
acf0174b
JJ
116OMP_4.0 {
117 global:
118 omp_get_cancellation;
119 omp_get_cancellation_;
120 omp_get_proc_bind;
121 omp_get_proc_bind_;
122 omp_set_default_device;
123 omp_set_default_device_;
124 omp_set_default_device_8_;
125 omp_get_default_device;
126 omp_get_default_device_;
127 omp_get_num_devices;
128 omp_get_num_devices_;
129 omp_get_num_teams;
130 omp_get_num_teams_;
131 omp_get_team_num;
132 omp_get_team_num_;
133 omp_is_initial_device;
134 omp_is_initial_device_;
135} OMP_3.1;
136
d9a6bd32
JJ
137OMP_4.5 {
138 global:
139 omp_get_max_task_priority;
140 omp_get_max_task_priority_;
141 omp_get_num_places;
142 omp_get_num_places_;
143 omp_get_place_num_procs;
144 omp_get_place_num_procs_;
145 omp_get_place_num_procs_8_;
146 omp_get_place_proc_ids;
147 omp_get_place_proc_ids_;
148 omp_get_place_proc_ids_8_;
149 omp_get_place_num;
150 omp_get_place_num_;
151 omp_get_partition_num_places;
152 omp_get_partition_num_places_;
153 omp_get_partition_place_nums;
154 omp_get_partition_place_nums_;
155 omp_get_partition_place_nums_8_;
156 omp_get_initial_device;
157 omp_get_initial_device_;
158 omp_target_alloc;
159 omp_target_free;
160 omp_target_is_present;
161 omp_target_memcpy;
162 omp_target_memcpy_rect;
163 omp_target_associate_ptr;
164 omp_target_disassociate_ptr;
165} OMP_4.0;
166
28567c40
JJ
167OMP_5.0 {
168 global:
169 omp_capture_affinity;
170 omp_capture_affinity_;
171 omp_display_affinity;
172 omp_display_affinity_;
173 omp_get_affinity_format;
174 omp_get_affinity_format_;
175 omp_set_affinity_format;
176 omp_set_affinity_format_;
177 omp_pause_resource;
178 omp_pause_resource_;
179 omp_pause_resource_all;
180 omp_pause_resource_all_;
181} OMP_4.5;
182
800bcc8c
JJ
183OMP_5.0.1 {
184 global:
185 omp_set_default_allocator;
fff15bad 186 omp_set_default_allocator_;
800bcc8c 187 omp_get_default_allocator;
fff15bad 188 omp_get_default_allocator_;
800bcc8c 189 omp_init_allocator;
fff15bad
TB
190 omp_init_allocator_;
191 omp_init_allocator_8_;
800bcc8c 192 omp_destroy_allocator;
fff15bad 193 omp_destroy_allocator_;
800bcc8c
JJ
194 omp_alloc;
195 omp_free;
8949b985
KCY
196 omp_get_supported_active_levels;
197 omp_get_supported_active_levels_;
a6d22fb2
KCY
198 omp_fulfill_event;
199 omp_fulfill_event_;
800bcc8c
JJ
200} OMP_5.0;
201
0bac793e
CLT
202OMP_5.0.2 {
203 global:
204 omp_get_device_num;
205 omp_get_device_num_;
b38a4bd1
JJ
206 omp_aligned_alloc;
207 omp_calloc;
208 omp_aligned_calloc;
209 omp_realloc;
0bac793e
CLT
210} OMP_5.0.1;
211
7123ae24
UD
212OMP_5.1 {
213 global:
214 omp_display_env;
215 omp_display_env_;
216 omp_display_env_8_;
07dd3bcd
JJ
217 omp_set_num_teams;
218 omp_set_num_teams_;
219 omp_set_num_teams_8_;
220 omp_get_max_teams;
221 omp_get_max_teams_;
222 omp_set_teams_thread_limit;
223 omp_set_teams_thread_limit_;
224 omp_set_teams_thread_limit_8_;
225 omp_get_teams_thread_limit;
226 omp_get_teams_thread_limit_;
0bac793e 227} OMP_5.0.2;
7123ae24 228
953ff289
DN
229GOMP_1.0 {
230 global:
231 GOMP_atomic_end;
232 GOMP_atomic_start;
233 GOMP_barrier;
234 GOMP_critical_end;
235 GOMP_critical_name_end;
236 GOMP_critical_name_start;
237 GOMP_critical_start;
238 GOMP_loop_dynamic_next;
239 GOMP_loop_dynamic_start;
240 GOMP_loop_end;
241 GOMP_loop_end_nowait;
242 GOMP_loop_guided_next;
243 GOMP_loop_guided_start;
953ff289
DN
244 GOMP_loop_ordered_dynamic_next;
245 GOMP_loop_ordered_dynamic_start;
953ff289
DN
246 GOMP_loop_ordered_guided_next;
247 GOMP_loop_ordered_guided_start;
953ff289
DN
248 GOMP_loop_ordered_runtime_next;
249 GOMP_loop_ordered_runtime_start;
953ff289
DN
250 GOMP_loop_ordered_static_next;
251 GOMP_loop_ordered_static_start;
252 GOMP_loop_runtime_next;
253 GOMP_loop_runtime_start;
254 GOMP_loop_static_next;
255 GOMP_loop_static_start;
256 GOMP_ordered_end;
257 GOMP_ordered_start;
258 GOMP_parallel_end;
259 GOMP_parallel_loop_dynamic_start;
260 GOMP_parallel_loop_guided_start;
261 GOMP_parallel_loop_runtime_start;
262 GOMP_parallel_loop_static_start;
263 GOMP_parallel_sections_start;
264 GOMP_parallel_start;
265 GOMP_sections_end;
266 GOMP_sections_end_nowait;
267 GOMP_sections_next;
268 GOMP_sections_start;
269 GOMP_single_copy_end;
270 GOMP_single_copy_start;
271 GOMP_single_start;
272};
a68ab351
JJ
273
274GOMP_2.0 {
275 global:
276 GOMP_task;
277 GOMP_taskwait;
278 GOMP_loop_ull_dynamic_next;
279 GOMP_loop_ull_dynamic_start;
280 GOMP_loop_ull_guided_next;
281 GOMP_loop_ull_guided_start;
282 GOMP_loop_ull_ordered_dynamic_next;
283 GOMP_loop_ull_ordered_dynamic_start;
284 GOMP_loop_ull_ordered_guided_next;
285 GOMP_loop_ull_ordered_guided_start;
286 GOMP_loop_ull_ordered_runtime_next;
287 GOMP_loop_ull_ordered_runtime_start;
288 GOMP_loop_ull_ordered_static_next;
289 GOMP_loop_ull_ordered_static_start;
290 GOMP_loop_ull_runtime_next;
291 GOMP_loop_ull_runtime_start;
292 GOMP_loop_ull_static_next;
293 GOMP_loop_ull_static_start;
294} GOMP_1.0;
20906c66
JJ
295
296GOMP_3.0 {
297 global:
298 GOMP_taskyield;
299} GOMP_2.0;
acf0174b
JJ
300
301GOMP_4.0 {
302 global:
303 GOMP_barrier_cancel;
304 GOMP_cancel;
305 GOMP_cancellation_point;
306 GOMP_loop_end_cancel;
307 GOMP_parallel_loop_dynamic;
308 GOMP_parallel_loop_guided;
309 GOMP_parallel_loop_runtime;
310 GOMP_parallel_loop_static;
311 GOMP_parallel_sections;
312 GOMP_parallel;
313 GOMP_sections_end_cancel;
314 GOMP_taskgroup_start;
315 GOMP_taskgroup_end;
316 GOMP_target;
317 GOMP_target_data;
318 GOMP_target_end_data;
319 GOMP_target_update;
320 GOMP_teams;
321} GOMP_3.0;
1df3f842
JJ
322
323GOMP_4.0.1 {
324 global:
325 GOMP_offload_register;
a51df54e 326 GOMP_offload_unregister;
1df3f842 327} GOMP_4.0;
41dbbb37 328
d9a6bd32 329GOMP_4.5 {
2a21ff19 330 global:
e01d41e5
JJ
331 GOMP_target_ext;
332 GOMP_target_data_ext;
333 GOMP_target_update_ext;
d9a6bd32
JJ
334 GOMP_target_enter_exit_data;
335 GOMP_taskloop;
336 GOMP_taskloop_ull;
2a21ff19
NS
337 GOMP_offload_register_ver;
338 GOMP_offload_unregister_ver;
d9a6bd32
JJ
339 GOMP_loop_doacross_dynamic_start;
340 GOMP_loop_doacross_guided_start;
341 GOMP_loop_doacross_runtime_start;
342 GOMP_loop_doacross_static_start;
343 GOMP_doacross_post;
344 GOMP_doacross_wait;
345 GOMP_loop_ull_doacross_dynamic_start;
346 GOMP_loop_ull_doacross_guided_start;
347 GOMP_loop_ull_doacross_runtime_start;
348 GOMP_loop_ull_doacross_static_start;
349 GOMP_doacross_ull_post;
350 GOMP_doacross_ull_wait;
e01d41e5
JJ
351 GOMP_loop_nonmonotonic_dynamic_next;
352 GOMP_loop_nonmonotonic_dynamic_start;
353 GOMP_loop_nonmonotonic_guided_next;
354 GOMP_loop_nonmonotonic_guided_start;
355 GOMP_loop_ull_nonmonotonic_dynamic_next;
356 GOMP_loop_ull_nonmonotonic_dynamic_start;
357 GOMP_loop_ull_nonmonotonic_guided_next;
358 GOMP_loop_ull_nonmonotonic_guided_start;
359 GOMP_parallel_loop_nonmonotonic_dynamic;
360 GOMP_parallel_loop_nonmonotonic_guided;
2a21ff19
NS
361} GOMP_4.0.1;
362
28567c40
JJ
363GOMP_5.0 {
364 global:
365 GOMP_loop_doacross_start;
366 GOMP_loop_maybe_nonmonotonic_runtime_next;
367 GOMP_loop_maybe_nonmonotonic_runtime_start;
368 GOMP_loop_nonmonotonic_runtime_next;
369 GOMP_loop_nonmonotonic_runtime_start;
370 GOMP_loop_ordered_start;
371 GOMP_loop_start;
372 GOMP_loop_ull_doacross_start;
373 GOMP_loop_ull_maybe_nonmonotonic_runtime_next;
374 GOMP_loop_ull_maybe_nonmonotonic_runtime_start;
375 GOMP_loop_ull_nonmonotonic_runtime_next;
376 GOMP_loop_ull_nonmonotonic_runtime_start;
377 GOMP_loop_ull_ordered_start;
378 GOMP_loop_ull_start;
379 GOMP_parallel_loop_maybe_nonmonotonic_runtime;
380 GOMP_parallel_loop_nonmonotonic_runtime;
381 GOMP_parallel_reductions;
382 GOMP_sections2_start;
383 GOMP_taskgroup_reduction_register;
384 GOMP_taskgroup_reduction_unregister;
385 GOMP_task_reduction_remap;
386 GOMP_taskwait_depend;
387 GOMP_teams_reg;
388 GOMP_workshare_task_reduction_unregister;
389} GOMP_4.5;
390
6fcc3cac
JJ
391GOMP_5.0.1 {
392 global:
393 GOMP_alloc;
394 GOMP_free;
395} GOMP_5.0;
396
e45483c7
JJ
397GOMP_5.1 {
398 global:
0d973c0a 399 GOMP_error;
e45483c7 400 GOMP_scope_start;
0d973c0a 401 GOMP_warning;
e45483c7
JJ
402} GOMP_5.0.1;
403
41dbbb37
TS
404OACC_2.0 {
405 global:
406 acc_get_num_devices;
407 acc_get_num_devices_h_;
408 acc_set_device_type;
409 acc_set_device_type_h_;
410 acc_get_device_type;
411 acc_get_device_type_h_;
412 acc_set_device_num;
413 acc_set_device_num_h_;
414 acc_get_device_num;
415 acc_get_device_num_h_;
416 acc_async_test;
417 acc_async_test_h_;
418 acc_async_test_all;
419 acc_async_test_all_h_;
420 acc_wait;
421 acc_wait_h_;
422 acc_wait_async;
423 acc_wait_async_h_;
424 acc_wait_all;
425 acc_wait_all_h_;
426 acc_wait_all_async;
427 acc_wait_all_async_h_;
428 acc_init;
429 acc_init_h_;
430 acc_shutdown;
431 acc_shutdown_h_;
432 acc_on_device;
433 acc_on_device_h_;
434 acc_malloc;
435 acc_free;
436 acc_copyin;
437 acc_copyin_32_h_;
438 acc_copyin_64_h_;
439 acc_copyin_array_h_;
440 acc_present_or_copyin;
441 acc_present_or_copyin_32_h_;
442 acc_present_or_copyin_64_h_;
443 acc_present_or_copyin_array_h_;
444 acc_create;
445 acc_create_32_h_;
446 acc_create_64_h_;
447 acc_create_array_h_;
448 acc_present_or_create;
449 acc_present_or_create_32_h_;
450 acc_present_or_create_64_h_;
451 acc_present_or_create_array_h_;
452 acc_copyout;
453 acc_copyout_32_h_;
454 acc_copyout_64_h_;
455 acc_copyout_array_h_;
456 acc_delete;
457 acc_delete_32_h_;
458 acc_delete_64_h_;
459 acc_delete_array_h_;
460 acc_update_device;
461 acc_update_device_32_h_;
462 acc_update_device_64_h_;
463 acc_update_device_array_h_;
464 acc_update_self;
465 acc_update_self_32_h_;
466 acc_update_self_64_h_;
467 acc_update_self_array_h_;
468 acc_map_data;
469 acc_unmap_data;
470 acc_deviceptr;
471 acc_hostptr;
472 acc_is_present;
473 acc_is_present_32_h_;
474 acc_is_present_64_h_;
475 acc_is_present_array_h_;
476 acc_memcpy_to_device;
477 acc_memcpy_from_device;
478 acc_get_current_cuda_device;
479 acc_get_current_cuda_context;
480 acc_get_cuda_stream;
481 acc_set_cuda_stream;
482};
483
9b94fbc7
TS
484OACC_2.0.1 {
485 global:
7ce64403
TS
486 acc_async_wait;
487 acc_async_wait_all;
9b94fbc7
TS
488 acc_pcopyin;
489 acc_pcreate;
490} OACC_2.0;
491
829c6349
CLT
492OACC_2.5 {
493 global:
58168bbf
CLT
494 acc_copyin_async;
495 acc_copyin_async_32_h_;
496 acc_copyin_async_64_h_;
497 acc_copyin_async_array_h_;
498 acc_copyout_async;
499 acc_copyout_async_32_h_;
500 acc_copyout_async_64_h_;
501 acc_copyout_async_array_h_;
829c6349
CLT
502 acc_copyout_finalize;
503 acc_copyout_finalize_32_h_;
504 acc_copyout_finalize_64_h_;
505 acc_copyout_finalize_array_h_;
58168bbf
CLT
506 acc_copyout_finalize_async;
507 acc_copyout_finalize_async_32_h_;
508 acc_copyout_finalize_async_64_h_;
509 acc_copyout_finalize_async_array_h_;
510 acc_create_async;
511 acc_create_async_32_h_;
512 acc_create_async_64_h_;
513 acc_create_async_array_h_;
514 acc_delete_async;
515 acc_delete_async_32_h_;
516 acc_delete_async_64_h_;
517 acc_delete_async_array_h_;
829c6349
CLT
518 acc_delete_finalize;
519 acc_delete_finalize_32_h_;
520 acc_delete_finalize_64_h_;
521 acc_delete_finalize_array_h_;
58168bbf
CLT
522 acc_delete_finalize_async;
523 acc_delete_finalize_async_32_h_;
524 acc_delete_finalize_async_64_h_;
525 acc_delete_finalize_async_array_h_;
526 acc_memcpy_from_device_async;
527 acc_memcpy_to_device_async;
528 acc_update_device_async;
529 acc_update_device_async_32_h_;
530 acc_update_device_async_64_h_;
531 acc_update_device_async_array_h_;
532 acc_update_self_async;
533 acc_update_self_async_32_h_;
534 acc_update_self_async_64_h_;
535 acc_update_self_async_array_h_;
829c6349
CLT
536} OACC_2.0.1;
537
5fae049d
TS
538OACC_2.5.1 {
539 global:
540 acc_prof_lookup;
541 acc_prof_register;
542 acc_prof_unregister;
543 acc_register_library;
544} OACC_2.5;
545
5d5be7bf
JB
546OACC_2.6 {
547 global:
548 acc_attach;
549 acc_attach_async;
550 acc_detach;
551 acc_detach_async;
552 acc_detach_finalize;
553 acc_detach_finalize_async;
6c84c8bf
MR
554 acc_get_property;
555 acc_get_property_h_;
556 acc_get_property_string;
557 acc_get_property_string_h_;
5d5be7bf
JB
558} OACC_2.5.1;
559
41dbbb37
TS
560GOACC_2.0 {
561 global:
562 GOACC_data_end;
563 GOACC_data_start;
564 GOACC_enter_exit_data;
565 GOACC_parallel;
566 GOACC_update;
567 GOACC_wait;
568 GOACC_get_thread_num;
569 GOACC_get_num_threads;
570};
571
3e32ee19
NS
572GOACC_2.0.1 {
573 global:
6e232ba4 574 GOACC_declare;
3e32ee19
NS
575 GOACC_parallel_keyed;
576} GOACC_2.0;
577
7aefef31
AS
578GOACC_2.0.2 {
579 global:
580 GOACC_enter_data;
581 GOACC_exit_data;
582} GOACC_2.0.1;
583
41dbbb37
TS
584GOMP_PLUGIN_1.0 {
585 global:
586 GOMP_PLUGIN_malloc;
587 GOMP_PLUGIN_malloc_cleared;
588 GOMP_PLUGIN_realloc;
589 GOMP_PLUGIN_debug;
590 GOMP_PLUGIN_error;
591 GOMP_PLUGIN_fatal;
592 GOMP_PLUGIN_async_unmap_vars;
593 GOMP_PLUGIN_acc_thread;
594};
e4606348
JJ
595
596GOMP_PLUGIN_1.1 {
597 global:
598 GOMP_PLUGIN_target_task_completion;
599} GOMP_PLUGIN_1.0;
ec00d3fa
TV
600
601GOMP_PLUGIN_1.2 {
602 global:
603 GOMP_PLUGIN_acc_default_dim;
604} GOMP_PLUGIN_1.1;
5fae049d
TS
605
606GOMP_PLUGIN_1.3 {
607 global:
608 GOMP_PLUGIN_goacc_profiling_dispatch;
609 GOMP_PLUGIN_goacc_thread;
610} GOMP_PLUGIN_1.2;