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]
<<inline: image001.png>>
opencl_arg_info.patch
Description: opencl_arg_info.patch
--------------------------------------------------------------------- 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.
_______________________________________________ cfe-commits mailing list [email protected] http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits
