|
| 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 |
| |
| | Kernel (const Program &program, const char *name, cl_int *err=NULL) |
| |
| | Kernel () |
| | Default constructor - initializes to NULL. More...
|
| |
| __CL_EXPLICIT_CONSTRUCTORS | Kernel (const cl_kernel &kernel) |
| | Constructor from cl_kernel - takes ownership. More...
|
| |
| | Kernel (const Kernel &kernel) |
| | Copy constructor to forward copy to the superclass correctly. Required for MSVC. More...
|
| |
| Kernel & | operator= (const cl_kernel &rhs) |
| | Assignment operator from cl_kernel - takes ownership. More...
|
| |
| Kernel & | operator= (const Kernel &kernel) |
| | Copy assignment to forward copy to the superclass correctly. Required for MSVC. More...
|
| |
| template<typename T > |
| cl_int | setArg (cl_uint index, const T &value) |
| |
| cl_int | setArg (cl_uint index,::size_t size, const void *argPtr) |
| |
| cl_type | operator() () const |
| |
| cl_type & | operator() () |
| |
| Wrapper< cl_type > & | operator= (const Wrapper< cl_type > &rhs) |
| |
| Wrapper< cl_type > & | operator= (const cl_type &rhs) |
| |
| | Wrapper () |
| |
| | Wrapper (const cl_type &obj) |
| |
| | Wrapper (const Wrapper< cl_type > &rhs) |
| |
| | ~Wrapper () |
| |
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 4844 of file cl.hpp.