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

Program interface that implements cl_program. More...

#include <cl.hpp>

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

Public Types

typedef VECTOR_CLASS< std::pair< const void *,::size_t > > Binaries
 
typedef VECTOR_CLASS< std::pair< const char *,::size_t > > Sources
 
typedef VECTOR_CLASS< std::pair< const void *,::size_t > > Binaries
 
typedef VECTOR_CLASS< std::pair< const char *,::size_t > > Sources
 
- Public Types inherited from cl::detail::Wrapper< cl_program >
typedef cl_program cl_type
 
typedef cl_program cl_type
 

Public Member Functions

 Program (const Context &context, const Sources &sources, cl_int *err=NULL)
 
 Program (const Context &context, const VECTOR_CLASS< Device > &devices, const Binaries &binaries, VECTOR_CLASS< cl_int > *binaryStatus=NULL, cl_int *err=NULL)
 
 Program ()
 
 Program (const Program &program)
 
Programoperator= (const Program &rhs)
 
cl_int build (const VECTOR_CLASS< Device > &devices, const char *options=NULL, void(CL_CALLBACK *notifyFptr)(cl_program, void *)=NULL, void *data=NULL) const
 
template<typename T >
cl_int getInfo (cl_program_info name, T *param) const
 
template<cl_int name>
detail::param_traits< detail::cl_program_info, name >::param_type getInfo (cl_int *err=NULL) const
 
template<typename T >
cl_int getBuildInfo (const Device &device, cl_program_build_info name, T *param) const
 
template<cl_int name>
detail::param_traits< detail::cl_program_build_info, name >::param_type getBuildInfo (const Device &device, cl_int *err=NULL) const
 
cl_int createKernels (VECTOR_CLASS< Kernel > *kernels)
 
 Program (const Context &context, const Sources &sources, cl_int *err=NULL)
 
 Program (const Context &context, const VECTOR_CLASS< Device > &devices, const Binaries &binaries, VECTOR_CLASS< cl_int > *binaryStatus=NULL, cl_int *err=NULL)
 
 Program ()
 
 Program (const Program &program)
 
Programoperator= (const Program &rhs)
 
cl_int build (const VECTOR_CLASS< Device > &devices, const char *options=NULL, void(CL_CALLBACK *notifyFptr)(cl_program, void *)=NULL, void *data=NULL) const
 
template<typename T >
cl_int getInfo (cl_program_info name, T *param) const
 
template<cl_int name>
detail::param_traits< detail::cl_program_info, name >::param_type getInfo (cl_int *err=NULL) const
 
template<typename T >
cl_int getBuildInfo (const Device &device, cl_program_build_info name, T *param) const
 
template<cl_int name>
detail::param_traits< detail::cl_program_build_info, name >::param_type getBuildInfo (const Device &device, cl_int *err=NULL) const
 
cl_int createKernels (VECTOR_CLASS< Kernel > *kernels)
 
- Public Member Functions inherited from cl::detail::Wrapper< cl_program >
 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

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

Detailed Description

Program interface that implements cl_program.

Definition at line 2393 of file cl.hpp.

Member Typedef Documentation

typedef VECTOR_CLASS<std::pair<const void*, ::size_t> > cl::Program::Binaries

Definition at line 2396 of file cl.hpp.

typedef VECTOR_CLASS<std::pair<const void*, ::size_t> > cl::Program::Binaries

Definition at line 2396 of file cl.hpp.

typedef VECTOR_CLASS<std::pair<const char*, ::size_t> > cl::Program::Sources

Definition at line 2397 of file cl.hpp.

typedef VECTOR_CLASS<std::pair<const char*, ::size_t> > cl::Program::Sources

Definition at line 2397 of file cl.hpp.

Constructor & Destructor Documentation

cl::Program::Program ( const Context context,
const Sources sources,
cl_int *  err = NULL 
)
inline

Definition at line 2399 of file cl.hpp.

Here is the call graph for this function:

cl::Program::Program ( const Context context,
const VECTOR_CLASS< Device > &  devices,
const Binaries binaries,
VECTOR_CLASS< cl_int > *  binaryStatus = NULL,
cl_int *  err = NULL 
)
inline

Definition at line 2424 of file cl.hpp.

Here is the call graph for this function:

cl::Program::Program ( )
inline

Definition at line 2454 of file cl.hpp.

cl::Program::Program ( const Program program)
inline

Definition at line 2456 of file cl.hpp.

cl::Program::Program ( const Context context,
const Sources sources,
cl_int *  err = NULL 
)
inline

Definition at line 2399 of file cl.hpp.

Here is the call graph for this function:

cl::Program::Program ( const Context context,
const VECTOR_CLASS< Device > &  devices,
const Binaries binaries,
VECTOR_CLASS< cl_int > *  binaryStatus = NULL,
cl_int *  err = NULL 
)
inline

Definition at line 2424 of file cl.hpp.

Here is the call graph for this function:

cl::Program::Program ( )
inline

Definition at line 2454 of file cl.hpp.

cl::Program::Program ( const Program program)
inline

Definition at line 2456 of file cl.hpp.

Member Function Documentation

cl_int cl::Program::build ( const VECTOR_CLASS< Device > &  devices,
const char *  options = NULL,
void(CL_CALLBACK *notifyFptr)(cl_program, void *)  = NULL,
void *  data = NULL 
) const
inline

Definition at line 2466 of file cl.hpp.

Here is the caller graph for this function:

cl_int cl::Program::build ( const VECTOR_CLASS< Device > &  devices,
const char *  options = NULL,
void(CL_CALLBACK *notifyFptr)(cl_program, void *)  = NULL,
void *  data = NULL 
) const
inline

Definition at line 2466 of file cl.hpp.

cl_int cl::Program::createKernels ( VECTOR_CLASS< Kernel > *  kernels)
inline

Definition at line 2528 of file cl.hpp.

cl_int cl::Program::createKernels ( VECTOR_CLASS< Kernel > *  kernels)
inline

Definition at line 2528 of file cl.hpp.

Here is the call graph for this function:

template<typename T >
cl_int cl::Program::getBuildInfo ( const Device device,
cl_program_build_info  name,
T param 
) const
inline

Definition at line 2506 of file cl.hpp.

Here is the call graph for this function:

Here is the caller graph for this function:

template<typename T >
cl_int cl::Program::getBuildInfo ( const Device device,
cl_program_build_info  name,
T param 
) const
inline

Definition at line 2506 of file cl.hpp.

Here is the call graph for this function:

template<cl_int name>
detail::param_traits<detail::cl_program_build_info, name>::param_type cl::Program::getBuildInfo ( const Device device,
cl_int *  err = NULL 
) const
inline

Definition at line 2517 of file cl.hpp.

template<cl_int name>
detail::param_traits<detail::cl_program_build_info, name>::param_type cl::Program::getBuildInfo ( const Device device,
cl_int *  err = NULL 
) const
inline

Definition at line 2517 of file cl.hpp.

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

Definition at line 2485 of file cl.hpp.

Here is the call graph for this function:

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

Definition at line 2485 of file cl.hpp.

Here is the call graph for this function:

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

Definition at line 2494 of file cl.hpp.

Here is the call graph for this function:

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

Definition at line 2494 of file cl.hpp.

Here is the call graph for this function:

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

Definition at line 2458 of file cl.hpp.

Here is the call graph for this function:

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

Definition at line 2458 of file cl.hpp.

Here is the call graph for this function:


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