! \brief Blocks the calling thread until this event completes. * * Wraps clWaitForEvents(). */
| 3518 | * Wraps clWaitForEvents(). |
| 3519 | */ |
| 3520 | cl_int wait() const |
| 3521 | { |
| 3522 | return detail::errHandler( |
| 3523 | ::clWaitForEvents(1, &object_), |
| 3524 | __WAIT_FOR_EVENTS_ERR); |
| 3525 | } |
| 3526 | |
| 3527 | #if CL_HPP_TARGET_OPENCL_VERSION >= 110 |
| 3528 | /*! \brief Registers a user callback function for a specific command execution status. |
no test coverage detected