[cfe-dev] Explicit type cast of zero to OpenCL event_t type
jaykang10 at gmail.com
Fri May 3 02:00:23 PDT 2013
I have a question. Clang allows implicit type cast of zero to OpenCL
event_t type to support OpenCL async_work_group_copy() function. But
explicit type cast generates the error. Could someone explain about this
why clang prevent explicit type cast of zero to OpenCL event_t type? I
think OpenCL spec does not mention about implicit or explicit type cast to
event_t type. I have attached the simple patch to support explicit type
cast on the assumption that it is needed.
Please review this patch.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the cfe-dev