On Thu, Jul 21, 2022 at 02:33:32PM +0200, Tobias Burnus wrote:
> OpenMP: Support reverse offload (middle end part)
>
> gcc/ChangeLog:
>
> * internal-fn.cc (expand_GOMP_TARGET_REV): New.
> * internal-fn.def (GOMP_TARGET_REV): New.
> * lto-cgraph.cc (lto_output_node, verify_node_p
Ups to quick/wrong patch file. I had found an issue related to 'noclone'
(duplicated entries, dg-scan-dump issues with OpenACC) – but ended up to
attach the wrong file... Changes: omp-low.cc and
gcc/testsuite/*/goacc/. The rest is the same.
Tobias
On 21.07.22 12:55, Tobias Burnus wrote:
This p
This patch does three things:
(a) It removes a 'sorry' for 'device(ancestor:1)' and passes
GOMP_DEVICE_HOST_FALLBACK as device number.
This is sufficient for full "reverse" offload support with ENABLE_OFFLOADING
being false - and -foffload=disable. And for simple hello-world cases.
On the