mesa  18.2.8
About: Mesa is an open-source implementation of the OpenGL specification - a system for rendering interactive 3D graphics (main library code).
  Fossies Dox: mesa-18.2.8.tar.xz  ("inofficial" and yet experimental doxygen-generated source code documentation)  

cl::Context Class Reference

#include <cl.hpp>

Inheritance diagram for cl::Context:
Collaboration diagram for cl::Context:

Public Member Functions

 Context (const VECTOR_CLASS< Device > &devices, cl_context_properties *properties=NULL, void(CL_CALLBACK *notifyFptr)(const char *, const void *, ::size_t, 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_t, void *)=NULL, void *data=NULL, cl_int *err=NULL)
 
 Context ()
 
 Context (const Context &context)
 
Contextoperator= (const Context &rhs)
 
template<typename T >
cl_int getInfo (cl_context_info name, T *param) const
 
template<cl_int name>
detail::param_traits< detail::cl_context_info, name >::param_type getInfo (cl_int *err=NULL) const
 
cl_int getSupportedImageFormats (cl_mem_flags flags, cl_mem_object_type type, VECTOR_CLASS< ImageFormat > *formats) const
 
- Public Member Functions inherited from cl::detail::Wrapper< cl_context >
 Wrapper ()
 
 Wrapper (const Wrapper< cl_type > &rhs)
 
 ~Wrapper ()
 
Wrapper< cl_type > & operator= (const Wrapper< cl_type > &rhs)
 
cl_type operator() () const
 
cl_typeoperator() ()
 

Additional Inherited Members

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

Detailed Description

Definition at line 1417 of file cl.hpp.

Constructor & Destructor Documentation

◆ Context() [1/4]

cl::Context::Context ( const VECTOR_CLASS< Device > &  devices,
cl_context_properties properties = NULL,
void(CL_CALLBACK *notifyFptr)( const char *, const void *, ::size_t, void *)  = NULL,
void data = NULL,
cl_int *  err = NULL 
)
inline

◆ Context() [2/4]

cl::Context::Context ( cl_device_type  type,
cl_context_properties properties = NULL,
void(CL_CALLBACK *notifyFptr)( const char *, const void *, ::size_t, void *)  = NULL,
void data = NULL,
cl_int *  err = NULL 
)
inline

◆ Context() [3/4]

cl::Context::Context ( )
inline

Definition at line 1464 of file cl.hpp.

◆ Context() [4/4]

cl::Context::Context ( const Context context)
inline

Definition at line 1466 of file cl.hpp.

Member Function Documentation

◆ getInfo() [1/2]

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

◆ getInfo() [2/2]

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

Definition at line 1486 of file cl.hpp.

References getInfo(), and NULL.

◆ getSupportedImageFormats()

cl_int cl::Context::getSupportedImageFormats ( cl_mem_flags  flags,
cl_mem_object_type  type,
VECTOR_CLASS< ImageFormat > *  formats 
) const
inline

◆ operator=()

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

Definition at line 1468 of file cl.hpp.

References cl::detail::Wrapper< T >::operator=().


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