[cfe-dev] OpenCL parsing / type support
brdavs
brdavs at yahoo.com
Tue Mar 9 23:42:41 PST 2010
> AFAIK, common opencl implementations have various hacks on
> top of mainline clang, so I doubt clang mainline will be a
> compliant implementation out of the box.
That's how it appears. For parsing only, what's missing is:
1. address space qualifiers (eg., __global float*, __constant int,
__local char*)
2. function qualifiers (eg, __kernel void foo(...) ),
some builtin types (float4, float8, float16, image2d_t, etc.)
3. image access qualifiers (eg, __read_only, __write_only,
__read_write).
It also seems that clang-cc had some OpenCL support (at least it was listed in the command line parser as an acceptable language), but don't know what was supported.
Marko
More information about the cfe-dev
mailing list