r260081 - in /trunk/libgomp: ChangeLog oacc-asy...

vries@gcc.gnu.org vries@gcc.gnu.org
Wed May 9 13:52:00 GMT 2018


Author: vries
Date: Wed May  9 13:52:49 2018
New Revision: 260081

URL: https://gcc.gnu.org/viewcvs?rev=260081&root=gcc&view=rev
Log:
[openacc] Factor out async argument utility functions

2018-05-09  Tom de Vries  <tom@codesourcery.com>

	PR libgomp/83792
	* oacc-int.h (async_valid_stream_id_p, async_valid_p)
	(async_synchronous_p): New function.
	* oacc-async.c (acc_async_test, acc_wait, acc_wait_all_async): Use
	async_valid_p.
	* oacc-cuda.c (acc_get_cuda_stream, acc_set_cuda_stream): Use
	async_valid_stream_id_p.
	* oacc-mem.c (gomp_acc_remove_pointer): Use async_synchronous_p.
	* oacc-parallel.c (GOACC_parallel_keyed): Same.

Modified:
    trunk/libgomp/ChangeLog
    trunk/libgomp/oacc-async.c
    trunk/libgomp/oacc-cuda.c
    trunk/libgomp/oacc-int.h
    trunk/libgomp/oacc-mem.c
    trunk/libgomp/oacc-parallel.c



More information about the Gcc-cvs mailing list