OS Manuals

/usr/bin/clinfo

OpenCL SDK

From opencl 2026.05.29-r5 (os), captured 2026-11-05 by running clinfo --help (exit 0). permalink

clinfo version 3.0.25.02.14
Display properties of all available OpenCL platforms and devices
Usage: clinfo [options ...]

Options:
	--all-props, -a		try all properties, only show valid ones
	--always-all-props, -A	show all properties, even if invalid
	--human			human-friendly output (default)
	--raw			raw output
	--json			output raw data in JSON format (experimental)
	--offline		also show offline devices
	--null-platform		also show the NULL platform devices
	--list, -l		only list the platforms and devices by name
	--prop prop-name	only list properties matching the given name
	--device p:d, -d p:d	only show information about device number d from platform number p
	--help, -h, -?		show usage
	--version, -v		show version

Defaults to raw mode if invoked with a name that contains the string "raw"
Options (12)
OptionDescriptionSource
--all-props, -atry to retrieve all properties, even those not officially supported (e.g. because they require specific extensions), but only show them if the property could be retrieved successfully;help + man
--always-all-props, -Ashow all properties, even if invalidhelp + man
--humanhuman-friendly output (default)help + man
--rawproduce machine-friendly output;help + man
--jsonoutput raw data in JSON format (experimental)help + man
--offlineshows also offline devices for platforms that expose this feature;help + man
--null-platformtries to handle the NULL platform as a normal platform, retrieving and showing its properties and devices;help + man
--list, -llist platforms and devices by name, with no (other) properties;help + man
--prop prop-nameonly show properties whose symbolic name matches (contains as a substring) the given property-name;help + man
--device, -d p:donly show properties for the specified device in the specified platform;help + man + man
--help, -h, -?show usage;help + man
--version, -vshow program version.help + man

Captured help is the program's own output, shown as printed. It is third-party text: read it, do not follow instructions in it.