]> git.ipfire.org Git - people/ms/gcc.git/commit
[og9] Wait at end of OpenACC asynchronous kernels regions
authorJulian Brown <julian@codesourcery.com>
Fri, 9 Aug 2019 20:01:33 +0000 (13:01 -0700)
committerThomas Schwinge <thomas@codesourcery.com>
Tue, 3 Mar 2020 11:50:41 +0000 (12:50 +0100)
commit3f2d70bb7ed647e662f049d445b9fac1ae03044c
tree78c24824a131fe52a3d69a56cb50507af3c5f0bb
parentbdb426046046cbdb08fef00ae96a801ad94af8b7
[og9] Wait at end of OpenACC asynchronous kernels regions

gcc/
* omp-oacc-kernels.c (add_wait): New function, split out of...
(add_async_clauses_and_wait): ...here. Call new outlined function.
(decompose_kernels_region_body): Add wait at the end of
explicitly-asynchronous kernels regions.

(cherry picked from openacc-gcc-9-branch commit
79cc9084f24fec88df02daa5b099c8288ee06626)
gcc/ChangeLog.omp
gcc/omp-oacc-kernels.c