diff mbox series

[OpenMP] Update omp-low.c's omp_runtime_api_call [PR101931]

Message ID 1d9bcbc6-e63f-6a5c-f40c-5f717bffb74d@codesourcery.com
State New
Headers show
Series [OpenMP] Update omp-low.c's omp_runtime_api_call [PR101931] | expand

Commit Message

Tobias Burnus Aug. 16, 2021, 9:55 a.m. UTC
Compared to the PR, it also contains omp_alloc/omp_free which I missed
when creating the PR.

Hopefully, I haven't missed any other routine.

OK? (Once bootstrap+testing succeeded, but I do not expect issues.)

Tobias

-----------------
Siemens Electronic Design Automation GmbH; Anschrift: Arnulfstraße 201, 80634 München; Gesellschaft mit beschränkter Haftung; Geschäftsführer: Thomas Heurung, Frank Thürauf; Sitz der Gesellschaft: München; Registergericht München, HRB 106955

Comments

Jakub Jelinek Aug. 16, 2021, 9:59 a.m. UTC | #1
On Mon, Aug 16, 2021 at 11:55:50AM +0200, Tobias Burnus wrote:
> [OpenMP] Update omp-low.c's omp_runtime_api_call [PR101931]
> 
> gcc/ChangeLog:
> 
> 	PR middle-end/101931
> 	* omp-low.c (omp_runtime_api_call): Update for routines
> 	added in the meanwhile.

LGTM, thanks.

	Jakub
diff mbox series

Patch

[OpenMP] Update omp-low.c's omp_runtime_api_call [PR101931]

gcc/ChangeLog:

	PR middle-end/101931
	* omp-low.c (omp_runtime_api_call): Update for routines
	added in the meanwhile.

 gcc/omp-low.c | 10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/gcc/omp-low.c b/gcc/omp-low.c
index 22ba579d11c..bef99405c20 100644
--- a/gcc/omp-low.c
+++ b/gcc/omp-low.c
@@ -3863,6 +3863,8 @@  omp_runtime_api_call (const_tree fndecl)
     {
       /* This array has 3 sections.  First omp_* calls that don't
 	 have any suffixes.  */
+      "omp_alloc",
+      "omp_free",
       "target_alloc",
       "target_associate_ptr",
       "target_disassociate_ptr",
@@ -3873,13 +3875,17 @@  omp_runtime_api_call (const_tree fndecl)
       NULL,
       /* Now omp_* calls that are available as omp_* and omp_*_.  */
       "capture_affinity",
+      "destroy_allocator",
       "destroy_lock",
       "destroy_nest_lock",
       "display_affinity",
+      "fulfill_event",
       "get_active_level",
       "get_affinity_format",
       "get_cancellation",
+      "get_default_allocator",
       "get_default_device",
+      "get_device_num",
       "get_dynamic",
       "get_initial_device",
       "get_level",
@@ -3895,6 +3901,7 @@  omp_runtime_api_call (const_tree fndecl)
       "get_partition_num_places",
       "get_place_num",
       "get_proc_bind",
+      "get_supported_active_levels",
       "get_team_num",
       "get_thread_limit",
       "get_thread_num",
@@ -3908,6 +3915,7 @@  omp_runtime_api_call (const_tree fndecl)
       "pause_resource",
       "pause_resource_all",
       "set_affinity_format",
+      "set_default_allocator",
       "set_lock",
       "set_nest_lock",
       "test_lock",
@@ -3916,7 +3924,9 @@  omp_runtime_api_call (const_tree fndecl)
       "unset_nest_lock",
       NULL,
       /* And finally calls available as omp_*, omp_*_ and omp_*_8_.  */
+      "display_env",
       "get_ancestor_thread_num",
+      "init_allocator",
       "get_partition_place_nums",
       "get_place_num_procs",
       "get_place_proc_ids",