Now with attached patch …

Tobias Burnus wrote:
I realized that the attached change (committed asr15-3582-g6291f25631500c) was missing from what I committed in

r15-3249-g0beac1db38855e  libgomp: Add interop types and routines to OpenMP's headers and module

I also checked the last 5 or so commits to omp.h.in, but for those routines, we seemed to have remembered to update the API routine check for those.

Tobias
commit 6291f25631500c2d1c2328f919aa4405c3837f02
Author: Tobias Burnus <tbur...@baylibre.com>
Date:   Wed Sep 11 12:02:24 2024 +0200

    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.

diff --git a/gcc/omp-general.cc b/gcc/omp-general.cc
index 0b61335dba4..aaa179afe13 100644
--- a/gcc/omp-general.cc
+++ b/gcc/omp-general.cc
@@ -3260,7 +3260,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",
@@ -3289,6 +3292,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