Class interface for cl_platform_id. More...
#include <cl.hpp>
Public Member Functions | |
cl_int | getDevices (cl_device_type type, VECTOR_CLASS< Device > *devices) const |
Gets a list of devices for this platform. More... | |
cl_int | getInfo (cl_platform_info name, STRING_CLASS *param) const |
Wrapper for clGetPlatformInfo(). More... | |
template<cl_int name> | |
detail::param_traits< detail::cl_platform_info, name >::param_type | getInfo (cl_int *err=NULL) const |
Wrapper for clGetPlatformInfo() that returns by value. More... | |
Platform & | operator= (const cl_platform_id &rhs) |
Assignment operator from cl_platform_id. More... | |
Platform () | |
Default constructor - initializes to NULL. More... | |
__CL_EXPLICIT_CONSTRUCTORS | Platform (const cl_platform_id &platform) |
Constructor from cl_platform_id. More... | |
Public Member Functions inherited from cl::detail::Wrapper< cl_platform_id > | |
cl_type | operator() () const |
cl_type & | operator() () |
Wrapper< cl_type > & | operator= (const Wrapper< cl_type > &rhs) |
Wrapper< cl_type > & | operator= (const cl_type &rhs) |
Wrapper () | |
Wrapper (const cl_type &obj) | |
Wrapper (const Wrapper< cl_type > &rhs) | |
~Wrapper () | |
Static Public Member Functions | |
static cl_int | get (VECTOR_CLASS< Platform > *platforms) |
Gets a list of available platforms. More... | |
static cl_int | get (Platform *platform) |
Gets the first available platform. More... | |
static Platform | get (cl_int *errResult=NULL) |
Gets the first available platform, returning it by value. More... | |
static Platform | getDefault (cl_int *errResult=NULL) |
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 | release () const |
cl_int | retain () const |
Protected Attributes inherited from cl::detail::Wrapper< cl_platform_id > | |
cl_type | object_ |
Class interface for cl_platform_id.
|
inline |
|
inline |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inline |
|
inline |
|
inline |
|
inline |