GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - simleb/clinfo: query OpenCL platform and device parameters

BranchesTags
Open more actions menu

Latest commit

 

History

16 Commits
16 Commits

Folders and files

NameName
Last commit message
Last commit date
.gitignore
.gitignore
 
 
License.txt
License.txt
 
 
Makefile
Makefile
 
 
README.md
README.md
 
 
clinfo.1
clinfo.1
 
 
clinfo.c
clinfo.c
 
 

Repository files navigation

clinfo

query OpenCL platform and device parameters

Build

clinfo is made from a single C source file. To build:

make

To install:

make install

To uninstall:

make uninstall

You can change the installation prefix by setting prefix and bindir. The default location is /usr/local/bin. If you would rather install in your home directory ($(HOME)/bin), you can do:

make install prefix=$(HOME)

Run

Just type: clinfo

clinfo displays the OpenCL platform and device parameters in a human readable form.

By default, clinfo only displays a few basic parameters. You can print them all with -a (or --all). You can also query specific parameters by listing them as arguments. For instance use clinfo CL_DEVICE_TYPE to query the device type of each device for each platform.

You can restrict the output to a single platform and even to a single device. For instance use clinfo 0:1 to restrict the output to device #1 of platform #0. To find out what is the number of a platform or a device, you can use -l (or --list).

The following options are available:

  • -a or --all : Display all parameters.
  • -h or --help: Display a short help notice.
  • -l or --list: List platforms and devices.
  • -r or --raw : Raw output (by default the values are pretty-printed).

License

The source for clinfo is released under the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

About

query OpenCL platform and device parameters

Resources

Readme
GPL-3.0 license
Activity

Stars

23 stars

Watchers

4 watching

Forks

11 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.