Re: [patch] nvptx libgcc atomic routines

2018-10-05 Thread Tom de Vries
On 9/26/18 8:33 PM, Cesar Philippidis wrote: > This patch adds nvptx support for the atomic FETCH_AND_OP functions. I > recall that this used to be important for OpenACC reductions back in the > GCC 5.0 days before Nathan split reductions into four phases. Nowadays, > atomic reductions use a spin l

[patch] nvptx libgcc atomic routines

2018-09-26 Thread Cesar Philippidis
This patch adds nvptx support for the atomic FETCH_AND_OP functions. I recall that this used to be important for OpenACC reductions back in the GCC 5.0 days before Nathan split reductions into four phases. Nowadays, atomic reductions use a spin lock that's implemented directly by the nvptx BE. Ther