Fabcoin Core  0.16.2
P2P Digital Currency
Public Member Functions | List of all members
cl::Kernel Class Reference

Kernel interface that implements cl_kernel. More...

#include <cl.hpp>

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

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)
 
 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)
 
- Public Member Functions inherited from cl::detail::Wrapper< cl_kernel >
 Wrapper ()
 
 Wrapper (const Wrapper< cl_type > &rhs)
 
 Wrapper ()
 
 Wrapper (const Wrapper< cl_type > &rhs)
 
 ~Wrapper ()
 
 ~Wrapper ()
 
Wrapper< cl_type > & operator= (const Wrapper< cl_type > &rhs)
 
Wrapper< cl_type > & operator= (const Wrapper< cl_type > &rhs)
 
cl_type operator() () const
 
cl_typeoperator() ()
 
cl_type operator() () const
 
cl_typeoperator() ()
 

Additional Inherited Members

- Public Types inherited from cl::detail::Wrapper< cl_kernel >
typedef cl_kernel cl_type
 
typedef cl_kernel cl_type
 
- Protected Member Functions inherited from cl::detail::Wrapper< cl_kernel >
cl_int retain () const
 
cl_int retain () const
 
cl_int release () const
 
cl_int release () const
 
- Protected Attributes inherited from cl::detail::Wrapper< cl_kernel >
cl_type object_
 

Detailed Description

Kernel interface that implements cl_kernel.

Definition at line 2296 of file cl.hpp.

Constructor & Destructor Documentation

cl::Kernel::Kernel ( const Program program,
const char *  name,
cl_int *  err = NULL 
)
inline

Definition at line 2550 of file cl.hpp.

Here is the call graph for this function:

cl::Kernel::Kernel ( )
inline

Definition at line 2301 of file cl.hpp.

Here is the caller graph for this function:

cl::Kernel::Kernel ( const Kernel kernel)
inline

Definition at line 2303 of file cl.hpp.

cl::Kernel::Kernel ( const Program program,
const char *  name,
cl_int *  err = NULL 
)
inline
cl::Kernel::Kernel ( )
inline

Definition at line 2301 of file cl.hpp.

cl::Kernel::Kernel ( const Kernel kernel)
inline

Definition at line 2303 of file cl.hpp.

Member Function Documentation

KernelFunctor cl::Kernel::bind ( const CommandQueue queue,
const NDRange offset,
const NDRange global,
const NDRange local 
)
inline

Definition at line 3380 of file cl.hpp.

Here is the caller graph for this function:

KernelFunctor cl::Kernel::bind ( const CommandQueue queue,
const NDRange offset,
const NDRange global,
const NDRange local 
)
KernelFunctor cl::Kernel::bind ( const CommandQueue queue,
const NDRange global,
const NDRange local 
)
inline

Definition at line 3389 of file cl.hpp.

KernelFunctor cl::Kernel::bind ( const CommandQueue queue,
const NDRange global,
const NDRange local 
)
template<typename T >
cl_int cl::Kernel::getInfo ( cl_kernel_info  name,
T param 
) const
inline

Definition at line 2314 of file cl.hpp.

Here is the call graph for this function:

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

Definition at line 2314 of file cl.hpp.

Here is the call graph for this function:

template<cl_int name>
detail::param_traits<detail::cl_kernel_info, name>::param_type cl::Kernel::getInfo ( cl_int *  err = NULL) const
inline

Definition at line 2323 of file cl.hpp.

Here is the call graph for this function:

template<cl_int name>
detail::param_traits<detail::cl_kernel_info, name>::param_type cl::Kernel::getInfo ( cl_int *  err = NULL) const
inline

Definition at line 2323 of file cl.hpp.

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

Definition at line 2335 of file cl.hpp.

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

Definition at line 2335 of file cl.hpp.

Here is the call 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

Definition at line 2346 of file cl.hpp.

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

Definition at line 2346 of file cl.hpp.

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

Definition at line 2305 of file cl.hpp.

Here is the call graph for this function:

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

Definition at line 2305 of file cl.hpp.

Here is the call graph for this function:

template<typename T >
cl_int cl::Kernel::setArg ( cl_uint  index,
T  value 
)
inline

Definition at line 2358 of file cl.hpp.

template<typename T >
cl_int cl::Kernel::setArg ( cl_uint  index,
T  value 
)
inline

Definition at line 2358 of file cl.hpp.

Here is the caller graph for this function:

cl_int cl::Kernel::setArg ( cl_uint  index,
::size_t  size,
void *  argPtr 
)
inline

Definition at line 2369 of file cl.hpp.

cl_int cl::Kernel::setArg ( cl_uint  index,
::size_t  size,
void *  argPtr 
)
inline

Definition at line 2369 of file cl.hpp.


The documentation for this class was generated from the following file: