From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 26087 invoked by alias); 4 Nov 2015 10:03:16 -0000 Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org Received: (qmail 26076 invoked by uid 89); 4 Nov 2015 10:03:15 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-0.5 required=5.0 tests=AWL,BAYES_50,SPF_HELO_PASS,T_RP_MATCHES_RCVD autolearn=ham version=3.3.2 X-HELO: mx1.redhat.com Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES256-GCM-SHA384 encrypted) ESMTPS; Wed, 04 Nov 2015 10:03:15 +0000 Received: from int-mx10.intmail.prod.int.phx2.redhat.com (int-mx10.intmail.prod.int.phx2.redhat.com [10.5.11.23]) by mx1.redhat.com (Postfix) with ESMTPS id 141D34D; Wed, 4 Nov 2015 10:03:14 +0000 (UTC) Received: from tucnak.zalov.cz (ovpn-116-136.ams2.redhat.com [10.36.116.136]) by int-mx10.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id tA4A3Ce8019920 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Wed, 4 Nov 2015 05:03:13 -0500 Received: from tucnak.zalov.cz (localhost [127.0.0.1]) by tucnak.zalov.cz (8.15.2/8.15.2) with ESMTP id tA4A3BN3027269; Wed, 4 Nov 2015 11:03:11 +0100 Received: (from jakub@localhost) by tucnak.zalov.cz (8.15.2/8.15.2/Submit) id tA4A3AfZ027268; Wed, 4 Nov 2015 11:03:10 +0100 Date: Wed, 04 Nov 2015 10:03:00 -0000 From: Jakub Jelinek To: Nathan Sidwell Cc: GCC Patches , Cesar Philippidis Subject: Re: [3/3] OpenACC reductions Message-ID: <20151104100310.GA478@tucnak.redhat.com> Reply-To: Jakub Jelinek References: <56378AE9.2020905@acm.org> <56379197.8020309@acm.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <56379197.8020309@acm.org> User-Agent: Mutt/1.5.23 (2014-03-12) X-IsSubscribed: yes X-SW-Source: 2015-11/txt/msg00313.txt.bz2 On Mon, Nov 02, 2015 at 11:38:47AM -0500, Nathan Sidwell 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 and reworked it to > avoid needing a reduction on a reference variable. Reference handling will > be a later patch. > > nathan > 2015-11-02 Nathan Sidwell > > libgomp/ > * libgomp.oacc-c-c++-common/loop-red-g-1.c: New. > * libgomp.oacc-c-c++-common/loop-red-gwv-1.c: New. > * libgomp.oacc-c-c++-common/loop-red-v-1.c: New. > * libgomp.oacc-c-c++-common/loop-red-v-2.c: New. > * libgomp.oacc-c-c++-common/loop-red-w-1.c: New. > * libgomp.oacc-c-c++-common/loop-red-w-2.c: New. > * libgomp.oacc-c-c++-common/loop-red-wv-1.c: New. > * libgomp.oacc-fortran/reduction-5.f90: Avoid reference var. > > gcc/testsuite/ > * gfortran.dg/goacc/reduction-2.f95: Delete. Ok. Jakub