|
ViennaCL - The Vienna Computing Library
1.5.1
|
Wrapper class for an OpenCL platform. More...
#include <platform.hpp>
Public Member Functions | |
| platform (vcl_size_t pf_index=0) | |
| platform (cl_platform_id pf_id) | |
| platform (platform const &other) | |
| void | operator= (cl_platform_id pf_id) |
| cl_platform_id | id () const |
| std::string | info () const |
| Returns an information string. | |
| std::vector< device > | devices (cl_device_type dtype=CL_DEVICE_TYPE_DEFAULT) |
| Returns the available devices of the supplied device type. | |
Wrapper class for an OpenCL platform.
This class was written when the OpenCL C++ bindings haven't been standardized yet. Regardless, it takes care about some additional details and is supposed to provide higher convenience.
| platform | ( | vcl_size_t | pf_index = 0 | ) | [inline] |
| platform | ( | cl_platform_id | pf_id | ) | [inline] |
Returns the available devices of the supplied device type.
| cl_platform_id id | ( | ) | const [inline] |
| std::string info | ( | ) | const [inline] |
Returns an information string.
| void operator= | ( | cl_platform_id | pf_id | ) | [inline] |
1.7.6.1