cf4ocl (C Framework for OpenCL)
v2.1.0
Object-oriented framework for developing and benchmarking OpenCL projects in C/C++
|
Functions for querying OpenCL devices. More...
Go to the source code of this file.
Data Structures | |
struct | ccl_devquery_map |
Maps a string to a cl_device_info bitfield. More... | |
Macros | |
#define | ccl_devquery_type2str(type) |
Map an OpenCL cl_device_type object to a string identifying the device type. More... | |
Typedefs | |
typedef char *(* | ccl_devquery_format )(CCLWrapperInfo *info, char *out, size_t size, const char *units) |
Output formatting function. More... | |
typedef struct ccl_devquery_map | CCLDevQueryMap |
Maps a string to a cl_device_info bitfield. | |
Variables | |
const CCLDevQueryMap | ccl_devquery_info_map [] |
Map of parameter name strings to respective cl_device_info bitfields, long description string, format output function and a units suffix. More... | |
const int | ccl_devquery_info_map_size |
Size of parameter information map. More... | |