On Thu, Feb 21, 2013 at 10:47 AM, Joey Gouly <[email protected]> wrote:
> > I believe this is wrong for OpenCL: > `6.3.o. Elements of a struct or union must belong to the same address > space. Declaring a struct or union whose elements are in different address > spaces is illegal` > 6.5 says that the address space qualifiers in OpenCL can only be applied to variables, and struct and union fields aren't variables, so I think this is correct there too. Patch LGTM. Although, I'm not sure if anyone actually uses this.. > > http://llvm-reviews.chandlerc.com/D444 >
_______________________________________________ cfe-commits mailing list [email protected] http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits
