[PATCH] D28125: [OpenMP] Update target codegen for NVPTX device.

Arpith Jacob via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Dec 27 10:38:11 PST 2016

arpith-jacob created this revision.
arpith-jacob added reviewers: ABataev, sfantao, carlo.bertolli, kkwli0, caomhin.
arpith-jacob added a subscriber: cfe-commits.
Herald added subscribers: aprantl, jholewinski.

This patch includes updates for codegen of the target region for the NVPTX
device.  It moves initializers from the compiler to the runtime and updates
the worker loop to assume parallel work is retrieved from the runtime.  A
subsequent patch will update the codegen to retrieve the parallel work using
calls to the runtime.  It includes the removal setting appropriate attributes
for the worker loop and disabling debug info in it.

This allows codegen for generic target directives and serial execution on
the device.



-------------- next part --------------
A non-text attachment was scrubbed...
Name: D28125.82548.patch
Type: text/x-patch
Size: 45546 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20161227/07b8a78a/attachment-0001.bin>

More information about the cfe-commits mailing list