Hi Nathan! On Mon, 2 Nov 2015 11:38:47 -0500, Nathan Sidwell <nat...@acm.org> wrote: > This patch are the initial set of tests. The libgomp tests use an idiom of > summing thread identifiers and then checking the expected set of threads > participated. They are all derived from the loop tests I recently added for > the > execution model itself. > > The fortran test was duplicated in both the gfortran testsuite and the > libgomp > testsuite. I deleted it from the former. It was slightly bogus as it asked > for a vector-length of 40, and appeared to be working by accident by not > actually partitioning the loop. I fixed that up
On gomp-4_0-branch, you had modified/XFAILed (ICE) that test in r228955, <http://news.gmane.org/find-root.php?message_id=%3C56240637.6040601%40acm.org%3E> -- which still needs to be resolved, so I left that as-is, that is, did not delete the gcc/testsuite/gfortran.dg/goacc/reduction-2.f95 file in the merge commit. > and reworked it to avoid > needing a reduction on a reference variable. Reference handling will be a > later > patch. As that is -- apparently -- functional on gomp-4_0-branch, I also left the libgomp/testsuite/libgomp.oacc-fortran/reduction-5.f90 file as-is; it's also doing more elaborate testing in its gomp-4_0-branch variant. Merged your trunk r229769 and r229770 into gomp-4_0-branch in r229837, effectively just adding your new libgomp testsuite files unmodified: commit a222b569f0234d219fec69cd13b66446f664440d Merge: 089a022 06d6724 Author: tschwinge <tschwinge@138bc75d-0d04-0410-961f-82ee72b054a4> Date: Fri Nov 6 09:40:44 2015 +0000 svn merge -r 229768:229770 svn+ssh://gcc.gnu.org/svn/gcc/trunk git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gomp-4_0-branch@229837 138bc75d-0d04-0410-961f-82ee72b054a4 gcc/testsuite/ChangeLog | 4 ++ libgomp/ChangeLog | 11 ++++ .../libgomp.oacc-c-c++-common/loop-red-g-1.c | 54 ++++++++++++++++++++ .../libgomp.oacc-c-c++-common/loop-red-gwv-1.c | 56 ++++++++++++++++++++ .../libgomp.oacc-c-c++-common/loop-red-v-1.c | 56 ++++++++++++++++++++ .../libgomp.oacc-c-c++-common/loop-red-v-2.c | 59 ++++++++++++++++++++++ .../libgomp.oacc-c-c++-common/loop-red-w-1.c | 54 ++++++++++++++++++++ .../libgomp.oacc-c-c++-common/loop-red-w-2.c | 57 +++++++++++++++++++++ .../libgomp.oacc-c-c++-common/loop-red-wv-1.c | 54 ++++++++++++++++++++ 9 files changed, 405 insertions(+) Grüße Thomas
signature.asc
Description: PGP signature