Wrapper class for an OpenCL platform.
More...
#include <platform.hpp>
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.
- Examples:
- amg.cpp, custom-context.cpp, multithreaded.cpp, multithreaded_cg.cpp, and spai.cpp.
Definition at line 45 of file platform.hpp.
viennacl::ocl::platform::platform |
( |
vcl_size_t |
pf_index = 0 | ) |
|
|
inline |
viennacl::ocl::platform::platform |
( |
cl_platform_id |
pf_id | ) |
|
|
inline |
viennacl::ocl::platform::platform |
( |
platform const & |
other | ) |
|
|
inline |
std::vector<device> viennacl::ocl::platform::devices |
( |
cl_device_type |
dtype = CL_DEVICE_TYPE_DEFAULT | ) |
|
|
inline |
cl_platform_id viennacl::ocl::platform::id |
( |
| ) |
const |
|
inline |
std::string viennacl::ocl::platform::info |
( |
| ) |
const |
|
inline |
void viennacl::ocl::platform::operator= |
( |
cl_platform_id |
pf_id | ) |
|
|
inline |
The documentation for this class was generated from the following file: