OpenCL does not allow elements of a struct to be in different address spaces. 
The attached patch checks for this and throws an error. It includes a test case.

Please review.

-Tanya

Attachment: diffAddrSpace.patch
Description: Binary data

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

Reply via email to