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.
ccl_devinfo [OPTIONS]...
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.
Written by Nuno Fachada.
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.