[PR testsuite/68242] FAIL: libgomp.oacc-c-c++-common/reduction-2.c, and other OpenACC reduction test case "oddities" (was: [gomp4] OpenACC reduction tests)

2016-04-12 Thread Thomas Schwinge
Hi Cesar! (At least several of) the issues that I pointed out (see below) have never been fixed on gomp-4_0-branch, but the test cases have now been merged from gomp-4_0-branch into trunk, so the regression (PASS -> FAIL for libgomp.oacc-c-c++-common/reduction-2.c) as well as the other "oddities"

Improve libgomp.oacc-c-c++-common/par-loop-comb-reduction-2.c (was: [gomp4] Some additional OpenACC reduction tests)

2016-04-12 Thread Thomas Schwinge
Hi! Cesar didn't pick up my gomp-4_0-branch change in his recent trunk commit, so here goes: On Thu, 24 Mar 2016 17:57:55 +0100, I wrote: > On Wed, 29 Jul 2015 18:23:12 +0100, Julian Brown > wrote: > > This is a set of 19 new tests for OpenACC reductions, covering several > > ways of performing

Re: [gomp4] Some additional OpenACC reduction tests

2016-03-24 Thread Thomas Schwinge
Hi! On Wed, 29 Jul 2015 18:23:12 +0100, Julian Brown wrote: > This is a set of 19 new tests for OpenACC reductions, covering several > ways of performing reductions over the parallel and loop directives > using gang or worker/vector level parallelism. > --- /dev/null > +++ b/libgomp/testsuite/l

Openacc reduction tests

2015-11-19 Thread Nathan Sidwell
in adding the complex double support I noticed some existing tests had commented out sequences. These were broken tests a) the multiplication reduction assumed that 0 * 99! was numerically stable in the face of arbitrary re-association. While it did guess that results might vary, it used an

Re: [gomp4] OpenACC reduction tests

2015-11-07 Thread Thomas Schwinge
Hi! On Wed, 23 Sep 2015 09:56:44 +0200, I wrote: > On Fri, 18 Sep 2015 10:11:25 +0200, I wrote: > > On Fri, 17 Jul 2015 11:13:59 -0700, Cesar Philippidis > > wrote: > > > This patch updates the libgomp OpenACC reduction test cases [...] > > Given the following > > -Wuninitialized/-Wmaybe-uninit

Re: [gomp4] OpenACC reduction tests

2015-09-23 Thread Thomas Schwinge
Hi! On Fri, 18 Sep 2015 10:11:25 +0200, I wrote: > On Fri, 17 Jul 2015 11:13:59 -0700, Cesar Philippidis > wrote: > > This patch updates the libgomp OpenACC reduction test cases [...] > > > --- a/libgomp/testsuite/libgomp.oacc-fortran/reduction-5.f90 > > +++ b/libgomp/testsuite/libgomp.oacc-for

Re: [gomp4] OpenACC reduction tests

2015-09-18 Thread Thomas Schwinge
Hi Cesar! On Fri, 17 Jul 2015 11:13:59 -0700, Cesar Philippidis wrote: > This patch updates the libgomp OpenACC reduction test cases to check > worker, vector and combined gang worker vector reductions. I tried to > use some macros to simplify the c test cases a bit. I probably could > have made

Re: [gomp4] OpenACC reduction tests

2015-09-18 Thread Thomas Schwinge
Hi Cesar! Great progress with your OpenACC reductions work! On Fri, 17 Jul 2015 11:13:59 -0700, Cesar Philippidis wrote: > This patch updates the libgomp OpenACC reduction test cases [...] > --- a/libgomp/testsuite/libgomp.oacc-fortran/reduction-5.f90 > +++ b/libgomp/testsuite/libgomp.oacc-for

[gomp4] Some additional OpenACC reduction tests

2015-07-29 Thread Julian Brown
ests. * testsuite/libgomp.oacc-c-c++-common/par-loop-comb-reduction-*.c: New tests.commit d6cb22b11bbe6f536bd0f6d5ce8349266040 Author: Julian Brown Date: Wed Jul 29 10:04:36 2015 -0700 Some new OpenACC reduction tests. diff --git a/libgomp/testsuite/libgomp.oacc-c-c++-common/loop-reduction-

[gomp4] OpenACC reduction tests

2015-07-17 Thread Cesar Philippidis
This patch updates the libgomp OpenACC reduction test cases to check worker, vector and combined gang worker vector reductions. I tried to use some macros to simplify the c test cases a bit. I probably could have made them more generic with an additional header file/macro, but then that makes it to