diff options
author | Julian Brown <julian@codesourcery.com> | 2019-12-20 01:20:27 +0000 |
---|---|---|
committer | Julian Brown <jules@gcc.gnu.org> | 2019-12-20 01:20:27 +0000 |
commit | 5d5be7bfb56358feed3fd137d4e3994fcf17f543 (patch) | |
tree | 81fe9c37b82fc1954b0968cc392dcf97af1280c0 /gcc/fortran/trans-expr.c | |
parent | 4d83edf7efa2b4a4a46646640519bc2cd61c351c (diff) | |
download | gcc-5d5be7bfb56358feed3fd137d4e3994fcf17f543.zip gcc-5d5be7bfb56358feed3fd137d4e3994fcf17f543.tar.gz gcc-5d5be7bfb56358feed3fd137d4e3994fcf17f543.tar.bz2 |
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
Diffstat (limited to 'gcc/fortran/trans-expr.c')
0 files changed, 0 insertions, 0 deletions