[PATCH] D21847: [Driver][OpenMP] Build jobs for OpenMP offloading actions for targets using gcc tool chains.
Samuel Antao via cfe-commits
cfe-commits at lists.llvm.org
Wed Jun 29 10:53:12 PDT 2016
sfantao created this revision.
sfantao added reviewers: echristo, tra, jlebar, hfinkel, ABataev, rsmith.
sfantao added subscribers: caomhin, carlo.bertolli, arpith-jacob, andreybokhanko, Hahnfeld, cfe-commits.
Herald added a subscriber: mehdi_amini.
This patch adds logic to create jobs for OpenMP offloading actions by:
- tuning the jobs result information to use the offloading prefix even for (device) linking actions.
- replacing the device inputs of the host linking jobs by a linker script that embed them in the right sections.
With this patch, it is possible to produce a fully functional binary using OpenMP offloading capabilities with no separate compilation.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 24015 bytes
Desc: not available
More information about the cfe-commits