[Patch] OpenCL kernel-arg-info

Benyei, Guy guy.benyei at intel.com
Sun Feb 17 06:49:14 PST 2013


Hi all,
Attached a patch implementing metadata for OpenCL's -kernel-arg-info flag. This flag enables the saving of some additional data about kernel arguments, including address space, image access qualifier, type name, type qualifiers and the arguments' names.

In order to generate image access qualifier data, I've slightly changed the implementation of the attribute OpenCLImageAccess, so it is propagated as attribute to the AST, however it seems to me, that the right solution would be to attach these access qualifiers to the image types themselves, like is this patch:

http://lists.cs.uiuc.edu/pipermail/cfe-commits/Week-of-Mon-20130211/074219.html

Anyhow, the attached patch can be easily modified to work with other representations of the image access qualifiers.

Please review.

Thanks
      Guy
[email_signature_guy_new2]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20130217/45aecf26/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-commits/attachments/20130217/45aecf26/attachment.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: opencl_arg_info.patch
Type: application/octet-stream
Size: 9385 bytes
Desc: opencl_arg_info.patch
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20130217/45aecf26/attachment.obj>
-------------- next part --------------
---------------------------------------------------------------------
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-commits/attachments/20130217/45aecf26/attachment-0001.html>


More information about the cfe-commits mailing list