OpenCL cl_device_id
More...
#include <vsmc/utility/opencl.hpp>
|
| | CLDevice (::cl_device_id ptr=nullptr) |
| |
| std::vector< CLDevice > | creat_sub_devices (const ::cl_device_partition_property *properties) const |
| | clCreateSubDevices More...
|
| |
| template<typename ParamType > |
| ::cl_int | get_info (::cl_device_info param_name, std::vector< ParamType > ¶m_value) const |
| |
| template<typename ParamType > |
| ::cl_int | get_info (::cl_device_info param_name, ParamType ¶m_value) const |
| |
| ::cl_int | get_info (::cl_device_info param_name, std::size_t param_value_size, void *param_value, std::size_t *param_value_size_ret) const |
| | clGetDeviceInfo More...
|
| |
| ::cl_int | get_info (::cl_device_info param_name, std::string ¶m_value) const |
| |
| | CLBase () |
| |
| pointer | get () const |
| |
| | operator bool () const |
| |
| void | reset (pointer ptr) |
| |
| void | swap (CLBase< ::cl_device_id, CLDevice > &other) |
| |
| bool | unique () const |
| |
| long | use_count () const |
| |
OpenCL cl_device_id
Definition at line 277 of file opencl.hpp.
| vsmc::CLDevice::CLDevice |
( |
::cl_device_id |
ptr = nullptr | ) |
|
|
inlineexplicit |
| std::vector<CLDevice> vsmc::CLDevice::creat_sub_devices |
( |
const ::cl_device_partition_property * |
properties | ) |
const |
|
inline |
| ::cl_int vsmc::CLDevice::get_info |
( |
::cl_device_info |
param_name, |
|
|
std::size_t |
param_value_size, |
|
|
void * |
param_value, |
|
|
std::size_t * |
param_value_size_ret |
|
) |
| const |
|
inline |
| ::cl_int vsmc::CLDevice::get_info |
( |
::cl_device_info |
param_name, |
|
|
std::string & |
param_value |
|
) |
| const |
|
inline |
template<typename ParamType >
| ::cl_int vsmc::CLDevice::get_info |
( |
::cl_device_info |
param_name, |
|
|
std::vector< ParamType > & |
param_value |
|
) |
| const |
|
inline |
template<typename ParamType >
| ::cl_int vsmc::CLDevice::get_info |
( |
::cl_device_info |
param_name, |
|
|
ParamType & |
param_value |
|
) |
| const |
|
inline |
| ::cl_int vsmc::CLDevice::release |
( |
::cl_device_id |
ptr | ) |
|
|
inlinestatic |