[OpenCL] __generic address space for CL2.0
anastasia.stulova at arm.com
Fri Nov 21 04:44:08 PST 2014
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.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 17332 bytes
Desc: not available
More information about the cfe-commits