diff options
author | Julian Brown <julian@codesourcery.com> | 2020-06-30 02:15:56 -0700 |
---|---|---|
committer | Julian Brown <julian@codesourcery.com> | 2020-07-10 08:07:12 -0700 |
commit | cb7effde6f36b43d50c8cd7f86eaa05937da7205 (patch) | |
tree | f2ed5a025ab27c0fa55f5b2435b809f27392886e /libitm | |
parent | c6b7ba5de624f2a17d799bac5ff017cd065ce035 (diff) | |
download | gcc-cb7effde6f36b43d50c8cd7f86eaa05937da7205.zip gcc-cb7effde6f36b43d50c8cd7f86eaa05937da7205.tar.gz gcc-cb7effde6f36b43d50c8cd7f86eaa05937da7205.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 'libitm')
0 files changed, 0 insertions, 0 deletions