|
| | Event () |
| | Default constructor - initializes to NULL.
|
| __CL_EXPLICIT_CONSTRUCTORS | Event (const cl_event &event) |
| | Constructor from cl_event - takes ownership.
|
| Event & | operator= (const cl_event &rhs) |
| | Assignment operator from cl_event - takes ownership.
|
| template<typename T> |
| cl_int | getInfo (cl_event_info name, T *param) const |
| | Wrapper for clGetEventInfo().
|
| template<cl_int name> |
| detail::param_traits< detail::cl_event_info, name >::param_type | getInfo (cl_int *err=NULL) const |
| | Wrapper for clGetEventInfo() that returns by value.
|
| template<typename T> |
| cl_int | getProfilingInfo (cl_profiling_info name, T *param) const |
| | Wrapper for clGetEventProfilingInfo().
|
| template<cl_int name> |
| detail::param_traits< detail::cl_profiling_info, name >::param_type | getProfilingInfo (cl_int *err=NULL) const |
| | Wrapper for clGetEventProfilingInfo() that returns by value.
|
| cl_int | wait () const |
| | Blocks the calling thread until this event completes.
|
| | Event () |
| | Default constructor - initializes to NULL.
|
| __CL_EXPLICIT_CONSTRUCTORS | Event (const cl_event &event) |
| | Constructor from cl_event - takes ownership.
|
| Event & | operator= (const cl_event &rhs) |
| | Assignment operator from cl_event - takes ownership.
|
| template<typename T> |
| cl_int | getInfo (cl_event_info name, T *param) const |
| | Wrapper for clGetEventInfo().
|
| template<cl_int name> |
| detail::param_traits< detail::cl_event_info, name >::param_type | getInfo (cl_int *err=NULL) const |
| | Wrapper for clGetEventInfo() that returns by value.
|
| template<typename T> |
| cl_int | getProfilingInfo (cl_profiling_info name, T *param) const |
| | Wrapper for clGetEventProfilingInfo().
|
| template<cl_int name> |
| detail::param_traits< detail::cl_profiling_info, name >::param_type | getProfilingInfo (cl_int *err=NULL) const |
| | Wrapper for clGetEventProfilingInfo() that returns by value.
|
| cl_int | wait () const |
| | Blocks the calling thread until this event completes.
|
| | Wrapper () |
| | ~Wrapper () |
| Wrapper< cl_type > & | operator= (const Wrapper< cl_type > &rhs) |
| cl_type | operator() () const |
Class interface for cl_event.
- Note
- Copies of these objects are shallow, meaning that the copy will refer to the same underlying cl_event as the original. For details, see clRetainEvent() and clReleaseEvent().
- See also
- cl_event
Definition at line 2714 of file cl.hpp.