On Tue, Nov 04, 2014 at 05:15:52PM +0100, FX wrote: > > The point is, if the target can implement just a subset of the Fortran (or > > C or C++) standards, then ideally if you use anything that is not supported > > would just cause always host fallback, the code will still work, but will > > not be offloaded. So even supporting a subset of the standard is > > worthwhile, usually one will just offload the most performance critical > > parts of his code. > > Do we have the architecture for that in place in GCC in general, and in > the Fortran front-end in particular? I’d be interested to see how it > works…
See https://gcc.gnu.org/wiki/Offloading and kyukhin/gomp4-offload and branches/gomp-4_0-branch branches. Both are in the process of being merged into trunk these days. Jakub