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

Utility to query OpenCL platforms and devices.

SYNOPSIS

ccl_devinfo [OPTIONS]...

DESCRIPTION

The ccl_devinfo program prints information about the OpenCL platforms and devices available on the system. By default, only basic device information, such as type, vendor or OpenCL version, is shown, allowing the user to quickly assess what platforms and devices are available.

All the available device information items can be shown with the -a or –all options. The -c cl_device_info option, or its long variant, –custom=cl_device_info, allows the user to specify a partial or complete cl_device_info parameter name. All matching parameters will be printed. This option can be used several times.

The -l flag, or its long variant –list, tells ccl_devinfo to list all known device information parameters. The -n or –notfound flags will force the program to show known parameters even if the respective information is not provided by the device.

Additional information about each listed parameter can be shown with the -v or –verbose flags.

The ccl_devinfo utility can also narrow down information to specific platforms and devices with the -p and -d options, respectively (or their long variants, –platform and –device). These options accept the platform index or the (platform-wise) device index to perform the selection. The -o or –no-platf option ignores platforms and lists available devices independently of their platform. In this case, the -d option will indicate the system-wise device index.

-a, –all
Show all the available device information
-b, –basic
Show basic device information (default)
-c, –custom=cl_device_info
Show specific information, repeat as necessary
-d, –device=dev_idx
Specify the index of a device to query
-o, –no-platf
Ignore platforms, device index reports to all devices available in the system
-l, –list
List known information parameters
-p, –platform=platf_idx
Specify the index of a platform to query
-n, –notfound
Show known parameters even if not found in device
-v, –verbose
Show description of each parameter
–version
Output version information and exit
-h, –help, -?
Show help options and exit

AUTHOR

Written by Nuno Fachada.

REPORTING BUGS

COPYRIGHT

Copyright (C) 2016 Nuno Fachada
License GPLv3+: GNU GPL version 3 or later http://gnu.org/licenses/gpl.html.
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.