[OpenCL] change default address space of pointers in CL2.0 mode
Pekka Jääskeläinen
pekka.jaaskelainen at tut.fi
Wed Nov 12 01:34:18 PST 2014
Hi,
What about kernel functions? They should not allow the generic
address space. Is the check for this going to be in another patch?
If not, could this have a test for the kernel function special case as well?
Now it tests only helper/device functions.
Should it also test the default AS of function local pointer variables?
Now only function argument pointers are tested.
On 11/11/2014 08:27 PM, Anastasia Stulova wrote:
> 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
>
>
>
> _______________________________________________
> cfe-commits mailing list
> cfe-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits
>
--
Pekka
More information about the cfe-commits
mailing list