How to install and run clinfo app in Devuan linux?

Written by Administrator on Thursday May 7, 2020

Installation of clinfo app is very simple, just run:

$ sudo apt-get install clinfo

output:

Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following NEW packages will be installed:
  clinfo
0 upgraded, 1 newly installed, 0 to remove and 26 not upgraded.
Need to get 33.5 kB of archives.
After this operation, 105 kB of additional disk space will be used.
Get:1 http://deb.devuan.org//merged ascii/main amd64 clinfo amd64 2.1.16.01.12-1+b1 [33.5 kB]
Fetched 33.5 kB in 2s (15.7 kB/s)
Selecting previously unselected package clinfo.
(Reading database ... 107931 files and directories currently installed.)
Preparing to unpack .../clinfo_2.1.16.01.12-1+b1_amd64.deb ...
Unpacking clinfo (2.1.16.01.12-1+b1) ...
Setting up clinfo (2.1.16.01.12-1+b1) ...
Processing triggers for man-db (2.7.6.1-2) ...

In order to run clinfo app, just type "clinfo" in terminal:

$ clinfo

my result:

Number of platforms                               1
  Platform Name                                   Clover
  Platform Vendor                                 Mesa
  Platform Version                                OpenCL 1.1 Mesa 13.0.6
  Platform Profile                                FULL_PROFILE
  Platform Extensions                             cl_khr_icd
  Platform Extensions function suffix             MESA

  Platform Name                                   Clover
Number of devices                                 0

NULL platform behavior
  clGetPlatformInfo(NULL, CL_PLATFORM_NAME, ...)  Clover
  clGetDeviceIDs(NULL, CL_DEVICE_TYPE_ALL, ...)   Clover
  clCreateContext(NULL, ...) [default]            No devices found in platform
  clCreateContextFromType(NULL, CL_DEVICE_TYPE_CPU)  No devices found in platform
  clCreateContextFromType(NULL, CL_DEVICE_TYPE_GPU)  No devices found in platform
  clCreateContextFromType(NULL, CL_DEVICE_TYPE_ACCELERATOR)  No devices found in platform
  clCreateContextFromType(NULL, CL_DEVICE_TYPE_CUSTOM)  No devices found in platform
  clCreateContextFromType(NULL, CL_DEVICE_TYPE_ALL)  No devices found in platform

ICD loader properties
  ICD loader Name                                 OpenCL ICD Loader
  ICD loader Vendor                               OCL Icd free software
  ICD loader Version                              2.2.11
  ICD loader Profile                              OpenCL 2.1

Category: linux Tags: devuan install clinfo