gcc/libgomp
Julian Brown 5d5be7bfb5 OpenACC 2.6 deep copy: attach/detach API routines
libgomp/
	* libgomp.h (struct splay_tree_aux): Add attach_count field.
	(gomp_attach_pointer, gomp_detach_pointer): Add prototypes.
	* libgomp.map (OACC_2.6): New section. Add acc_attach,
	acc_attach_async, acc_detach, acc_detach_async, acc_detach_finalize,
	acc_detach_finalize_async.
	* oacc-mem.c (acc_attach_async, acc_attach, goacc_detach_internal,
	acc_detach, acc_detach_async, acc_detach_finalize,
	acc_detach_finalize_async): New functions.
	* openacc.h (acc_attach, acc_attach_async, acc_detach,
	(acc_detach_async, acc_detach_finalize, acc_detach_finalize_async): Add
	prototypes.
	* target.c (gomp_attach_pointer, gomp_detach_pointer): New functions.
	(gomp_remove_var_internal): Free attachment counts if present.
	* testsuite/libgomp.oacc-c-c++-common/deep-copy-3.c: New test.
	* testsuite/libgomp.oacc-c-c++-common/deep-copy-5.c: New test.

Co-Authored-By: Thomas Schwinge <thomas@codesourcery.com>

From-SVN: r279624
2019-12-20 01:20:27 +00:00
..
config libgomp/openacc.f90 – clean-up public/private attributes 2019-12-17 12:19:32 +01:00
plugin libgomp – spelling fixes, incl. omp_lib.h.in 2019-12-11 12:45:49 +01:00
testsuite OpenACC 2.6 deep copy: attach/detach API routines 2019-12-20 01:20:27 +00:00
ChangeLog OpenACC 2.6 deep copy: attach/detach API routines 2019-12-20 01:20:27 +00:00
ChangeLog.graphite
Makefile.am GCN libgomp port 2019-11-13 12:38:04 +00:00
Makefile.in GCN Libgomp Plugin 2019-11-13 12:38:18 +00:00
acc_prof.h
acinclude.m4 re PR other/79543 (Inappropriate "ld --version" checking) 2019-09-03 14:10:26 +00:00
aclocal.m4 configure.ac: Remove GCC_HEADER_STDINT(gstdint.h). 2019-10-01 09:51:46 +02:00
affinity-fmt.c
affinity.c
alloc.c
atomic.c
barrier.c
config.h.in GCN libgomp port 2019-11-13 12:38:04 +00:00
configure GCN Libgomp Plugin 2019-11-13 12:38:18 +00:00
configure.ac GCN libgomp port 2019-11-13 12:38:04 +00:00
configure.tgt musl: Fix invalid tls model in libgomp and libitm PR91938 2019-12-03 11:13:38 +00:00
critical.c
env.c libgomp – spelling fixes, incl. omp_lib.h.in 2019-12-11 12:45:49 +01:00
error.c
fortran.c
hashtab.h
icv-device.c
icv.c
iter.c
iter_ull.c
libgomp-plugin.c
libgomp-plugin.h GCN libgomp port 2019-11-13 12:38:04 +00:00
libgomp.h OpenACC 2.6 deep copy: attach/detach API routines 2019-12-20 01:20:27 +00:00
libgomp.map OpenACC 2.6 deep copy: attach/detach API routines 2019-12-20 01:20:27 +00:00
libgomp.spec.in
libgomp.texi libgomp – spelling fixes, incl. omp_lib.h.in 2019-12-11 12:45:49 +01:00
libgomp_f.h.in
libgomp_g.h [OpenACC] Consolidate 'GOACC_enter_exit_data' and its helper functions in 'libgomp/oacc-mem.c' 2019-12-11 17:49:17 +01:00
lock.c
loop.c
loop_ull.c
oacc-async.c [OpenACC] Consolidate 'async'/'wait' code in 'libgomp/oacc-async.c' 2019-12-11 17:49:08 +01:00
oacc-cuda.c
oacc-host.c libgomp – spelling fixes, incl. omp_lib.h.in 2019-12-11 12:45:49 +01:00
oacc-init.c OpenACC reference count overhaul 2019-12-20 01:20:16 +00:00
oacc-int.h [OpenACC] Consolidate 'async'/'wait' code in 'libgomp/oacc-async.c' 2019-12-11 17:49:08 +01:00
oacc-mem.c OpenACC 2.6 deep copy: attach/detach API routines 2019-12-20 01:20:27 +00:00
oacc-parallel.c Use gomp_map_val for OpenACC host-to-device address translation 2019-12-20 01:20:19 +00:00
oacc-plugin.c
oacc-plugin.h
oacc-profiling.c
oacc-target.c GCN libgomp port 2019-11-13 12:38:04 +00:00
omp.h.in
omp_lib.f90.in
omp_lib.h.in libgomp – spelling fixes, incl. omp_lib.h.in 2019-12-11 12:45:49 +01:00
openacc.f90 libgomp/openacc.f90 – clean-up public/private attributes 2019-12-17 12:19:32 +01:00
openacc.h OpenACC 2.6 deep copy: attach/detach API routines 2019-12-20 01:20:27 +00:00
openacc_lib.h libgomp/openacc.f90 – clean-up public/private attributes 2019-12-17 12:19:32 +01:00
ordered.c libgomp – spelling fixes, incl. omp_lib.h.in 2019-12-11 12:45:49 +01:00
parallel.c
priority_queue.c
priority_queue.h
sections.c
secure_getenv.h
single.c
splay-tree.c
splay-tree.h
target.c OpenACC 2.6 deep copy: attach/detach API routines 2019-12-20 01:20:27 +00:00
task.c libgomp – spelling fixes, incl. omp_lib.h.in 2019-12-11 12:45:49 +01:00
taskloop.c
team.c libgomp – spelling fixes, incl. omp_lib.h.in 2019-12-11 12:45:49 +01:00
teams.c
work.c Optimize GCN OpenMP malloc performance 2019-11-13 12:38:09 +00:00