cf4ocl (C Framework for OpenCL)  v2.1.0
Object-oriented framework for developing and benchmarking OpenCL projects in C/C++
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
ccl_device_query.h File Reference

Functions for querying OpenCL devices. More...

Include dependency graph for ccl_device_query.h:
This graph shows which files directly or indirectly include this file:

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...
 

Detailed Description

Functions for querying OpenCL devices.

Author
Nuno Fachada
Date
2016

Definition in file ccl_device_query.h.