From 58d32aeba5a1c7749d8307f73f55e39176186bdb Mon Sep 17 00:00:00 2001 From: Thomas Schwinge Date: Tue, 12 Apr 2016 15:13:53 +0200 Subject: [PATCH] libgomp external ABI prototypes maintenance libgomp/ * libgomp_g.h: Rename GOACC_parallel_keyd prototype to GOACC_parallel_keyed, restore GOACC_parallel prototype, new GOACC_declare prototype. From-SVN: r234901 --- libgomp/ChangeLog | 4 ++++ libgomp/libgomp_g.h | 7 +++++-- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/libgomp/ChangeLog b/libgomp/ChangeLog index 1716ba071d5..7628c93d271 100644 --- a/libgomp/ChangeLog +++ b/libgomp/ChangeLog @@ -1,5 +1,9 @@ 2016-04-12 Thomas Schwinge + * libgomp_g.h: Rename GOACC_parallel_keyd prototype to + GOACC_parallel_keyed, restore GOACC_parallel prototype, new + GOACC_declare prototype. + * testsuite/libgomp.oacc-c-c++-common/loop-reduction-gang-np-1.c: Merge this file, and... * testsuite/libgomp.oacc-c-c++-common/loop-reduction-gv-np-1.c: diff --git a/libgomp/libgomp_g.h b/libgomp/libgomp_g.h index 24eebb68e67..20454e63a17 100644 --- a/libgomp/libgomp_g.h +++ b/libgomp/libgomp_g.h @@ -295,17 +295,20 @@ extern void GOMP_teams (unsigned int, unsigned int); /* oacc-parallel.c */ +extern void GOACC_parallel_keyed (int, void (*) (void *), size_t, + void **, size_t *, unsigned short *, ...); +extern void GOACC_parallel (int, void (*) (void *), size_t, void **, size_t *, + unsigned short *, int, int, int, int, int, ...); extern void GOACC_data_start (int, size_t, void **, size_t *, unsigned short *); extern void GOACC_data_end (void); extern void GOACC_enter_exit_data (int, size_t, void **, size_t *, unsigned short *, int, int, ...); -extern void GOACC_parallel_keyd (int, void (*) (void *), size_t, - void **, size_t *, unsigned short *, ...); extern void GOACC_update (int, size_t, void **, size_t *, unsigned short *, int, int, ...); extern void GOACC_wait (int, int, ...); extern int GOACC_get_num_threads (void); extern int GOACC_get_thread_num (void); +extern void GOACC_declare (int, size_t, void **, size_t *, unsigned short *); #endif /* LIBGOMP_G_H */ -- 2.30.2