Re: [PATCH 01/11] libgomp: Release device lock on cbuf error path

2021-10-12 Thread Jakub Jelinek via Gcc-patches
On Fri, Oct 01, 2021 at 10:07:48AM -0700, Julian Brown wrote: > This patch releases the device lock on a sanity-checking error path in > transfer combining (cbuf) handling in libgomp:target.c. This shouldn't > happen when handling well-formed mapping clauses, but erroneous clauses > can currently

[PATCH 01/11] libgomp: Release device lock on cbuf error path

2021-10-01 Thread Julian Brown
This patch releases the device lock on a sanity-checking error path in transfer combining (cbuf) handling in libgomp:target.c. This shouldn't happen when handling well-formed mapping clauses, but erroneous clauses can currently cause a hang if the condition triggers. Tested with offloading to NVP