]> git.ipfire.org Git - thirdparty/gcc.git/commit
For libgomp OpenACC entry points, redefine the "device" argument to "flags"
authortschwinge <tschwinge@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 28 Dec 2018 11:34:14 +0000 (11:34 +0000)
committertschwinge <tschwinge@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 28 Dec 2018 11:34:14 +0000 (11:34 +0000)
commit813421cdb9712da2a4f3804c35b4a7328e81f88e
tree4a94d5d6765f11cca6f5d093ef0afa7a5c98b934
parenta91917652db3a84fc69baf05468ba6f1aad655b7
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".

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@267448 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/omp-expand.c
gcc/tree-ssa-structalias.c
include/ChangeLog
include/gomp-constants.h
libgomp/ChangeLog
libgomp/oacc-parallel.c