These patches stabilise async support for AMD GCN. Several tests that previously failed (some intermittently) now work.
Further commentary is provided alongside each patch. Tested with offloading to AMD GCN. I will apply shortly to the openacc-gcc-9-branch. Thanks, Julian Julian Brown (3): [og9] Wait at end of OpenACC asynchronous kernels regions [og9] Use temporary buffers for async host2dev copies [og9] Wait on queue-full condition in AMD GCN libgomp offloading plugin gcc/ChangeLog.openacc | 7 +++++ gcc/omp-oacc-kernels.c | 28 ++++++++++++++----- libgomp/ChangeLog.openacc | 19 +++++++++++++ libgomp/plugin/plugin-gcn.c | 31 ++++++++++++++++---- libgomp/target.c | 56 +++++++++++++++---------------------- 5 files changed, 94 insertions(+), 47 deletions(-) -- 2.22.0