[PATCH] D21845: [Driver][OpenMP] Add specialized action builder for OpenMP offloading actions.
Samuel Antao via cfe-commits
cfe-commits at lists.llvm.org
Wed Jun 29 10:34:21 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 a new specialized action builder to create OpenMP offloading actions. The specialized builder is added to the action builder already containing the CUDA specialized builder.
OpenMP offloading dependences between host and device actions (expressed with OffloadActions) are different that what is used for CUDA:
- Device compile action depends on the host compile action - the device frontend extracts the information about the declarations that have to be emitted by looking into the metadata produced by the host frontend.
- The host link action depends on the device link actions - the device images are embedded in the host binary at link time.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 13151 bytes
Desc: not available
More information about the cfe-commits