public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc/devel/omp/gcc-11] [OpenMP] Update omp-low.c's omp_runtime_api_call [PR101931]
@ 2021-08-16 12:08 Tobias Burnus
  0 siblings, 0 replies; only message in thread
From: Tobias Burnus @ 2021-08-16 12:08 UTC (permalink / raw)
  To: gcc-cvs

https://gcc.gnu.org/g:f2a0f8b0f53a182254dca86629cd86d66bd20215

commit f2a0f8b0f53a182254dca86629cd86d66bd20215
Author: Tobias Burnus <tobias@codesourcery.com>
Date:   Mon Aug 16 14:00:13 2021 +0200

    [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.
    
    (cherry picked from commit e660441f94f2ca2ca1bd63c922c6a43737c2259e)

Diff:
---
 gcc/ChangeLog.omp |  9 +++++++++
 gcc/omp-low.c     | 10 ++++++++++
 2 files changed, 19 insertions(+)

diff --git a/gcc/ChangeLog.omp b/gcc/ChangeLog.omp
index 97c0143fd07..3005c0227f1 100644
--- a/gcc/ChangeLog.omp
+++ b/gcc/ChangeLog.omp
@@ -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:
diff --git a/gcc/omp-low.c b/gcc/omp-low.c
index a9ef894547f..77bac251488 100644
--- a/gcc/omp-low.c
+++ b/gcc/omp-low.c
@@ -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",


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2021-08-16 12:08 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-08-16 12:08 [gcc/devel/omp/gcc-11] [OpenMP] Update omp-low.c's omp_runtime_api_call [PR101931] Tobias Burnus

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).