From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 10070 invoked by alias); 4 Nov 2015 09:59:13 -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 10050 invoked by uid 89); 4 Nov 2015 09:59:12 -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 09:59:11 +0000 Received: from int-mx09.intmail.prod.int.phx2.redhat.com (int-mx09.intmail.prod.int.phx2.redhat.com [10.5.11.22]) by mx1.redhat.com (Postfix) with ESMTPS id 937A0C0D61B0; Wed, 4 Nov 2015 09:59:10 +0000 (UTC) Received: from tucnak.zalov.cz (ovpn-116-136.ams2.redhat.com [10.36.116.136]) by int-mx09.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id tA49x8vk018673 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Wed, 4 Nov 2015 04:59:10 -0500 Received: from tucnak.zalov.cz (localhost [127.0.0.1]) by tucnak.zalov.cz (8.15.2/8.15.2) with ESMTP id tA49x78Y027235; Wed, 4 Nov 2015 10:59:07 +0100 Received: (from jakub@localhost) by tucnak.zalov.cz (8.15.2/8.15.2/Submit) id tA49x4JC027234; Wed, 4 Nov 2015 10:59:04 +0100 Date: Wed, 04 Nov 2015 09:59:00 -0000 From: Jakub Jelinek To: Nathan Sidwell Cc: GCC Patches , Cesar Philippidis Subject: Re: [1/3] OpenACC reductions Message-ID: <20151104095904.GY478@tucnak.redhat.com> Reply-To: Jakub Jelinek References: <56378AE9.2020905@acm.org> <56378CDD.3060804@acm.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <56378CDD.3060804@acm.org> User-Agent: Mutt/1.5.23 (2014-03-12) X-IsSubscribed: yes X-SW-Source: 2015-11/txt/msg00310.txt.bz2 On Mon, Nov 02, 2015 at 11:18:37AM -0500, Nathan Sidwell wrote: > 2015-11-02 Nathan Sidwell > Cesar Philippidis > > * internal-fn.def (GOACC_REDUCTION): New. > * internal-fn.h (enum ifn_goacc_reduction_kind): New. > * internal-fn.c (expand_GOACC_REDUCTION): New. > * target.def (goacc.reduction): New OpenACC hook. > * targhooks.h (default_goacc_reduction): Declare. > * doc/tm.texi.in: Add TARGET_GOACC_REDUCTION. > * doc/tm.texi: Rebuilt. > * omp-low.c (oacc_get_reduction_array_id, oacc_max_threads, > scan_sharing_clauses): Remove oacc reduction handling here. > (lower_rec_input_clauses): Don't handle OpenACC reductions here. > (oacc_lower_reduction_var_helper): Delete. > (lower_oacc_reductions): New. > (lower_reduction_clauses): Don't handle OpenACC reductions here. > (lower_oacc_head_tail): Call lower_oacc_reductions. > (oacc_gimple_assign, oacc_init_reduction_array, > oacc_initialize_reduction_data, oacc_finalize_reduction_data, > oacc_process_reduction_data): Delete. > (lower_omp_target): Remove old OpenACC reduction handling. Insert > dummy OpenACC gang reduction for reductions at outer level. > (oacc_loop_xform_head_tail): Transform IFN_GOACC_REDUCTION. > (default_goacc_reduction): New. > (execute_oacc_device_lower): Handle IFN_GOACC_REDUCTION. Ok. Jakub