OpenCL C "long" should always have 64 bits

Pekka Jääskeläinen pekka.jaaskelainen at tut.fi
Tue Sep 3 10:02:11 PDT 2013


Hi Erik,

On 09/03/2013 07:45 PM, Erik Schnetter wrote:
> Is there a different way to ensure that address spaces are used for
> name mangling? In particular, using address space 0 for several of
> these does not work in mangled names.

This is being discussed in depth in another thread in this list.

In pocl we now use the fake address space facility of clang to force
known logical ids to be generated from the frontend to avoid
problems like this and to make it simpler in the general
kernel compiler passes.

http://pocl.sourceforge.net/docs/html/memory_management.html
-- 
--Pekka



More information about the cfe-commits mailing list