cf4ocl (C Framework for OpenCL)
v2.1.0
Object-oriented framework for developing and benchmarking OpenCL projects in C/C++
|
Maps a string to a cl_device_info bitfield. More...
Public Member Functions | |
gchar * | ccl_devquery_get_prefix_final (const char *prefix) |
Get a final device info prefix in the same format as kept in the ccl_devquery_info_map. More... | |
const CCLDevQueryMap * | ccl_devquery_match (const char *substr, int *idx) |
Search for a device information parameter by matching part of its name. More... | |
cl_device_info | ccl_devquery_name (const char *name) |
Return a cl_device_info object given its name. More... | |
const CCLDevQueryMap * | ccl_devquery_prefix (const char *prefix, int *size) |
Get a pointer to the first device information parameter which has the given prefix. More... | |
Data Fields | |
const char *const | description |
Long description of parameter. | |
const cl_device_info | device_info |
CL device information bitfield. | |
const ccl_devquery_format | format |
Output formatting function. | |
const char *const | param_name |
Parameter name string. | |
const char *const | units |
Parameter units suffix. | |
Maps a string to a cl_device_info bitfield.
Definition at line 64 of file ccl_device_query.h.