aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorJulian Brown <julian@codesourcery.com>2020-06-30 02:15:56 -0700
committerGiuliano Belinassi <giuliano.belinassi@usp.br>2020-08-17 13:17:17 -0300
commit6781da87d5e14301dd3cdc89996dc6e5ad97e32a (patch)
tree50df7255fe0848d20de50026572fa6445eca77c7 /gcc
parent3af9b4d2bcf122ef02c0d8c225c3a8478bbd16a4 (diff)
downloadgcc-6781da87d5e14301dd3cdc89996dc6e5ad97e32a.zip
gcc-6781da87d5e14301dd3cdc89996dc6e5ad97e32a.tar.gz
gcc-6781da87d5e14301dd3cdc89996dc6e5ad97e32a.tar.bz2
openacc: Helper functions for enter/exit data using single mapping
This patch factors out the parts of goacc_enter_datum and goacc_exit_datum that can be shared with goacc_enter_data_internal and goacc_exit_data_internal respectively (in the next patch), without overloading function return values or complicating code paths unnecessarily. 2020-07-10 Julian Brown <julian@codesourcery.com> Thomas Schwinge <thomas@codesourcery.com> libgomp/ * oacc-mem.c (goacc_map_var_existing): New function. (goacc_enter_datum): Use above function. (goacc_exit_datum_1): New function. (goacc_exit_datum): Use above function. Co-Authored-By: Thomas Schwinge <thomas@codesourcery.com>
Diffstat (limited to 'gcc')
0 files changed, 0 insertions, 0 deletions