! \brief Blocks the calling thread until every event specified is complete. * * Wraps clWaitForEvents(). */
| 2945 | * Wraps clWaitForEvents(). |
| 2946 | */ |
| 2947 | static cl_int |
| 2948 | waitForEvents(const VECTOR_CLASS<Event>& events) |
| 2949 | { |
| 2950 | return detail::errHandler( |
| 2951 | ::clWaitForEvents( |
| 2952 | (cl_uint) events.size(), (events.size() > 0) ? (cl_event*)&events.front() : NULL), |
| 2953 | __WAIT_FOR_EVENTS_ERR); |
| 2954 | } |
| 2955 | }; |
| 2956 | |
| 2957 | #if defined(CL_VERSION_1_1) |
nothing calls this directly
no test coverage detected