From: Julian Brown <julian@codesourcery.com>
To: <gcc-patches@gcc.gnu.org>
Cc: <fortran@gcc.gnu.org>, Jakub Jelinek <jakub@redhat.com>,
Tobias Burnus <tobias@codesourcery.com>,
Thomas Schwinge <thomas@codesourcery.com>
Subject: [PATCH 0/2] openacc: Mixing array elements and derived types (mk2)
Date: Fri, 12 Feb 2021 07:46:47 -0800 [thread overview]
Message-ID: <20210212154649.96393-1-julian@codesourcery.com> (raw)
This series contains an updated version of the "3/4" patch from this
series:
https://gcc.gnu.org/pipermail/gcc-patches/2021-February/564711.html
together with bits that undo the reversions in:
https://gcc.gnu.org/pipermail/gcc-patches/2021-February/565093.html
and a new approach to handling components of array sections of derived
types, since those are actually already explicitly disallowed by the spec
(OpenACC 3.0).
(Actually the 1/2 patch is the same as the previously-posted version,
apart from testsuite changes.)
Re-tested with offloading to AMD GCN. Further commentary on individual
patches. OK?
Thanks,
Julian
Julian Brown (2):
openacc: Fix lowering for derived-type mappings through array elements
openacc: Strided array sections and components of derived-type arrays
gcc/fortran/openmp.c | 55 ++---
gcc/fortran/trans-openmp.c | 192 ++++++++++--------
gcc/gimplify.c | 12 ++
.../gfortran.dg/goacc/array-with-dt-1.f90 | 11 +
.../gfortran.dg/goacc/array-with-dt-2.f90 | 5 +-
.../gfortran.dg/goacc/array-with-dt-3.f90 | 14 ++
.../gfortran.dg/goacc/array-with-dt-4.f90 | 18 ++
.../gfortran.dg/goacc/array-with-dt-5.f90 | 12 ++
.../gfortran.dg/goacc/array-with-dt-6.f90 | 10 +
.../gfortran.dg/goacc/derived-chartypes-1.f90 | 3 -
.../gfortran.dg/goacc/derived-chartypes-2.f90 | 3 -
.../goacc/derived-classtypes-1.f95 | 8 +-
.../gfortran.dg/goacc/mapping-tests-2.f90 | 4 +-
.../array-stride-dt-1.f90 | 5 +-
.../derivedtypes-arrays-1.f90 | 109 ++++++++++
.../libgomp.oacc-fortran/update-dt-array.f90 | 53 +++++
16 files changed, 392 insertions(+), 122 deletions(-)
create mode 100644 gcc/testsuite/gfortran.dg/goacc/array-with-dt-1.f90
create mode 100644 gcc/testsuite/gfortran.dg/goacc/array-with-dt-3.f90
create mode 100644 gcc/testsuite/gfortran.dg/goacc/array-with-dt-4.f90
create mode 100644 gcc/testsuite/gfortran.dg/goacc/array-with-dt-5.f90
create mode 100644 gcc/testsuite/gfortran.dg/goacc/array-with-dt-6.f90
create mode 100644 libgomp/testsuite/libgomp.oacc-fortran/derivedtypes-arrays-1.f90
create mode 100644 libgomp/testsuite/libgomp.oacc-fortran/update-dt-array.f90
--
2.29.2
next reply other threads:[~2021-02-12 15:47 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-02-12 15:46 Julian Brown [this message]
2021-02-12 15:46 ` [PATCH 1/2] openacc: Fix lowering for derived-type mappings through array elements Julian Brown
2021-02-16 10:08 ` Tobias Burnus
2021-03-25 11:54 ` Thomas Schwinge
2021-03-26 14:29 ` Thomas Schwinge
2021-02-12 15:46 ` [PATCH 2/2] openacc: Strided array sections and components of derived-type arrays Julian Brown
2021-02-16 10:09 ` Tobias Burnus
2021-02-17 14:18 ` Julian Brown
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20210212154649.96393-1-julian@codesourcery.com \
--to=julian@codesourcery.com \
--cc=fortran@gcc.gnu.org \
--cc=gcc-patches@gcc.gnu.org \
--cc=jakub@redhat.com \
--cc=thomas@codesourcery.com \
--cc=tobias@codesourcery.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).