Re: [PATCH, OpenACC 2.7] Implement reductions for arrays and structs

2024-03-13 Thread Tobias Burnus
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

Re: [PATCH, OpenACC 2.7] Implement reductions for arrays and structs

2024-01-10 Thread Julian Brown
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

[PATCH, OpenACC 2.7] Implement reductions for arrays and structs

2024-01-02 Thread Chung-Lin Tang
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