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