|
|
| Program (const string &source, bool build=false, cl_int *err=NULL) |
| |
|
| Program (const Context &context, const string &source, bool build=false, cl_int *err=NULL) |
| |
| | Program (const Sources &sources, cl_int *err=NULL) |
| |
| | Program (const Context &context, const Sources &sources, cl_int *err=NULL) |
| |
| | Program (const vector< char > &IL, bool build=false, cl_int *err=NULL) |
| |
| | Program (const Context &context, const vector< char > &IL, bool build=false, cl_int *err=NULL) |
| |
| | Program (const Context &context, const vector< Device > &devices, const Binaries &binaries, vector< cl_int > *binaryStatus=NULL, cl_int *err=NULL) |
| |
| | Program (const Context &context, const vector< Device > &devices, const string &kernelNames, cl_int *err=NULL) |
| |
| | Program (const cl_program &program, bool retainObject=false) |
| | Constructor from cl_program - takes ownership. More...
|
| |
|
Program & | operator= (const cl_program &rhs) |
| |
|
| Program (const Program &program) |
| | Copy constructor to forward copy to the superclass correctly. Required for MSVC.
|
| |
|
Program & | operator= (const Program &program) |
| | Copy assignment to forward copy to the superclass correctly. Required for MSVC.
|
| |
|
| Program (Program &&program) CL_HPP_NOEXCEPT_ |
| | Move constructor to forward move to the superclass correctly. Required for MSVC.
|
| |
|
Program & | operator= (Program &&program) |
| | Move assignment to forward move to the superclass correctly. Required for MSVC.
|
| |
|
cl_int | build (const vector< Device > &devices, const char *options=NULL, void(CL_CALLBACK *notifyFptr)(cl_program, void *)=NULL, void *data=NULL) const |
| |
|
cl_int | build (const char *options=NULL, void(CL_CALLBACK *notifyFptr)(cl_program, void *)=NULL, void *data=NULL) const |
| |
|
cl_int | compile (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_program_info 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_program_build_info name> |
| detail::param_traits< detail::cl_program_build_info, name >::param_type | getBuildInfo (const Device &device, cl_int *err=NULL) const |
| |
| template<cl_program_build_info name> |
| vector< std::pair< cl::Device, typename detail::param_traits< detail::cl_program_build_info, name >::param_type > > | getBuildInfo (cl_int *err=NULL) const |
| |
|
cl_int | createKernels (vector< Kernel > *kernels) |
| |
| cl_int | setReleaseCallback (void(CL_CALLBACK *pfn_notify)(cl_program program, void *user_data), void *user_data=NULL) |
| | Registers a callback function to be called when destructors for program scope global variables are complete and before the program is released. More...
|
| |
| template<typename T > |
| std::enable_if<!std::is_pointer< T >::value, cl_int >::type | setSpecializationConstant (cl_uint index, const T &value) |
| | Sets a SPIR-V specialization constant. More...
|
| |
| cl_int | setSpecializationConstant (cl_uint index, size_type size, const void *value) |
| | Sets a SPIR-V specialization constant. More...
|
| |
|
template<> |
| cl_int | getInfo (cl_program_info name, vector< vector< unsigned char >> *param) const |
| |
|
template<> |
| vector< vector< unsigned char > > | getInfo (cl_int *err) const |
| |
|
template<> |
| cl_int | setSpecializationConstant (cl_uint index, const bool &value) |
| |
|
| Wrapper (const cl_type &obj, bool retainObject) |
| |
|
| Wrapper (const Wrapper< cl_type > &rhs) |
| |
|
| Wrapper (Wrapper< cl_type > &&rhs) CL_HPP_NOEXCEPT_ |
| |
|
Wrapper< cl_type > & | operator= (const Wrapper< cl_type > &rhs) |
| |
|
Wrapper< cl_type > & | operator= (Wrapper< cl_type > &&rhs) |
| |
|
Wrapper< cl_type > & | operator= (const cl_type &rhs) |
| |
|
const cl_type & | operator() () const |
| |
|
cl_type & | operator() () |
| |
|
cl_type | get () const |
| |
Program interface that implements cl_program.
Definition at line 6166 of file cl2.hpp.