#include <platform.hpp>
Public Member Functions |
| platform () |
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.
|
Constructor & Destructor Documentation
Member Function Documentation
std::vector<device> devices |
( |
cl_device_type |
dtype = CL_DEVICE_TYPE_DEFAULT |
) |
[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.
The documentation for this class was generated from the following file: