On 09/29/2014 12:54 PM, Fraser Cormack wrote:
The fact that you can use 0 as an event_t is in Section 6.12.10 of the OpenCL 1.2 specification. The use of an explicit cast is used in the async_copy* kernels in the 'basic' subtest of the conformance test suite
I wonder if implicit cast should work as well? At least the specs doesn't mention the zero must be explicitly casted. In any case, the patch looks good to me. -- Pekka _______________________________________________ cfe-commits mailing list [email protected] http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits
