From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 1534) id 028123944437; Mon, 16 Aug 2021 12:08:49 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 028123944437 Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: Tobias Burnus To: gcc-cvs@gcc.gnu.org Subject: [gcc/devel/omp/gcc-11] [OpenMP] Update omp-low.c's omp_runtime_api_call [PR101931] X-Act-Checkin: gcc X-Git-Author: Tobias Burnus X-Git-Refname: refs/heads/devel/omp/gcc-11 X-Git-Oldrev: b975f873c0879851af5423662f659d126bc26538 X-Git-Newrev: f2a0f8b0f53a182254dca86629cd86d66bd20215 Message-Id: <20210816120849.028123944437@sourceware.org> Date: Mon, 16 Aug 2021 12:08:49 +0000 (GMT) X-BeenThere: gcc-cvs@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-cvs mailing list List-Unsubscribe: , List-Archive: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 16 Aug 2021 12:08:49 -0000 https://gcc.gnu.org/g:f2a0f8b0f53a182254dca86629cd86d66bd20215 commit f2a0f8b0f53a182254dca86629cd86d66bd20215 Author: Tobias Burnus 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 + + Backported from master: + 2021-08-16 Tobias Burnus + + PR middle-end/101931 + * omp-low.c (omp_runtime_api_call): Update for routines + added in the meanwhile. + 2021-08-16 Tobias Burnus 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",