Skip to content
Snippets Groups Projects
Commit 5bcd470b authored by Julian Brown's avatar Julian Brown Committed by Julian Brown
Browse files

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.

Co-Authored-By: default avatarCesar Philippidis <cesar@codesourcery.com>

From-SVN: r279622
parent 378da98f
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment