This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [Patch][fortran,omp-low.c] Fix OpenMP's use_device_ptr clause with array descriptors
- From: Tobias Burnus <tobias at codesourcery dot com>
- To: gcc-patches <gcc-patches at gcc dot gnu dot org>, Jakub Jelinek <jakub at redhat dot com>
- Cc: Thomas Schwinge <thomas at codesourcery dot com>, Andrew Stubbs <ams at codesourcery dot com>, fortran <fortran at gcc dot gnu dot org>, Tobias Burnus <burnus at net-b dot de>
- Date: Mon, 30 Sep 2019 15:35:21 +0200
- Subject: Re: [Patch][fortran,omp-low.c] Fix OpenMP's use_device_ptr clause with array descriptors
- Ironport-sdr: FPSLfITxrWG6Vc5tGCSyDX8N3apkojyXXMVGZ2hGYQSc/c3IA+tllgVT4b7zyvykwoZuzZi5sX YKsStxRgbY8rn6FeyHTop7Ixy82+OFW4C70cKYW5oS5Nt5rPp8HXjCFOSQauJ/epX1mETjLqCq GhZoMtc0gSLZhSbtYgwZebhZnriAIt2q7/6haD+sa70rKnwiCY+QBAweo2GlI/z8sW5lzgzDq7 1CY9t+LooFdzbvNI680kpOK7a8N4IWA9OM+pRB+fufggVEgutaoDO5sDLnIGjokEIq1VxwNXLa Ja4=
- Ironport-sdr: 3qMVn3HjL1BbmUgN1Vb6uP+qB8nTCXYs3AJdFVgt/zKqdqEnJUzbM8tzFb8bQsHSgogJsIdWCn Zm3wo9tZGy+bK4mBjgfsj4aEMpeG+B61Ao37dTgORk4d4YfXGRQ7lCEy36EaEnnwKilyUkOkEy Wtu4X4kyL55TzavSh2O5TGcv5btgiwMOXd0Ju7GQiVzpCXFNJDb2En/PThA+/C7moIZsoQrWDI wBSmKNVIZbjOLgP6gvBmcvKTR0n55CKhVkZDc0n6lW7I3wTUwO4DDeCo7pnJWBFeqpjUqmjGhn 3oo=
- References: <9fe893c5-d986-ef05-1659-04df3db3cccb@codesourcery.com>
Hi all,
found bug in the run test of the patch (pending review) – fixing it
still passes (with nvptx):
On 9/27/19 4:52 PM, Tobias Burnus wrote:
libgomp/testsuite/libgomp.fortran/use_device_ptr1.f90
[…]
+ call use_device_ptr_sub(arg2_AA, arg2_BB, arg2_CC, arg2_DD, arg2_EE, arg2_FF, AptrA, BptrB, N)
(3rd last line): This should call "...sub2" (i.e. use_device_ptr_sub2) and not "…sub" a second time!
Cheers,
Tobias