From patchwork Fri Feb 13 16:23:30 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Thomas Schwinge X-Patchwork-Id: 439554 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from sourceware.org (server1.sourceware.org [209.132.180.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 69B521402F8 for ; Sat, 14 Feb 2015 03:42:49 +1100 (AEDT) DomainKey-Signature: a=rsa-sha1; c=nofws; d=gcc.gnu.org; h=list-id :list-unsubscribe:list-archive:list-post:list-help:sender:from :to:cc:subject:in-reply-to:references:date:message-id :mime-version:content-type; q=dns; s=default; b=hj4O7xol8FGebuFH qQUt4TxBQceCcq8Xpei0dTjP5xU80NCoHep4xzXi3ZmcA2FaiqWU+QFzoy0uN2gW WMuOMelroHQIxF4gj0sM9CCA+IV/8eAKA+zz06a/ocKgKZ86oqWyGphSiYyjvsn7 IUm8mFBMpAga4F8XTsGyywdE8xg= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=gcc.gnu.org; h=list-id :list-unsubscribe:list-archive:list-post:list-help:sender:from :to:cc:subject:in-reply-to:references:date:message-id :mime-version:content-type; s=default; bh=kNXtWZMaY9OfJNI9u09bWr 0uVm8=; b=oqYUy/Lc8+eDl55leqCNhCwcE2tMJ9wOCPdR6L7/K+JsBpqDe6Cd0x MwPVXL2SVhO/cW66lEOyH6YAok6/906Mi9/MtmNSk4LQ8LHYmTe3ALce8Ic3vMLg Lmjcd0ytQp6aDAAe9wTZU039NNCQ7+10Ja+edBLbEAwxtq43d1kwg= Received: (qmail 6227 invoked by alias); 13 Feb 2015 16:23:42 -0000 Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org Delivered-To: mailing list gcc-patches@gcc.gnu.org Received: (qmail 6098 invoked by uid 89); 13 Feb 2015 16:23:40 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.3 required=5.0 tests=AWL, BAYES_00, RCVD_IN_DNSWL_LOW, SPF_PASS autolearn=ham version=3.3.2 X-HELO: relay1.mentorg.com Received: from relay1.mentorg.com (HELO relay1.mentorg.com) (192.94.38.131) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Fri, 13 Feb 2015 16:23:40 +0000 Received: from nat-ies.mentorg.com ([192.94.31.2] helo=SVR-IES-FEM-02.mgc.mentorg.com) by relay1.mentorg.com with esmtp id 1YMJ1j-0002nn-Sp from Thomas_Schwinge@mentor.com ; Fri, 13 Feb 2015 08:23:36 -0800 Received: from feldtkeller.schwinge.homeip.net (137.202.0.76) by SVR-IES-FEM-02.mgc.mentorg.com (137.202.0.106) with Microsoft SMTP Server id 14.3.224.2; Fri, 13 Feb 2015 16:23:34 +0000 From: Thomas Schwinge To: CC: Jakub Jelinek Subject: Re: OpenACC middle end changes In-Reply-To: <87h9wtrtbv.fsf@schwinge.name> References: <87fvdnnijk.fsf@schwinge.name> <20141113180949.GX5026@tucnak.redhat.com> <87r3vxrzca.fsf@schwinge.name> <20141218113853.GE1667@tucnak.redhat.com> <20141218120222.GF1667@tucnak.redhat.com> <20141218121538.GH1667@tucnak.redhat.com> <87mw6lrvrf.fsf@schwinge.name> <20141218123145.GI1667@tucnak.redhat.com> <20141218123616.GJ1667@tucnak.redhat.com> <87h9wtrtbv.fsf@schwinge.name> User-Agent: Notmuch/0.9-101-g81dad07 (http://notmuchmail.org) Emacs/24.4.1 (i586-pc-linux-gnu) Date: Fri, 13 Feb 2015 17:23:30 +0100 Message-ID: <87pp9dixvh.fsf@kepler.schwinge.homeip.net> MIME-Version: 1.0 Hi! On Thu, 18 Dec 2014 14:16:52 +0100, I wrote: > --- /dev/null > +++ gcc/config/i386/intelmic-offload.h > +#define ACCEL_COMPILER_acc_device GOMP_DEVICE_INTEL_MIC This one I got right... > --- /dev/null > +++ gcc/config/nvptx/offload.h > @@ -0,0 +1,35 @@ > +#define ACCEL_COMPILER_acc_device GOMP_TARGET_NVIDIA_PTX ..., but not this one. Committed to trunk in r220686: commit 8fbeb4361af9e77c57d3b15c7be11759a4f608c0 Author: tschwinge Date: Fri Feb 13 16:20:01 2015 +0000 GOMP_TARGET_* have been renamed to GOMP_DEVICE_* some time ago. gcc/ * config/nvptx/offload.h (ACCEL_COMPILER_acc_device): Define to GOMP_DEVICE_NVIDIA_PTX. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@220686 138bc75d-0d04-0410-961f-82ee72b054a4 --- gcc/ChangeLog | 5 +++++ gcc/config/nvptx/offload.h | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) Grüße, Thomas diff --git gcc/ChangeLog gcc/ChangeLog index e06f69a..d9c58b9 100644 --- gcc/ChangeLog +++ gcc/ChangeLog @@ -1,3 +1,8 @@ +2015-02-13 Thomas Schwinge + + * config/nvptx/offload.h (ACCEL_COMPILER_acc_device): Define to + GOMP_DEVICE_NVIDIA_PTX. + 2015-02-13 Jakub Jelinek PR ipa/65034 diff --git gcc/config/nvptx/offload.h gcc/config/nvptx/offload.h index 02c5e8b..9a749a2 100644 --- gcc/config/nvptx/offload.h +++ gcc/config/nvptx/offload.h @@ -30,6 +30,6 @@ #include "gomp-constants.h" -#define ACCEL_COMPILER_acc_device GOMP_TARGET_NVIDIA_PTX +#define ACCEL_COMPILER_acc_device GOMP_DEVICE_NVIDIA_PTX #endif