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

Attachment: kernel-errors.patch
Description: Binary data

_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits

Reply via email to