Re: [Patch] libgomp: Fix reverse-offload for GOMP_MAP_TO_PSET

2023-02-15 Thread Jakub Jelinek via Gcc-patches
On Thu, Feb 09, 2023 at 10:23:53AM +0100, Tobias Burnus wrote: > libgomp: Fix reverse-offload for GOMP_MAP_TO_PSET > > libgomp/ > * target.c (gomp_target_rev): Dereference ptr > to get device address. > * libgomp.fortran/reverse-offload-5.f90: Add test > for unallocated all

Re: [Patch] libgomp: Fix reverse-offload for GOMP_MAP_TO_PSET

2023-02-09 Thread Tobias Burnus
(Updated to fix -m32 build, otherwise unchanged.) Any other comments? On 07.02.23 23:51, Thomas Schwinge wrote: On 2023-02-06T12:52:11+0100, Tobias Burnus wrote: Seems as if I missed a GOMP_MAP_TO_PSET issue before. As nvptx is XFAILed before, I only found it when testing on AMDGCN. For an

Re: [Patch] libgomp: Fix reverse-offload for GOMP_MAP_TO_PSET

2023-02-07 Thread Thomas Schwinge
Hi Tobias! On 2023-02-06T12:52:11+0100, Tobias Burnus wrote: > Seems as if I missed a GOMP_MAP_TO_PSET issue before. As nvptx is > XFAILed before, I only found it when testing on AMDGCN. > > For an array-descriptor 'ai' variable, omplower has: >map(tofrom:MEM [(integer(kind=4)[0:] *)D.4346]