[OpenCL] __generic address space for CL2.0

Anastasia Stulova anastasia.stulova at arm.com
Fri Nov 21 04:44:08 PST 2014


Hi Sameer,

Thanks for your comments. Attaching an updated patch here.

> Variables declared in the local address space can only occur at kernel function scope. Only pointers to local address space can be declared in other places. I am not sure if a pointer to local address space can be declared at program scope. It doesn't sound very useful, but can't confirm if the spec disallows it.

I think pointers to local address space don't make any sense in program scope, although spec doesn't really say it explicitly. I will see if this bit can be clarified with Khronos. Could we proceed with this patch nevertheless? I can commit an update later if changes in the spec happen. 

Regards,
Anastasia
-------------- next part --------------
A non-text attachment was scrubbed...
Name: generic_keyword_v5.patch
Type: application/octet-stream
Size: 17332 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20141121/743c551d/attachment.obj>


More information about the cfe-commits mailing list