https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83792

--- Comment #3 from Tom de Vries <vries at gcc dot gnu.org> ---
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  <t...@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

Reply via email to