From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 112780 invoked by alias); 11 Nov 2015 17:16:57 -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 112759 invoked by uid 89); 11 Nov 2015 17:16:56 -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; Wed, 11 Nov 2015 17:16:55 +0000 Received: from nat-ies.mentorg.com ([192.94.31.2] helo=SVR-IES-FEM-01.mgc.mentorg.com) by relay1.mentorg.com with esmtp id 1ZwZ0t-0006Xf-K2 from Thomas_Schwinge@mentor.com ; Wed, 11 Nov 2015 09:16:51 -0800 Received: from feldtkeller.schwinge.homeip.net (137.202.0.76) by SVR-IES-FEM-01.mgc.mentorg.com (137.202.0.104) with Microsoft SMTP Server id 14.3.224.2; Wed, 11 Nov 2015 17:16:50 +0000 From: Thomas Schwinge To: Nathan Sidwell CC: Bernd Schmidt , GCC Patches , Ilya Verbin Subject: Re: [ptx] partitioning optimization In-Reply-To: <564349B5.5050202@acm.org> References: <55DDB113.7050102@acm.org> <564270D6.6090303@acm.org> <56432F50.6000208@redhat.com> <564349B5.5050202@acm.org> User-Agent: Notmuch/0.9-125-g4686d11 (http://notmuchmail.org) Emacs/24.5.1 (i586-pc-linux-gnu) Date: Wed, 11 Nov 2015 17:16:00 -0000 Message-ID: <8737wcv4lg.fsf@kepler.schwinge.homeip.net> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha1; protocol="application/pgp-signature" X-SW-Source: 2015-11/txt/msg01402.txt.bz2 --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Content-length: 1670 Hi! On Wed, 11 Nov 2015 08:59:17 -0500, Nathan Sidwell wrote: > On 11/11/15 07:06, Bernd Schmidt wrote: > > On 11/10/2015 11:33 PM, Nathan Sidwell wrote: > >> I've been unable to introduce a testcase for this. (But you still committed an update to gcc/testsuite/ChangeLog.) You'll need to put such an offloading test into the libgomp testsuite -- offloading complation requires linking, and during that, the offloading compiler(s) will be invoked, which only the libgomp testsuite is set up to do, as discussed before. > >> The difficulty is we > >> want to check an rtl dump from the acceleration compiler, and there > >> doesn't appear to be existing machinery for that in the testsuite. > >> Perhaps something to be added later? > > > > What's the difficulty exactly? Getting a dump should be possible with > > -foffload=3D-fdump-whatever, does the testsuite have a problem finding = the right > > filename? Currently, this will create cc* files, for example ccdjj2z9.o.271r.final for -foffload=3D-fdump-rtl-final. (I don't know if you can come up with dg-* directives to scan these.) The reason is -- I think -- because of the lto-wrapper and/or mkoffloads not specifying a more suitable "base name" for the temporary input files to lto1. > That's not the problem. How to conditionally enable the test is the diff= iculty.=20 > I suspect porting something concerning accel_compiler from the libgomp= =20 > testsuite is needed? Use "{ target openacc_nvidia_accel_selected }", as implemented by libgomp/testsuite/lib/libgomp.exp:check_effective_target_openacc_nvidia_acc= el_selected (already present on trunk). Gr=C3=BC=C3=9Fe Thomas --=-=-= Content-Type: application/pgp-signature; name="signature.asc" Content-length: 472 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQEcBAEBAgAGBQJWQ3f7AAoJEK3/DN1sMFFtjBQIAK2JzgxzYUyX/3eeFZAoThQy FCx9Cwj/o26KSkUJa3an26ApVez/bDe5x/8lofNc92mS94OIfCGhusut912u0/bR lFq6henckCD6Ss3zEt6yHy/Hs10zlFb5cU49p/CWms3T7uwTBjqWSpL7Y/kn7ZrN wOlVq09nRz6mZaMIBCHefej4Q0DZT16u+sOkVpXfv5ph2Sz25JQ0ppYGyFaxciCg 8NqPHsO8joVXsce3BjT3pIqJeoiqZFA4E7y6/LzF4t2V1ZpbC8EFINgGO+N4zHa8 C/IWSv7ISe5QOH6+83F0dkmH0TpLa+aM/tHPFv/9plH0s/8IFkFJDFMdUbQ2xQU= =MClu -----END PGP SIGNATURE----- --=-=-=--