Hi Chung-Lin,
https://gcc.gnu.org/pipermail/gcc-patches/2024-January/641669.html
Chung-Lin Tang wrote:
this patch implements reductions for arrays and structs for OpenACC. Following
the pattern for OpenACC reductions [...]
(Stumbled over while looking at the Fortran patch, but applying to
On Tue, 2 Jan 2024 23:21:21 +0800
Chung-Lin Tang wrote:
> To Julian, there is a patch to the middle-end neutering, a hack
> actually, that detects SSA_NAMEs used in reduction array MEM_REFs,
> and avoids single->parallel copying (by moving those definitions
> before BUILT_IN_GOACC_SINGLE_COPY_STA
Hi Thomas, Andrew,
this patch implements reductions for arrays and structs for OpenACC. Following
the pattern for OpenACC reductions, this is mostly in the respective NVPTX/GCN
backends' *_goacc_reduction_setup/init/fini/teardown hooks, particularly in the
fini part, and [nvptx/gcn]_reduction_up