cf4ocl (C Framework for OpenCL)
v2.1.0
Object-oriented framework for developing and benchmarking OpenCL projects in C/C++
|
Utility to query OpenCL platforms and devices. More...
Go to the source code of this file.
Macros | |
#define | CCL_DEVINFO_DESCRIPTION |
Program description. More... | |
#define | CCL_DEVINFO_MAXINFOLEN 500 |
Maximum length of device information output, per parameter. More... | |
#define | CCL_DEVINFO_OUT stdout |
Default device information output stream. More... | |
Functions | |
void | ccl_devinfo_args_parse (int argc, char *argv[], CCLErr **err) |
Parse and verify command line arguments. More... | |
void | ccl_devinfo_show_device_info_all (CCLDevice *d) |
Show all available device information. More... | |
void | ccl_devinfo_show_device_info_basic (CCLDevice *d) |
Show basic device information. More... | |
void | ccl_devinfo_show_device_info_custom (CCLDevice *d) |
Show user specified device information. More... | |
void | ccl_devinfo_show_platform_info (CCLPlatform *p, guint idx) |
Show platform information. More... | |
int | main (int argc, char *argv[]) |
Device info main program function. More... | |
#define CCL_DEVINFO_DESCRIPTION |
Program description.
Definition at line 131 of file ccl_devinfo.c.
#define CCL_DEVINFO_MAXINFOLEN 500 |
Maximum length of device information output, per parameter.
Definition at line 135 of file ccl_devinfo.c.
#define CCL_DEVINFO_OUT stdout |
Default device information output stream.
Definition at line 123 of file ccl_devinfo.c.
void ccl_devinfo_args_parse | ( | int | argc, |
char * | argv[], | ||
CCLErr ** | err | ||
) |
Parse and verify command line arguments.
[in] | argc | Number of command line arguments. |
[in] | argv | Command line arguments. |
[out] | err | Return location for a CCLErr, or NULL if error reporting is to be ignored. |
Definition at line 203 of file ccl_devinfo.c.
void ccl_devinfo_show_device_info_all | ( | CCLDevice * | d | ) |
Show all available device information.
[in] | d | Device wrapper object. |
Definition at line 309 of file ccl_devinfo.c.
void ccl_devinfo_show_device_info_basic | ( | CCLDevice * | d | ) |
Show basic device information.
[in] | d | Device wrapper object. |
Definition at line 443 of file ccl_devinfo.c.
void ccl_devinfo_show_device_info_custom | ( | CCLDevice * | d | ) |
Show user specified device information.
[in] | d | Device wrapper object. |
Definition at line 361 of file ccl_devinfo.c.
void ccl_devinfo_show_platform_info | ( | CCLPlatform * | p, |
guint | idx | ||
) |
Show platform information.
[in] | p | Platform wrapper object. |
[in] | idx | Platform index. |
Definition at line 246 of file ccl_devinfo.c.
int main | ( | int | argc, |
char * | argv[] | ||
) |
Device info main program function.
[in] | argc | Number of command line arguments. |
[in] | argv | Vector of command line arguments. |
Definition at line 508 of file ccl_devinfo.c.