cl::Program Class Reference
Program interface that implements cl_program.
More...
#include <cl.hpp>
List of all members.
Public Types |
typedef VECTOR_CLASS
< std::pair< const void
*,::size_t > > | Binaries |
typedef VECTOR_CLASS
< std::pair< const char
*,::size_t > > | Sources |
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) |
Program & | operator= (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) |
Detailed Description
Program interface that implements cl_program.
Member Typedef Documentation
Constructor & Destructor Documentation
cl::Program::Program |
( |
const Context & |
context, |
|
|
const Sources & |
sources, |
|
|
cl_int * |
err = NULL | |
|
) |
| | [inline] |
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] |
cl::Program::Program |
( |
|
) |
[inline] |
cl::Program::Program |
( |
const Program & |
program |
) |
[inline] |
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] |
cl_int cl::Program::createKernels |
( |
VECTOR_CLASS< Kernel > * |
kernels |
) |
[inline] |
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] |
template<typename T >
cl_int cl::Program::getBuildInfo |
( |
const Device & |
device, |
|
|
cl_program_build_info |
name, |
|
|
T * |
param | |
|
) |
| | const [inline] |
template<cl_int name>
detail::param_traits<detail::cl_program_info, name>::param_type cl::Program::getInfo |
( |
cl_int * |
err = NULL |
) |
const [inline] |
template<typename T >
cl_int cl::Program::getInfo |
( |
cl_program_info |
name, |
|
|
T * |
param | |
|
) |
| | const [inline] |
The documentation for this class was generated from the following file:
- mod_fem_viewer/FemViewer/ocl/cl.hpp