|
| | Kernel (const Program &program, const char *name, cl_int *err=NULL) |
| | Kernel () |
| | Default constructor - initializes to NULL.
|
| __CL_EXPLICIT_CONSTRUCTORS | Kernel (const cl_kernel &kernel) |
| | Constructor from cl_kernel - takes ownership.
|
| Kernel & | operator= (const cl_kernel &rhs) |
| | Assignment operator from cl_kernel - takes ownership.
|
| | Kernel (const Kernel &kernel) |
| | Copy constructor to forward copy to the superclass correctly. Required for MSVC.
|
| Kernel & | operator= (const Kernel &kernel) |
| | Copy assignment to forward copy to the superclass correctly. Required for MSVC.
|
| template<typename T> |
| cl_int | getInfo (cl_kernel_info name, T *param) const |
| template<cl_int name> |
| detail::param_traits< detail::cl_kernel_info, name >::param_type | getInfo (cl_int *err=NULL) const |
| template<typename T> |
| cl_int | getWorkGroupInfo (const Device &device, cl_kernel_work_group_info name, T *param) const |
| template<cl_int name> |
| detail::param_traits< detail::cl_kernel_work_group_info, name >::param_type | getWorkGroupInfo (const Device &device, cl_int *err=NULL) const |
| template<typename T> |
| cl_int | setArg (cl_uint index, const T &value) |
| cl_int | setArg (cl_uint index, ::size_t size, const void *argPtr) |
| | Kernel (const Program &program, const char *name, cl_int *err=NULL) |
| | Kernel () |
| | Default constructor - initializes to NULL.
|
| __CL_EXPLICIT_CONSTRUCTORS | Kernel (const cl_kernel &kernel) |
| | Constructor from cl_kernel - takes ownership.
|
| Kernel & | operator= (const cl_kernel &rhs) |
| | Assignment operator from cl_kernel - takes ownership.
|
| | Kernel (const Kernel &kernel) |
| | Copy constructor to forward copy to the superclass correctly. Required for MSVC.
|
| Kernel & | operator= (const Kernel &kernel) |
| | Copy assignment to forward copy to the superclass correctly. Required for MSVC.
|
| template<typename T> |
| cl_int | getInfo (cl_kernel_info name, T *param) const |
| template<cl_int name> |
| detail::param_traits< detail::cl_kernel_info, name >::param_type | getInfo (cl_int *err=NULL) const |
| template<typename T> |
| cl_int | getWorkGroupInfo (const Device &device, cl_kernel_work_group_info name, T *param) const |
| template<cl_int name> |
| detail::param_traits< detail::cl_kernel_work_group_info, name >::param_type | getWorkGroupInfo (const Device &device, cl_int *err=NULL) const |
| template<typename T> |
| cl_int | setArg (cl_uint index, const T &value) |
| cl_int | setArg (cl_uint index, ::size_t size, const void *argPtr) |
| | Wrapper () |
| | ~Wrapper () |
| Wrapper< cl_type > & | operator= (const Wrapper< cl_type > &rhs) |
| cl_type | operator() () const |
Class interface for cl_kernel.
- Note
- Copies of these objects are shallow, meaning that the copy will refer to the same underlying cl_kernel as the original. For details, see clRetainKernel() and clReleaseKernel().
- See also
- cl_kernel
Definition at line 4721 of file cl.hpp.