For libgomp OpenACC entry points, redefine the "device" argument to "flags"
authorThomas Schwinge <thomas@codesourcery.com>
Fri, 28 Dec 2018 11:34:14 +0000 (12:34 +0100)
committerThomas Schwinge <tschwinge@gcc.gnu.org>
Fri, 28 Dec 2018 11:34:14 +0000 (12:34 +0100)
commit59d5960cdba3fb1bd8d9c234fc36fb634b3e9ab2
tree4a94d5d6765f11cca6f5d093ef0afa7a5c98b934
parent5a12987e79513b46d317c6973555c582ba4da895
For libgomp OpenACC entry points, redefine the "device" argument to "flags"

... so that we're then able to use this for other flags in addition to
"GOACC_FLAG_HOST_FALLBACK".

gcc/
* omp-expand.c (expand_omp_target): Restructure OpenACC vs. OpenMP
code paths.  Update for libgomp OpenACC entry points change.
include/
* gomp-constants.h (GOACC_FLAG_HOST_FALLBACK)
(GOACC_FLAGS_MARSHAL_OP, GOACC_FLAGS_UNMARSHAL): Define.
libgomp/
* oacc-parallel.c (GOACC_parallel_keyed, GOACC_parallel)
(GOACC_data_start, GOACC_enter_exit_data, GOACC_update)
(GOACC_declare): Redefine the "device" argument to "flags".

From-SVN: r267448
gcc/ChangeLog
gcc/omp-expand.c
gcc/tree-ssa-structalias.c
include/ChangeLog
include/gomp-constants.h
libgomp/ChangeLog
libgomp/oacc-parallel.c