diff options
author | Thomas Schwinge <thomas@codesourcery.com> | 2019-12-11 17:49:17 +0100 |
---|---|---|
committer | Thomas Schwinge <tschwinge@gcc.gnu.org> | 2019-12-11 17:49:17 +0100 |
commit | 57963e3934de387ade6b314a5d72330c28f30806 (patch) | |
tree | 4e7779a4a098160c39e5abcb0a2812c81984fec5 /libgomp/libgomp_g.h | |
parent | c5578b56b632bb21aac5dfdab09c3d24aba41c44 (diff) |
[OpenACC] Consolidate 'GOACC_enter_exit_data' and its helper functions in 'libgomp/oacc-mem.c'
libgomp/
* oacc-parallel.c (find_pointer, GOACC_enter_exit_data): Move...
* oacc-mem.c: ... here.
(gomp_acc_insert_pointer, gomp_acc_remove_pointer): Rename to
'goacc_insert_pointer', 'goacc_remove_pointer', and make 'static'.
* libgomp.h (gomp_acc_insert_pointer, gomp_acc_remove_pointer):
Remove.
* libgomp_g.h: Update.
From-SVN: r279233
Diffstat (limited to 'libgomp/libgomp_g.h')
-rw-r--r-- | libgomp/libgomp_g.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/libgomp/libgomp_g.h b/libgomp/libgomp_g.h index beb1689180d..c6e1c94caf8 100644 --- a/libgomp/libgomp_g.h +++ b/libgomp/libgomp_g.h @@ -361,6 +361,11 @@ extern void GOMP_teams_reg (void (*) (void *), void *, unsigned, unsigned, extern void GOACC_wait (int, int, ...); +/* oacc-mem.c */ + +extern void GOACC_enter_exit_data (int, size_t, void **, size_t *, + unsigned short *, int, int, ...); + /* oacc-parallel.c */ extern void GOACC_parallel_keyed (int, void (*) (void *), size_t, @@ -370,8 +375,6 @@ extern void GOACC_parallel (int, void (*) (void *), size_t, void **, size_t *, 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_update (int, size_t, void **, size_t *, unsigned short *, int, int, ...); extern int GOACC_get_num_threads (void); |