clinfo

Graphics and Screen4.0 (8.x)Screen Graphics Subsystem Developer's GuideAPIProgrammingUtilities

Display information on OpenCL platforms and devices

Syntax:

clinfo [-astc]
            [-A, --always-all-props]
            [-a, --all-props]
            [-d platform_index:device_index, --device platform_index:device_index]
            [-h, -?]
            [--human]
            [--json]
            [-l, --list]
            [--offline]
            [-prop property-name]
            [--raw]
            [-version]
            

Runs on:

QNX OS

OpenCL options:

-A, --always-all-props

Is -a with the addition of displaying errors.

-a, --all-props

Attempt to retrieve all properties. Only properties that are successfully retrieved are displayed. This can expose hidden properties. It also does not mean that the features displayed are available.

-d platform_index:device_index, --device platform_index:device_index

Display properties for the specified device, using device_index, on the specified platform (platform_index).

-h, -?

Display clinfo usage.

--human

Display the output in a human friendly format. This is the default method of display. Except if clinfo is invoked with a name that contains the string "raw".

--json

Output the raw data from --raw in JSON format.

-l, --list

List platforms and devices by name. This option does not display any properties associated with the platforms or devices.

--offline

Show offline features.

-prop property-name

Only show properties whose symbolic name matches or contains a substring of property-name. This option forces the --raw option.

--raw

Display machine friendly output. This is the default if clinfo is invoked with a name that contains the "raw" string.

-version

Display clinfo version.

Description:

clinfo displays all available information on all OpenCL platforms available and their devices.

Example:

clinfo --human
            
Page updated: