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/[email protected]/msg109232.html Thanks, Anastasia _______________________________________________ cfe-commits mailing list [email protected] http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits
-- Pekka _______________________________________________ cfe-commits mailing list [email protected] http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits
