Skip to content

Instantly share code, notes, and snippets.

@woachk
Created May 22, 2024 05:12
Show Gist options
  • Save woachk/1f7a6b2736179c016a4800ae3c6c6cb5 to your computer and use it in GitHub Desktop.
Save woachk/1f7a6b2736179c016a4800ae3c6c6cb5 to your computer and use it in GitHub Desktop.
advanced micro devices, inc npu
$ clinfo
Number of platforms 1
Platform Name Xilinx
Platform Vendor Xilinx
Platform Version OpenCL 1.0
Platform Profile EMBEDDED_PROFILE
Platform Extensions cl_khr_icd
Platform Extensions function suffix
Platform Name Xilinx
Number of devices 1
XRT build version: 2.18.0
Build hash: 3d312b2cbb93de35091f87fb8f891987f7bab24c
Build date: 2024-05-22 04:38:15
Git branch: HEAD
PID: 4191
UID: 1000
[Wed May 22 05:12:38 2024 GMT]
HOST: daylight.unpredictable.fr
EXE: /usr/bin/clinfo
[XRT] ERROR: get_device_info: Operation not supported
Device Name <printDeviceInfo:0: get CL_DEVICE_NAME size : error -6>
Device Vendor Xilinx
Device Vendor ID 0
Device Version OpenCL 1.0
Driver Version 1.0
Device Type Accelerator
Device Profile EMBEDDED_PROFILE
Device Available No
Compiler Available No
Max compute units 0
Max clock frequency 0MHz
Max work item dimensions 3
Max work item sizes 4294967295x4294967295x4294967295
Max work group size 4294967295
Preferred / native vector sizes
char 1 / 1
short 1 / 1
int 1 / 1
long 1 / 1
half 1 / 1 (n/a)
float 1 / 1
double 0 / 1 (n/a)
[XRT] ERROR: clGetDeviceInfo: invalid param_name
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 64, Little-Endian
Global memory size 0
Error Correction support Yes
Max memory allocation 4294967296 (4GiB)
Minimum alignment for any data type 128 bytes
Alignment of base address 32768 bits (4096 bytes)
Global Memory cache type None
Image support Yes
Max number of samplers per kernel 0
Max 2D image size 8192x8192 pixels
Max 3D image size 2048x2048x2048 pixels
Max number of read image args 128
Max number of write image args 8
Local memory type Local
Local memory size 16384 (16KiB)
Max number of constant args 8
Max constant buffer size 4194304 (4MiB)
Max size of kernel argument 2048 (2KiB)
Queue properties
Out-of-order execution Yes
Profiling Yes
Profiling timer resolution 1ns
Execution capabilities
Run OpenCL kernels Yes
Run native kernels No
Device Extensions
NULL platform behavior
clGetPlatformInfo(NULL, CL_PLATFORM_NAME, ...) Xilinx
clGetDeviceIDs(NULL, CL_DEVICE_TYPE_ALL, ...) Success []
clCreateContext(NULL, ...) [default] Success []
[XRT] ERROR: No devices found
clCreateContextFromType(NULL, CL_DEVICE_TYPE_DEFAULT) No devices found in platform
[XRT] ERROR: No devices found
clCreateContextFromType(NULL, CL_DEVICE_TYPE_CPU) No devices found in platform
[XRT] ERROR: No devices found
clCreateContextFromType(NULL, CL_DEVICE_TYPE_GPU) No devices found in platform
clCreateContextFromType(NULL, CL_DEVICE_TYPE_ACCELERATOR) Success (1)
Platform Name Xilinx
Device Name
[XRT] ERROR: No devices found
clCreateContextFromType(NULL, CL_DEVICE_TYPE_CUSTOM) No devices found in platform
clCreateContextFromType(NULL, CL_DEVICE_TYPE_ALL) Success (1)
Platform Name Xilinx
Device Name
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment