<div dir="ltr">Hi all,<br><div class="gmail_quote"><div dir="ltr"><div><br></div><div>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.</div>
<div><br></div><div>Please review this patch.</div><div><br></div><div>Thanks,</div><div>JinGu Kang</div><div><br></div></div></div></div>