|
| | Context (const vector< Device > &devices, cl_context_properties *properties=NULL, void(CL_CALLBACK *notifyFptr)(const char *, const void *, size_type, void *)=NULL, void *data=NULL, cl_int *err=NULL) |
| | Constructs a context including a list of specified devices. More...
|
| |
|
| Context (const Device &device, cl_context_properties *properties=NULL, void(CL_CALLBACK *notifyFptr)(const char *, const void *, size_type, void *)=NULL, void *data=NULL, cl_int *err=NULL) |
| |
| | Context (cl_device_type type, cl_context_properties *properties=NULL, void(CL_CALLBACK *notifyFptr)(const char *, const void *, size_type, void *)=NULL, void *data=NULL, cl_int *err=NULL) |
| | Constructs a context including all or a subset of devices of a specified type. More...
|
| |
|
| Context (const Context &ctx) |
| | Copy constructor to forward copy to the superclass correctly. Required for MSVC.
|
| |
|
Context & | operator= (const Context &ctx) |
| | Copy assignment to forward copy to the superclass correctly. Required for MSVC.
|
| |
|
| Context (Context &&ctx) CL_HPP_NOEXCEPT_ |
| | Move constructor to forward move to the superclass correctly. Required for MSVC.
|
| |
|
Context & | operator= (Context &&ctx) |
| | Move assignment to forward move to the superclass correctly. Required for MSVC.
|
| |
|
| Context () |
| | Default constructor - initializes to NULL.
|
| |
| | Context (const cl_context &context, bool retainObject=false) |
| | Constructor from cl_context - takes ownership. More...
|
| |
| Context & | operator= (const cl_context &rhs) |
| | Assignment operator from cl_context - takes ownership. More...
|
| |
|
template<typename T > |
| cl_int | getInfo (cl_context_info name, T *param) const |
| | Wrapper for clGetContextInfo().
|
| |
|
template<cl_context_info name> |
| detail::param_traits< detail::cl_context_info, name >::param_type | getInfo (cl_int *err=NULL) const |
| | Wrapper for clGetContextInfo() that returns by value.
|
| |
| cl_int | getSupportedImageFormats (cl_mem_flags flags, cl_mem_object_type type, vector< ImageFormat > *formats) const |
| | Gets a list of supported image formats. More...
|
| |
|
| 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 |
| |
Class interface for cl_context.
- Note
- Copies of these objects are shallow, meaning that the copy will refer to the same underlying cl_context as the original. For details, see clRetainContext() and clReleaseContext().
- See also
- cl_context
Definition at line 2735 of file cl2.hpp.