[PATCH] D25343: [OpenCL] Add noduplicate to group functions opencl-c.h

Yaxun Liu via cfe-commits cfe-commits at lists.llvm.org
Thu Oct 6 13:00:42 PDT 2016


yaxunl created this revision.
yaxunl added reviewers: Anastasia, bader.
yaxunl added subscribers: cfe-commits, b-sumner.

Certain OpenCL builtin functions are supposed to be executed by all threads in a work group or sub group. Such functions should not be duplicated during transformation. It makes sense to mark them with noduplicate attribute.


https://reviews.llvm.org/D25343

Files:
  lib/Headers/opencl-c.h

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D25343.73839.patch
Type: text/x-patch
Size: 20388 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20161006/364ca471/attachment-0001.bin>


More information about the cfe-commits mailing list