Re: [PATCH] Fix OpenACC shutdown and PTX image unloading (PR65904)

2019-01-15 Thread Tom de Vries
[ add gcc-patches@ ] On 15-01-19 11:38, Tom de Vries wrote: > Hi > > Copied from here ( > https://gcc.gnu.org/ml/gcc-patches/2015-05/msg00532.html ): >> This too. Retested for libgomp/NVPTX. >> >> OK for trunk now? >> > > The plugin-nvptx.c part looks ok to me, for stage 1. > > Thanks, > - Tom

Re: [PATCH] Fix OpenACC shutdown and PTX image unloading (PR65904)

2015-05-07 Thread Julian Brown
On Wed, 6 May 2015 10:32:56 +0200 Thomas Schwinge wrote: > Hi! > > On Fri, 1 May 2015 10:47:19 +0100, Julian Brown > wrote: > > The patch also fixes a thinko that was revealed in image unloading > > in the NVPTX backend. Tested for libgomp with PTX offloading. > > Confirming that both nvptx (P

Re: [PATCH] Fix OpenACC shutdown and PTX image unloading (PR65904)

2015-05-06 Thread Thomas Schwinge
Hi! On Fri, 1 May 2015 10:47:19 +0100, Julian Brown wrote: > This patch fixes PR65904, a double-free error that started occurring > after recent libgomp changes to the way offload images are registered > with the runtime. > > Offload images now map all functions/data using just two malloc'ed > b

[PATCH] Fix OpenACC shutdown and PTX image unloading (PR65904)

2015-05-01 Thread Julian Brown
Hi, This patch fixes PR65904, a double-free error that started occurring after recent libgomp changes to the way offload images are registered with the runtime. Offload images now map all functions/data using just two malloc'ed blocks, but the function gomp_free_memmap did not take that into acco