[cfe-commits] [PATCH] Error checking for OpenCL kernel return type and pointer args.

Tanya Lattner lattner at apple.com
Wed Aug 22 13:14:58 PDT 2012


Ping.

On Aug 15, 2012, at 6:11 PM, Tanya Lattner wrote:

> The attached patch add the following checks and errors:
> 1) Checks that an OpenCL kernel returns void, otherwise throws error.
> 2) Check that kernel arguments that are pointers are in the constant, global, or local address space, otherwise throws an error.
> 
> I have included a test case.
> 
> Please review.
> 
> -Tanya
> <kernel-errors.patch>




More information about the cfe-commits mailing list