]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
[OpenMP] Update omp-low.c's omp_runtime_api_call [PR101931]
authorTobias Burnus <tobias@codesourcery.com>
Mon, 16 Aug 2021 12:00:13 +0000 (14:00 +0200)
committerTobias Burnus <tobias@codesourcery.com>
Mon, 16 Aug 2021 12:02:22 +0000 (14:02 +0200)
gcc/ChangeLog:

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

(cherry picked from commit e660441f94f2ca2ca1bd63c922c6a43737c2259e)

gcc/ChangeLog.omp
gcc/omp-low.c

index 97c0143fd07a2cb6502f3c182f2d4da257d81b77..3005c0227f156d94f75b6c0f0ce1795561fb7e97 100644 (file)
@@ -1,3 +1,12 @@
+2021-08-16  Tobias Burnus  <tobias@codesourcery.com>
+
+       Backported from master:
+       2021-08-16  Tobias Burnus  <tobias@codesourcery.com>
+
+       PR middle-end/101931
+       * omp-low.c (omp_runtime_api_call): Update for routines
+       added in the meanwhile.
+
 2021-08-16  Tobias Burnus  <tobias@codesourcery.com>
 
        Backported from master:
index a9ef894547f1264c5cc839fda1630b34b294b814..77bac25148898bdb4a56fd7833dcae7ce6459564 100644 (file)
@@ -4113,6 +4113,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",
@@ -4123,13 +4125,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",
@@ -4145,6 +4151,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",
@@ -4158,6 +4165,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",
@@ -4166,7 +4174,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",