[cfe-dev] [OpenCL patch] kernel attributes implementation

Benyei, Guy guy.benyei at intel.com
Sun Jan 1 12:05:55 PST 2012


Any other opinions - reviews?



From: cfe-dev-bounces at cs.uiuc.edu [mailto:cfe-dev-bounces at cs.uiuc.edu] On Behalf Of Benyei, Guy
Sent: Tuesday, December 20, 2011 11:19
To: cfe-dev at cs.uiuc.edu
Subject: [cfe-dev] [OpenCL patch] kernel attributes implementation

Hi all,
Attached my implementation for work_group_size_hint and vec_type_hint to complete the support for OpenCL kernel attributes (OpenCL spec 1.1, 6.7.2).

The vec_type_hint attribute is somewhat different from the other attributes, since it has a type parameter. To support this, I've created a dummy expression type, which is basically a container for a type. I'll be happy to hear your opinion about this solution, and see if you have alternative solutions.

I've implemented the handling of these new attributes in the TCE target info, since reqd_work_group_size attribute is already implemented there. I also use this target for testing.



Intel Israel (74) Limited

This e-mail and any attachments may contain confidential material for
the sole use of the intended recipient(s). Any review or distribution
by others is strictly prohibited. If you are not the intended
recipient, please contact the sender and delete all copies.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20120101/d4cb760d/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.png
Type: image/png
Size: 24800 bytes
Desc: image001.png
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20120101/d4cb760d/attachment.png>

More information about the cfe-dev mailing list