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. More... | |
std::vector< device > | devices (cl_device_type dtype=CL_DEVICE_TYPE_DEFAULT) |
Returns the available devices of the supplied device type. More... | |
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.
|
inline |
|
inline |
|
inline |
Returns the available devices of the supplied device type.
|
inline |
|
inline |
Returns an information string.
|
inline |