On 11/29/2013 06:12 PM, Jakub Jelinek wrote:
> 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).

Ok, IIUC the model is that we just compile all target code for all
targets (or a subset of them). Is that correct? In that case I can see
how the code that's on the branch now is sufficient; I'd assumed
something more fine-grained would be desirable.
It would be helpful to see the other pieces of this work if they already
exist.


Bernd

Reply via email to