Hi! On 2023-10-25T11:29:52+0200, I wrote: > On 2023-10-25T10:57:06+0200, I wrote: >> With minor textual conflicts resolved, I've pushed this to master branch >> in commit 3a3596389c2e539cb8fd5dc5784a4e2afe193a2a >> "OpenACC 2.7: Implement self clause for compute constructs", see >> attached. >> >> >> I'll then apply/submit a number of follow-on commits. > >> From 3a3596389c2e539cb8fd5dc5784a4e2afe193a2a Mon Sep 17 00:00:00 2001 >> From: Chung-Lin Tang >> Date: Tue, 13 Jun 2023 08:44:31 -0700 >> Subject: [PATCH] OpenACC 2.7: Implement self clause for compute constructs > >> .../c-c++-common/goacc/self-clause-1.c | 22 + >> .../c-c++-common/goacc/self-clause-2.c | 17 + >> gcc/testsuite/gfortran.dg/goacc/self.f95 | 53 + > >> .../libgomp.oacc-c-c++-common/self-1.c | 962 ++++++++++++++++++ > > I found that insufficient, and added some more. Pushed to > master branch commit 047841a68ebf5f991e842961f9e54f3c10b94f2c > "Extend test suite coverage for OpenACC 'self' clause for compute constructs", > see attached. This is mostly just adapting and cross-linking some > existing 'if' clause test cases. (..., which turned up a problem when > the 'self' clause is used with OpenACC 'kernels'.) > --- /dev/null > +++ b/libgomp/testsuite/libgomp.oacc-fortran/self-1.f90 > @@ -0,0 +1,996 @@ > +! OpenACC 'self' clause. > + > +! This is 'if-1.f90' with 'self(!cond)' instead of 'if(cond)' on compute > +! constructs. > +! ..., which the exception of certain 'kernels' constructs. ..., which I've then fixed up per master branch commit 7b2ae64b68132c1c643cb34d58cd5eab6f9de652 "Handle OpenACC 'self' clause for compute constructs in OpenACC 'kernels' decomposition", see attached. Grüße Thomas ----------------- Siemens Electronic Design Automation GmbH; Anschrift: Arnulfstraße 201, 80634 München; Gesellschaft mit beschränkter Haftung; Geschäftsführer: Thomas Heurung, Frank Thürauf; Sitz der Gesellschaft: München; Registergericht München, HRB 106955