Re: [PATCH, OpenACC] Fix potential race condition in OpenACC "exit data" operations

2019-12-13 Thread Thomas Schwinge
Hi Julian! On 2019-12-12T19:01:21+, Julian Brown wrote: > This is a fix for PR92881, broken out of the larger "reference counting > overhaul" patch last posted here: > > https://gcc.gnu.org/ml/gcc-patches/2019-11/msg02235.html Thanks! > The current implementation (potentially with synchrono

[PATCH, OpenACC] Fix potential race condition in OpenACC "exit data" operations

2019-12-12 Thread Julian Brown
Hi, This is a fix for PR92881, broken out of the larger "reference counting overhaul" patch last posted here: https://gcc.gnu.org/ml/gcc-patches/2019-11/msg02235.html The current implementation (potentially with synchronous unmapping of a variable/memory block immediately after an asynchronous c