HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
cl::Context Class Reference

#include <cl.hpp>

+ Inheritance 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)
 
 Context (const cl_context &context)
 
Contextoperator= (const Context &rhs)
 
Contextoperator= (const cl_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 cl_type &obj)
 
 Wrapper (const Wrapper< cl_type > &rhs)
 
 ~Wrapper ()
 
Wrapper< cl_type > & operator= (const Wrapper< cl_type > &rhs)
 
Wrapper< cl_type > & operator= (const 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 1515 of file cl.hpp.

Constructor & Destructor Documentation

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

Definition at line 1518 of file cl.hpp.

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

Definition at line 1541 of file cl.hpp.

cl::Context::Context ( )
inline

Definition at line 1562 of file cl.hpp.

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

Definition at line 1564 of file cl.hpp.

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

Definition at line 1566 of file cl.hpp.

Member Function Documentation

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

Definition at line 1583 of file cl.hpp.

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 1592 of file cl.hpp.

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

Definition at line 1603 of file cl.hpp.

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

Definition at line 1568 of file cl.hpp.

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

Definition at line 1576 of file cl.hpp.


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