Skip to content

Instantly share code, notes, and snippets.

@karolherbst
Created November 16, 2020 02:35
Show Gist options
  • Save karolherbst/d99b2fb10028a9d01e1f9a78ec0e75cb to your computer and use it in GitHub Desktop.
Save karolherbst/d99b2fb10028a9d01e1f9a78ec0e75cb to your computer and use it in GitHub Desktop.
$ IRIS_ENABLE_CLOVER=1 NOUVEAU_ENABLE_CL=1 LP_CL=1 OCL_ICD_DEBUG=0 OCL_ICD_VENDORS=/home/kherbst/local/etc/OpenCL/vendors/rusticl.icd run_local_mesa clinfo
Number of platforms 1
Platform Name rusticl
Platform Vendor Mesa/X.org
Platform Version OpenCL 3.0
Platform Profile FULL_PROFILE
Platform Extensions cl_khr_icd
Platform Host timer resolution 0ns
Platform Extensions function suffix MESA
Platform Name rusticl
Number of devices 3
Device Name Mesa Intel(R) HD Graphics 630 (KBL GT2)
Device Vendor Intel
Device Vendor ID 0x8086
Device Version OpenCL 1.0
Driver Version 0.1
Device OpenCL C Version 1.0
Device Type GPU
Device Profile EMBEDDED_PROFILE
Device Available Yes
Compiler Available Yes
Max compute units 3
Max clock frequency 400MHz
Max work item dimensions 3
Max work item sizes 1792x1792x1792
Max work group size 1792
Preferred work group size multiple <getWGsizes:1173: create program : error -34>
Preferred / native vector sizes
char 1 / 1
short 1 / 1
int 1 / 1
long 1 / 1
half 0 / 0 (n/a)
float 1 / 1
double 0 / 0 (n/a)
Half-precision Floating-point support (n/a)
Single-precision Floating-point support (core)
Denormals No
Infinity and NANs No
Round to nearest Yes
Round to zero Yes
Round to infinity No
IEEE754-2008 fused multiply-add No
Support is emulated in software No
Correctly-rounded divide and sqrt operations No
Double-precision Floating-point support (n/a)
WARNING: OpenCL support via iris+clover is incomplete.
For a complete and conformant OpenCL implementation, use
https://github.com/intel/compute-runtime instead
Address bits 64, Little-Endian
Global memory size 1073741824 (1024MiB)
Error Correction support No
Max memory allocation 1073741824 (1024MiB)
Unified memory for Host and Device Yes
Minimum alignment for any data type 128 bytes
Alignment of base address 4096 bits (512 bytes)
Global Memory cache type None
Image support Yes
Max number of samplers per kernel 32
Max 2D image size 16384x16384 pixels
Max 3D image size 2048x2048x2048 pixels
Max number of read image args 32
Max number of write image args 32
Local memory type Global
Local memory size 65536 (64KiB)
Max number of constant args 1024
Max constant buffer size 65536 (64KiB)
Max size of kernel argument 1024
Queue properties
Out-of-order execution No
Profiling Yes
Profiling timer resolution 0ns
Execution capabilities
Run OpenCL kernels Yes
Run native kernels No
Device Extensions cl_khr_byte_addressable_store
Device Name NV137
Device Vendor NVIDIA
Device Vendor ID 0x10de
Device Version OpenCL 1.0
Driver Version 0.1
Device OpenCL C Version 1.0
Device Type GPU
Device Profile EMBEDDED_PROFILE
Device Available Yes
Compiler Available Yes
Max compute units 5
Max clock frequency 512MHz
Max work item dimensions 3
Max work item sizes 1024x1024x64
Max work group size 1024
Preferred work group size multiple <getWGsizes:1173: create program : error -34>
Preferred / native vector sizes
char 1 / 1
short 1 / 1
int 1 / 1
long 1 / 1
half 0 / 0 (n/a)
float 1 / 1
double 0 / 0 (n/a)
Half-precision Floating-point support (n/a)
Single-precision Floating-point support (core)
Denormals No
Infinity and NANs No
Round to nearest Yes
Round to zero Yes
Round to infinity No
IEEE754-2008 fused multiply-add No
Support is emulated in software No
Correctly-rounded divide and sqrt operations No
Double-precision Floating-point support (n/a)
Address bits 64, Little-Endian
Global memory size 1099511627776 (1024GiB)
Error Correction support No
Max memory allocation 1099511627776 (1024GiB)
Unified memory for Host and Device No
Minimum alignment for any data type 128 bytes
Alignment of base address 4096 bits (512 bytes)
Global Memory cache type None
Image support Yes
Max number of samplers per kernel 32
Max 2D image size 16384x16384 pixels
Max 3D image size 2048x2048x2048 pixels
Max number of read image args 32
Max number of write image args 8
Local memory type Global
Local memory size 49152 (48KiB)
Max number of constant args 1024
Max constant buffer size 65536 (64KiB)
Max size of kernel argument 4096 (4KiB)
Queue properties
Out-of-order execution No
Profiling Yes
Profiling timer resolution 0ns
Execution capabilities
Run OpenCL kernels Yes
Run native kernels No
Device Extensions cl_khr_byte_addressable_store
Device Name llvmpipe (LLVM 11.0.0, 256 bits)
Device Vendor Mesa/X.org
Device Vendor ID 0
Device Version OpenCL 1.0
Driver Version 0.1
Device OpenCL C Version 1.0
Device Type CPU
Device Profile EMBEDDED_PROFILE
Device Available Yes
Compiler Available Yes
Max compute units 8
Max clock frequency 300MHz
Max work item dimensions 3
Max work item sizes 1024x1024x1024
Max work group size 1024
Preferred work group size multiple <getWGsizes:1173: create program : error -34>
Preferred / native vector sizes
char 1 / 1
short 1 / 1
int 1 / 1
long 1 / 1
half 0 / 0 (n/a)
float 1 / 1
double 0 / 0 (n/a)
Half-precision Floating-point support (n/a)
Single-precision Floating-point support (core)
Denormals No
Infinity and NANs No
Round to nearest Yes
Round to zero Yes
Round to infinity No
IEEE754-2008 fused multiply-add No
Support is emulated in software No
Correctly-rounded divide and sqrt operations No
Double-precision Floating-point support (n/a)
Address bits 64, Little-Endian
Global memory size 2147483648 (2GiB)
Error Correction support No
Max memory allocation 2147483648 (2GiB)
Unified memory for Host and Device No
Minimum alignment for any data type 128 bytes
Alignment of base address 4096 bits (512 bytes)
Global Memory cache type None
Image support Yes
Max number of samplers per kernel 32
Max 2D image size 16384x16384 pixels
Max 3D image size 2048x2048x2048 pixels
Max number of read image args 128
Max number of write image args 16
Local memory type Global
Local memory size 32768 (32KiB)
Max number of constant args 1024
Max constant buffer size 65536 (64KiB)
Max size of kernel argument 4096 (4KiB)
Queue properties
Out-of-order execution No
Profiling Yes
Profiling timer resolution 0ns
Execution capabilities
Run OpenCL kernels Yes
Run native kernels No
Device Extensions cl_khr_byte_addressable_store
NULL platform behavior
clGetPlatformInfo(NULL, CL_PLATFORM_NAME, ...) rusticl
clGetDeviceIDs(NULL, CL_DEVICE_TYPE_ALL, ...) <checkNullGetDevices:2723: get CL_DEVICE_PLATFORM : error -30>
clCreateContext(NULL, ...) [default] No platform
clCreateContext(NULL, ...) [other] <checkNullCtx:2758: create context with device from non-default platform : error -32>
clCreateContextFromType(NULL, CL_DEVICE_TYPE_DEFAULT) <checkNullCtxFromType:2809: create context from type CL_DEVICE_TYPE_DEFAULT : error 1372551128>
clCreateContextFromType(NULL, CL_DEVICE_TYPE_CPU) <checkNullCtxFromType:2809: create context from type CL_DEVICE_TYPE_CPU : error 1372551128>
clCreateContextFromType(NULL, CL_DEVICE_TYPE_GPU) <checkNullCtxFromType:2809: create context from type CL_DEVICE_TYPE_GPU : error 1372551128>
clCreateContextFromType(NULL, CL_DEVICE_TYPE_ACCELERATOR) <checkNullCtxFromType:2809: create context from type CL_DEVICE_TYPE_ACCELERATOR : error 1372551128>
clCreateContextFromType(NULL, CL_DEVICE_TYPE_CUSTOM) <checkNullCtxFromType:2809: create context from type CL_DEVICE_TYPE_CUSTOM : error 1372551128>
clCreateContextFromType(NULL, CL_DEVICE_TYPE_ALL) <checkNullCtxFromType:2809: create context from type CL_DEVICE_TYPE_ALL : error 1372551128>
ICD loader properties
ICD loader Name OpenCL ICD Loader
ICD loader Vendor OCL Icd free software
ICD loader Version 2.2.13
ICD loader Profile OpenCL 3.0
NOTE: your OpenCL library declares to support OpenCL 3.0,
but it seems to support up to OpenCL 2.2 only.
NOTE: your OpenCL library only supports OpenCL 2.2,
but some installed platforms support OpenCL 3.0.
Programs using 3.0 features may crash
or behave unexpectedly
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment