This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Ping Re: [gomp4] Dumping gimple for offload.
- From: Jakub Jelinek <jakub at redhat dot com>
- To: Bernd Schmidt <bernds at codesourcery dot com>
- Cc: Richard Biener <richard dot guenther at gmail dot com>, Ilya Tocar <tocarip dot intel at gmail dot com>, "Michael V. Zolotukhin" <michael dot v dot zolotukhin at gmail dot com>, Kirill Yukhin <kirill dot yukhin at gmail dot com>, gcc <gcc-patches at gcc dot gnu dot org>, Richard Henderson <rth at redhat dot com>, Jan Hubicka <hubicka at ucw dot cz>, Nathan Sidwell <nathan at codesourcery dot com>, Thomas Schwinge <thomas at codesourcery dot com>
- Date: Fri, 29 Nov 2013 18:12:25 +0100
- Subject: Re: Ping Re: [gomp4] Dumping gimple for offload.
- Authentication-results: sourceware.org; auth=none
- References: <20131114095226 dot GA128413 at msticlxl7 dot ims dot intel dot com> <CAFiYyc2oHNvv-MBy18OHgVU5g12StNU4LmZK+QeGpsoPj0w2mg at mail dot gmail dot com> <20131119095829 dot GA19301 at msticlxl7 dot ims dot intel dot com> <CAFiYyc3Xph6n+8XaL+NS+GmGLjhXcPVbHXn429-2eyG=+Z78+Q at mail dot gmail dot com> <20131120093615 dot GF892 at tucnak dot redhat dot com> <529885F4 dot 2040305 at codesourcery dot com> <20131129151623 dot GB892 at tucnak dot redhat dot com> <5298C775 dot 4050900 at codesourcery dot com> <20131129170313 dot GC892 at tucnak dot redhat dot com> <5298C9DA dot 6060306 at codesourcery dot com>
- Reply-to: Jakub Jelinek <jakub at redhat dot com>
On Fri, Nov 29, 2013 at 06:07:38PM +0100, Bernd Schmidt wrote:
> By what mechanism do you choose? This is unclear to me from what I've
> seen. Does this involve user action, and what's the advantage of doing
> it this way?
See the 3 threads I've mentioned. The compiler would know the list of
available offloading targets (after all, it needs to build libgomp plugins
for those targets), and that would be the default, and user could override
that through link time command line options (say, ok, while gcc has been
configured to support all of hsail-none, ptx-none and x86_64-k10m-linux
offloading targets, I only want to support here one of those, and
please use these additional options for compilation of that target).
Jakub