Re: [Patch] OpenMP: Prepare omp-* for ancestor:1 handling

2022-06-30 Thread Tobias Burnus
Hi Jakub, On 30.06.22 10:21, Jakub Jelinek wrote: So, what is the plan with reverse offload? My idea was to just call omp_target_ext with 'device(omp_initial_device)'. This then automatically works when called from a target region that runs on omp_get_initial_device(). For the actual device

Re: [Patch] OpenMP: Prepare omp-* for ancestor:1 handling

2022-06-30 Thread Jakub Jelinek via Gcc-patches
On Wed, Jun 29, 2022 at 09:54:56PM +0200, Tobias Burnus wrote: > Currently, this is a rather useless patch - even though it helps to reduce > the number of local patches I have. Due to the printed sorry, adding a > testcase with -fdump-tree-* is also not possible, yet. > > For reverse offload,

[Patch] OpenMP: Prepare omp-* for ancestor:1 handling

2022-06-29 Thread Tobias Burnus
Currently, this is a rather useless patch - even though it helps to reduce the number of local patches I have. Due to the printed sorry, adding a testcase with -fdump-tree-* is also not possible, yet. For reverse offload, the plan is to call GOMP_target_ext inside the on the device, passing