cl::Kernel Class Reference
Kernel interface that implements cl_kernel.
More...
#include <cl.hpp>
List of all members.
Public Member Functions |
| Kernel (const Program &program, const char *name, cl_int *err=NULL) |
| Kernel () |
| Kernel (const Kernel &kernel) |
Kernel & | operator= (const Kernel &rhs) |
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, T value) |
cl_int | setArg (cl_uint index,::size_t size, void *argPtr) |
KernelFunctor | bind (const CommandQueue &queue, const NDRange &offset, const NDRange &global, const NDRange &local) |
KernelFunctor | bind (const CommandQueue &queue, const NDRange &global, const NDRange &local) |
Detailed Description
Kernel interface that implements cl_kernel.
Constructor & Destructor Documentation
cl::Kernel::Kernel |
( |
const Program & |
program, |
|
|
const char * |
name, |
|
|
cl_int * |
err = NULL | |
|
) |
| | [inline] |
cl::Kernel::Kernel |
( |
|
) |
[inline] |
cl::Kernel::Kernel |
( |
const Kernel & |
kernel |
) |
[inline] |
Member Function Documentation
template<cl_int name>
detail::param_traits<detail::cl_kernel_info, name>::param_type cl::Kernel::getInfo |
( |
cl_int * |
err = NULL |
) |
const [inline] |
template<typename T >
cl_int cl::Kernel::getInfo |
( |
cl_kernel_info |
name, |
|
|
T * |
param | |
|
) |
| | const [inline] |
template<cl_int name>
detail::param_traits<detail::cl_kernel_work_group_info, name>::param_type cl::Kernel::getWorkGroupInfo |
( |
const Device & |
device, |
|
|
cl_int * |
err = NULL | |
|
) |
| | const [inline] |
template<typename T >
cl_int cl::Kernel::getWorkGroupInfo |
( |
const Device & |
device, |
|
|
cl_kernel_work_group_info |
name, |
|
|
T * |
param | |
|
) |
| | const [inline] |
Kernel& cl::Kernel::operator= |
( |
const Kernel & |
rhs |
) |
[inline] |
cl_int cl::Kernel::setArg |
( |
cl_uint |
index, |
|
|
::size_t |
size, |
|
|
void * |
argPtr | |
|
) |
| | [inline] |
template<typename T >
cl_int cl::Kernel::setArg |
( |
cl_uint |
index, |
|
|
T |
value | |
|
) |
| | [inline] |
The documentation for this class was generated from the following file:
- mod_fem_viewer/FemViewer/ocl/cl.hpp