gcc/libgomp/testsuite
Tobias Burnus d5c23c6cea OpenACC – support "if" + "if_present" clauses with "host_data"
2020-01-10  Gergö Barany  <gergo@codesourcery.com>
	    Thomas Schwinge <thomas@codesourcery.com>
	    Julian Brown  <julian@codesourcery.com>
	    Tobias Burnus  <tobias@codesourcery.com>

        gcc/c/
        * c-parser.c (OACC_HOST_DATA_CLAUSE_MASK): Add PRAGMA_OACC_CLAUSE_IF
        and PRAGMA_OACC_CLAUSE_IF_PRESENT.

        gcc/cp/
        * parser.c (OACC_HOST_DATA_CLAUSE_MASK): Add PRAGMA_OACC_CLAUSE_IF
        and PRAGMA_OACC_CLAUSE_IF_PRESENT.

        gcc/fortran/
        * openmp.c (OACC_HOST_DATA_CLAUSES): Add PRAGMA_OACC_CLAUSE_IF
        and PRAGMA_OACC_CLAUSE_IF_PRESENT.

	gcc/
	* omp-low.c (lower_omp_target): Use GOMP_MAP_USE_DEVICE_PTR_IF_PRESENT
	if PRAGMA_OACC_CLAUSE_IF_PRESENT exist.

	gcc/testsuite/
	* c-c++-common/goacc/host_data-1.c: Added tests of if and if_present
	clauses on host_data.
	* gfortran.dg/goacc/host_data-tree.f95: Likewise.

	include/
	* gomp-constants.h (enum gomp_map_kind): New enumeration constant
	GOMP_MAP_USE_DEVICE_PTR_IF_PRESENT.
        
	libgomp/
	* oacc-parallel.c (GOACC_data_start): Handle
	GOMP_MAP_USE_DEVICE_PTR_IF_PRESENT.
	* target.c (gomp_map_vars_async): Likewise.
	* testsuite/libgomp.oacc-c-c++-common/host_data-7.c: New.
	* testsuite/libgomp.oacc-fortran/host_data-5.F90: New.

From-SVN: r280115
2020-01-10 16:08:41 +01:00
..
config Update copyright years. 2020-01-01 12:51:42 +01:00
lib Enable OpenACC GCN testing. 2019-12-03 12:53:53 +00:00
libgomp.c Update copyright years. 2020-01-01 12:51:42 +01:00
libgomp.c++ re PR c++/60228 (ICE using lambda in #pragma omp declare reduction) 2019-11-29 10:10:44 +01:00
libgomp.c-c++-common OpenACC reference count overhaul 2019-12-20 01:20:16 +00:00
libgomp.fortran Fortran] OpenMP/OpenACC – fix more issues with OPTIONAL 2020-01-03 13:56:46 +01:00
libgomp.graphite Update copyright years. 2020-01-01 12:51:42 +01:00
libgomp.hsa.c libgomp – spelling fixes, incl. omp_lib.h.in 2019-12-11 12:45:49 +01:00
libgomp.oacc-c Enable OpenACC GCN testing. 2019-12-03 12:53:53 +00:00
libgomp.oacc-c++ OpenACC 2.6 deep copy: C and C++ execution tests 2019-12-20 01:39:42 +00:00
libgomp.oacc-c-c++-common OpenACC – support "if" + "if_present" clauses with "host_data" 2020-01-10 16:08:41 +01:00
libgomp.oacc-fortran OpenACC – support "if" + "if_present" clauses with "host_data" 2020-01-10 16:08:41 +01:00
libgomp-test-support.exp.in libgomp/test: Fix compilation for build sysroot 2019-12-22 00:41:36 +00:00
Makefile.am Generalize getconf _NPROCESSORS_ONLN 2019-05-30 09:06:48 +00:00
Makefile.in libgomp: Regenerate `testsuite/Makefile.in' for GCC_HEADER_STDINT removal 2019-11-18 00:33:37 +00:00