r244983 - in /branches/gomp-4_0-branch: gcc/Cha...

cesar@gcc.gnu.org cesar@gcc.gnu.org
Fri Jan 27 15:21:00 GMT 2017


Author: cesar
Date: Fri Jan 27 15:21:08 2017
New Revision: 244983

URL: https://gcc.gnu.org/viewcvs?rev=244983&root=gcc&view=rev
Log:
Enable GOMP_MAP_FIRSTPRIAVTE_INT in gfortan and OpenACC.

	gcc/
	* omp-low.c (maybe_lookup_field_in_outer_ctx): New function.
	(convert_to_firstprivate_pointer): New function.
	(convert_from_firstprivate_pointer): New function.
	(lower_omp_target): Enable GOMP_MAP_FIRSTPRIVATE_INT in OpenACC.

	libgomp/
	* plugin/plugin-nvptx.c (nvptx_exec): Make aware of
	GOMP_MAP_FIRSTPRIVATE_INT host addresses.
	* testsuite/libgomp.oacc-c++/firstprivate-int.C: New test.
	* testsuite/libgomp.oacc-c-c++-common/firstprivate-int.c: New test.
	* testsuite/libgomp.oacc-fortran/firstprivate-int.f90: New test.

Added:
    branches/gomp-4_0-branch/libgomp/testsuite/libgomp.oacc-c++/firstprivate-int.C
    branches/gomp-4_0-branch/libgomp/testsuite/libgomp.oacc-c-c++-common/firstprivate-int.c
    branches/gomp-4_0-branch/libgomp/testsuite/libgomp.oacc-fortran/firstprivate-int.f90
Modified:
    branches/gomp-4_0-branch/gcc/ChangeLog.gomp
    branches/gomp-4_0-branch/gcc/omp-low.c
    branches/gomp-4_0-branch/libgomp/ChangeLog.gomp
    branches/gomp-4_0-branch/libgomp/plugin/plugin-nvptx.c



More information about the Gcc-cvs mailing list