r279622 - in /trunk/libgomp: ChangeLog libgomp....

jules@gcc.gnu.org jules@gcc.gnu.org
Fri Dec 20 01:20:00 GMT 2019


Author: jules
Date: Fri Dec 20 01:20:19 2019
New Revision: 279622

URL: https://gcc.gnu.org/viewcvs?rev=279622&root=gcc&view=rev
Log:
Use gomp_map_val for OpenACC host-to-device address translation

	libgomp/
	* libgomp.h (gomp_map_val): Add prototype.
	* oacc-parallel.c (GOACC_parallel_keyed): Use gomp_map_val instead of
	open-coding device-address calculation.
	* target.c (gomp_map_val): Make global. Use OFFSET_POINTER in
	non-present case.

Modified:
    trunk/libgomp/ChangeLog
    trunk/libgomp/libgomp.h
    trunk/libgomp/oacc-parallel.c
    trunk/libgomp/target.c



More information about the Gcc-cvs mailing list