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

Platform interface. More...

#include <cl.hpp>

+ Inheritance diagram for cl::Platform:

Public Member Functions

 Platform ()
 
 Platform (const Platform &platform)
 
 Platform (const cl_platform_id &platform)
 
Platformoperator= (const Platform &rhs)
 
Platformoperator= (const cl_platform_id &rhs)
 
cl_int getInfo (cl_platform_info name, STRING_CLASS *param) const
 
template<cl_int name>
detail::param_traits
< detail::cl_platform_info,
name >::param_type 
getInfo (cl_int *err=NULL) const
 
cl_int getDevices (cl_device_type type, VECTOR_CLASS< Device > *devices) const
 
- Public Member Functions inherited from cl::detail::Wrapper< cl_platform_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() ()
 

Static Public Member Functions

static const Platform null ()
 
static cl_int get (VECTOR_CLASS< Platform > *platforms)
 

Additional Inherited Members

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

Detailed Description

Platform interface.

Definition at line 1346 of file cl.hpp.

Constructor & Destructor Documentation

cl::Platform::Platform ( )
inline

Definition at line 1351 of file cl.hpp.

cl::Platform::Platform ( const Platform platform)
inline

Definition at line 1353 of file cl.hpp.

cl::Platform::Platform ( const cl_platform_id platform)
inline

Definition at line 1355 of file cl.hpp.

Member Function Documentation

static cl_int cl::Platform::get ( VECTOR_CLASS< Platform > *  platforms)
inlinestatic

Definition at line 1484 of file cl.hpp.

cl_int cl::Platform::getDevices ( cl_device_type  type,
VECTOR_CLASS< Device > *  devices 
) const
inline

Definition at line 1391 of file cl.hpp.

cl_int cl::Platform::getInfo ( cl_platform_info  name,
STRING_CLASS param 
) const
inline

Definition at line 1371 of file cl.hpp.

template<cl_int name>
detail::param_traits<detail::cl_platform_info, name>::param_type cl::Platform::getInfo ( cl_int err = NULL) const
inline

Definition at line 1380 of file cl.hpp.

static const Platform cl::Platform::null ( )
static
Platform& cl::Platform::operator= ( const Platform rhs)
inline

Definition at line 1357 of file cl.hpp.

Platform& cl::Platform::operator= ( const cl_platform_id rhs)
inline

Definition at line 1365 of file cl.hpp.


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