``` $ clinfo -l Platform #0: rusticl +-- Device #0: AMD CAYMAN (DRM 2.50.0 / 5.15.0-48-generic, LLVM 16.0.0) `-- Device #1: AMD CYPRESS (DRM 2.50.0 / 5.15.0-48-generic, LLVM 16.0.0) ``` ``` $ 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 Extensions with Version cl_khr_icd 0x400000 (1.0.0) Platform Numeric Version 0xc00000 (3.0.0) Platform Extensions function suffix MESA Platform Host timer resolution 0ns Platform Name rusticl Number of devices 2 Device Name AMD CAYMAN (DRM 2.50.0 / 5.15.0-48-generic, LLVM 16.0.0) Device Vendor AMD Device Vendor ID 0x1002 Device Version OpenCL 1.2 Driver Version 22.3.0-devel (git-ff649a893a) Device OpenCL C Version OpenCL C 1.2 Device Type GPU Device Profile EMBEDDED_PROFILE Device Available Yes Compiler Available Yes Linker Available Yes Max compute units 12 Max clock frequency 880MHz Device Partition (core) Max number of sub-devices 0 Supported partition types None Supported affinity domains (n/a) Max work item dimensions 3 Max work item sizes 1024x1024x1024 Max work group size 1024 Preferred work group size multiple (kernel) 64 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 Yes Round to nearest Yes Round to zero No 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 32, Little-Endian Global memory size 2147483648 (2GiB) Error Correction support No Max memory allocation 536870912 (512MiB) 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 16 Max size for 1D images from buffer 536870912 pixels Max 1D or 2D image array size 2048 images Max 2D image size 16384x16384 pixels Max 3D image size 2048x2048x2048 pixels Max number of read image args 16 Max number of write image args 8 Local memory type Global Local memory size 32768 (32KiB) Max number of constant args 1024 Max constant buffer size 536870912 (512MiB) Max size of kernel argument 1024 Queue properties Out-of-order execution No Profiling Yes Prefer user sync for interop Yes Profiling timer resolution 0ns Execution capabilities Run OpenCL kernels Yes Run native kernels No printf() buffer size 1048576 (1024KiB) Built-in kernels (n/a) Device Extensions cl_khr_byte_addressable_store cl_khr_global_int32_base_atomics cl_khr_global_int32_extended_atomics cl_khr_local_int32_base_atomics cl_khr_local_int32_extended_atomics cles_khr_int64 Device Name AMD CYPRESS (DRM 2.50.0 / 5.15.0-48-generic, LLVM 16.0.0) Device Vendor AMD Device Vendor ID 0x1002 Device Version OpenCL 1.2 Driver Version 22.3.0-devel (git-ff649a893a) Device OpenCL C Version OpenCL C 1.2 Device Type GPU Device Profile EMBEDDED_PROFILE Device Available Yes Compiler Available Yes Linker Available Yes Max compute units 10 Max clock frequency 850MHz Device Partition (core) Max number of sub-devices 0 Supported partition types None Supported affinity domains (n/a) Max work item dimensions 3 Max work item sizes 1024x1024x1024 Max work group size 1024 Preferred work group size multiple (kernel) 64 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 Yes Round to nearest Yes Round to zero No 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 32, Little-Endian Global memory size 2147483648 (2GiB) Error Correction support No Max memory allocation 536870912 (512MiB) 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 16 Max size for 1D images from buffer 536870912 pixels Max 1D or 2D image array size 2048 images Max 2D image size 16384x16384 pixels Max 3D image size 2048x2048x2048 pixels Max number of read image args 16 Max number of write image args 8 Local memory type Global Local memory size 32768 (32KiB) Max number of constant args 1024 Max constant buffer size 536870912 (512MiB) Max size of kernel argument 1024 Queue properties Out-of-order execution No Profiling Yes Prefer user sync for interop Yes Profiling timer resolution 0ns Execution capabilities Run OpenCL kernels Yes Run native kernels No printf() buffer size 1048576 (1024KiB) Built-in kernels (n/a) Device Extensions cl_khr_byte_addressable_store cl_khr_global_int32_base_atomics cl_khr_global_int32_extended_atomics cl_khr_local_int32_base_atomics cl_khr_local_int32_extended_atomics cles_khr_int64 NULL platform behavior clGetPlatformInfo(NULL, CL_PLATFORM_NAME, ...) rusticl clGetDeviceIDs(NULL, CL_DEVICE_TYPE_ALL, ...) Success [MESA] clCreateContext(NULL, ...) [default] Success [MESA] clCreateContextFromType(NULL, CL_DEVICE_TYPE_DEFAULT) Success (2) Platform Name rusticl Device Name AMD CAYMAN (DRM 2.50.0 / 5.15.0-48-generic, LLVM 16.0.0) Device Name AMD CYPRESS (DRM 2.50.0 / 5.15.0-48-generic, LLVM 16.0.0) clCreateContextFromType(NULL, CL_DEVICE_TYPE_CPU) No devices found in platform clCreateContextFromType(NULL, CL_DEVICE_TYPE_GPU) Success (2) Platform Name rusticl Device Name AMD CAYMAN (DRM 2.50.0 / 5.15.0-48-generic, LLVM 16.0.0) Device Name AMD CYPRESS (DRM 2.50.0 / 5.15.0-48-generic, LLVM 16.0.0) 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) Success (2) Platform Name rusticl Device Name AMD CAYMAN (DRM 2.50.0 / 5.15.0-48-generic, LLVM 16.0.0) Device Name AMD CYPRESS (DRM 2.50.0 / 5.15.0-48-generic, LLVM 16.0.0) ICD loader properties ICD loader Name OpenCL ICD Loader ICD loader Vendor OCL Icd free software ICD loader Version 2.2.14 ICD loader Profile OpenCL 3.0 ```