[OpenCL] change default address space of pointers in CL2.0 mode

Anastasia Stulova anastasia.stulova at arm.com
Tue Nov 11 10:27:49 PST 2014


Hello,

 

This patch mainly implement the following requirement from OpenCLv2.0 C spec
s6.5:

 

"Pointers that are declared without pointing to a named address space point
to the generic address space."

 

Note,  that a named address space is any of those that existed in the
previous standards, i. e. __global, __local,  __private, or __constant.

This patch depends on the change submitted previously:

https://www.mail-archive.com/cfe-commits@cs.uiuc.edu/msg109232.html

 

Thanks,

Anastasia
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20141111/59a68efb/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: cl20_default_pointer_as.patch
Type: application/octet-stream
Size: 3327 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20141111/59a68efb/attachment.obj>


More information about the cfe-commits mailing list