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

Device interface for cl_device_id. More...

#include <cl.hpp>

+ Inheritance diagram for cl::Device:

Public Member Functions

 Device ()
 
 Device (const Device &device)
 
 Device (const cl_device_id &device)
 
Deviceoperator= (const Device &rhs)
 
Deviceoperator= (const cl_device_id &rhs)
 
template<typename T >
cl_int getInfo (cl_device_info name, T *param) const
 
template<cl_int name>
detail::param_traits
< detail::cl_device_info, name >
::param_type 
getInfo (cl_int *err=NULL) const
 
- Public Member Functions inherited from cl::detail::Wrapper< cl_device_id >
 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_device_id >
typedef cl_device_id cl_type
 
- Protected Member Functions inherited from cl::detail::Wrapper< cl_device_id >
cl_int retain () const
 
cl_int release () const
 
- Protected Attributes inherited from cl::detail::Wrapper< cl_device_id >
cl_type object_
 

Detailed Description

Device interface for cl_device_id.

Definition at line 1261 of file cl.hpp.

Constructor & Destructor Documentation

cl::Device::Device ( )
inline

Definition at line 1264 of file cl.hpp.

cl::Device::Device ( const Device device)
inline

Definition at line 1266 of file cl.hpp.

cl::Device::Device ( const cl_device_id device)
inline

Definition at line 1268 of file cl.hpp.

Member Function Documentation

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

Definition at line 1285 of file cl.hpp.

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

Definition at line 1294 of file cl.hpp.

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

Definition at line 1270 of file cl.hpp.

Device& cl::Device::operator= ( const cl_device_id rhs)
inline

Definition at line 1278 of file cl.hpp.


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