Allow libgomp 'cbuf' buffering with OpenACC 'async' for 'ephemeral' data (was: [PATCH 3/4] openacc: Fix asynchronous host-to-device copies in libgomp runtime)

2023-03-10 Thread Thomas Schwinge
Hi! On 2021-07-27T12:01:18+0200, I wrote: > On 2021-06-29T16:42:03-0700, Julian Brown wrote: >> This patch fixes several places in libgomp/target.c where "ephemeral" data >> (on the stack or in temporary heap locations) may be used as the source of >> an asynchronous host-to-device copy that may

Re: [PATCH 3/4] openacc: Fix asynchronous host-to-device copies in libgomp runtime

2021-07-27 Thread Thomas Schwinge
Hi! On 2021-06-29T16:42:03-0700, Julian Brown wrote: > This patch fixes several places in libgomp/target.c where "ephemeral" data > (on the stack or in temporary heap locations) may be used as the source of > an asynchronous host-to-device copy that may not complete before the host > data disappe

[PATCH 3/4] openacc: Fix asynchronous host-to-device copies in libgomp runtime

2021-06-29 Thread Julian Brown
This patch fixes several places in libgomp/target.c where "ephemeral" data (on the stack or in temporary heap locations) may be used as the source of an asynchronous host-to-device copy that may not complete before the host data disappears. Versions of the patch have been posted several times befo