cl::Kernel Class Reference

Kernel interface that implements cl_kernel. More...

#include <cl.hpp>

Inheritance diagram for cl::Kernel:
Inheritance graph
[legend]
Collaboration diagram for cl::Kernel:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 Kernel (const Program &program, const char *name, cl_int *err=NULL)
 Kernel ()
 Kernel (const Kernel &kernel)
Kerneloperator= (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

KernelFunctor cl::Kernel::bind ( const CommandQueue queue,
const NDRange global,
const NDRange local 
) [inline]
KernelFunctor cl::Kernel::bind ( const CommandQueue queue,
const NDRange offset,
const NDRange global,
const NDRange local 
) [inline]
template<cl_int name>
detail::param_traits<detail::cl_kernel_info, name>::param_type cl::Kernel::getInfo ( cl_int *  err = NULL  )  const [inline]

Here is the call graph for this function:

template<typename T >
cl_int cl::Kernel::getInfo ( cl_kernel_info  name,
T param 
) const [inline]

Here is the call graph for this function:

Here is the caller graph for this function:

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]

Here is the call graph for this function:

template<typename T >
cl_int cl::Kernel::getWorkGroupInfo ( const Device device,
cl_kernel_work_group_info  name,
T param 
) const [inline]

Here is the call graph for this function:

Here is the caller graph for this function:

Kernel& cl::Kernel::operator= ( const Kernel rhs  )  [inline]

Reimplemented from cl::detail::Wrapper< cl_kernel >.

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]

Here is the caller graph for this function:


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated on 3 Jun 2020 for ModFEM by  doxygen 1.6.1