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

commit a7d7a33638d37cffedd5ad1243c7db668f6be262
Author: Tobias Burnus <tbur...@baylibre.com>
Date:   Thu Jan 23 22:29:49 2025 +0100

    OpenMP: Add interop routines to omp_runtime_api_procname
    
    gcc/
            * omp-general.cc (omp_runtime_api_procname): Add
            omp_get_interop_{int,name,ptr,rc_desc,str,type_desc}
            and omp_get_num_interop_properties.
    
    (cherry picked from commit 6291f25631500c2d1c2328f919aa4405c3837f02)

Diff:
---
 gcc/ChangeLog.omp  | 9 +++++++++
 gcc/omp-general.cc | 7 +++++++
 2 files changed, 16 insertions(+)

diff --git a/gcc/ChangeLog.omp b/gcc/ChangeLog.omp
index 267b37a10497..5591b79d60e6 100644
--- a/gcc/ChangeLog.omp
+++ b/gcc/ChangeLog.omp
@@ -1,3 +1,12 @@
+2025-01-23  Tobias Burnus  <tbur...@baylibre.com>
+
+       Backported from master:
+       2024-09-11  Tobias Burnus  <tbur...@baylibre.com>
+
+       * omp-general.cc (omp_runtime_api_procname): Add
+       omp_get_interop_{int,name,ptr,rc_desc,str,type_desc}
+       and omp_get_num_interop_properties.
+
 2024-12-19  Thomas Schwinge  <tschwi...@baylibre.com>
 
        PR target/65181
diff --git a/gcc/omp-general.cc b/gcc/omp-general.cc
index 361dcb0c46d0..fadea54443db 100644
--- a/gcc/omp-general.cc
+++ b/gcc/omp-general.cc
@@ -3431,7 +3431,10 @@ omp_runtime_api_procname (const char *name)
       "alloc",
       "calloc",
       "free",
+      "get_interop_int",
+      "get_interop_ptr",
       "get_mapped_ptr",
+      "get_num_interop_properties",
       "realloc",
       "target_alloc",
       "target_associate_ptr",
@@ -3460,6 +3463,10 @@ omp_runtime_api_procname (const char *name)
       "get_device_num",
       "get_dynamic",
       "get_initial_device",
+      "get_interop_name",
+      "get_interop_rc_desc",
+      "get_interop_str",
+      "get_interop_type_desc",
       "get_level",
       "get_max_active_levels",
       "get_max_task_priority",

Reply via email to