Утилита для вывода параметров всех дступных OpenCL платформ и устройств
clinfo [опции]
ЗОСРВ «Нейтрино»
arm, e2k, mips, ppc, x86
Утилита предназначена для первичной проверки доступности на конкретной платформе технологии GPGPU в части стандартов группы OpenCL, а также определения параметров функционирования соответствующих целевых устройств.
Вывод команды clinfo
в случае недоступности OpenCL:
Number of platforms 0
Пример вывода команды clinfo
при наличии доступных устройств:
Number of platforms 1Platform Name CloverPlatform Vendor MesaPlatform Version OpenCL 1.1 Mesa 13.1.0-develPlatform Profile FULL_PROFILEPlatform Extensions cl_khr_icdPlatform Extensions function suffix MESAPlatform Name CloverNumber of devices 1Device Name AMD CAPE VERDE (DRM 2.42.0 / 20.09, LLVM 3.8.1)Device Vendor AMDDevice Vendor ID 0x1002Device Version OpenCL 1.1 Mesa 13.1.0-develDriver Version 13.1.0-develDevice OpenCL C Version OpenCL C 1.1Device Type GPUDevice Profile FULL_PROFILEDevice Available YesCompiler Available YesMax compute units 4Max clock frequency 0MHzMax work item dimensions 3Max work item sizes 256x256x256Max work group size 256=== CL_PROGRAM_BUILD_LOG ===Preferred work group size multiple <getWGsizes:1256: create kernel : error -46>Preferred / native vector sizeschar 16 / 16short 8 / 8int 4 / 4long 2 / 2half 0 / 0 (n/a)float 4 / 4double 2 / 2 (cl_khr_fp64)Half-precision Floating-point support (n/a)Single-precision Floating-point support (core)Denormals NoInfinity and NANs YesRound to nearest YesRound to zero NoRound to infinity NoIEEE754-2008 fused multiply-add NoSupport is emulated in software NoCorrectly-rounded divide and sqrt operations NoDouble-precision Floating-point support (cl_khr_fp64)Denormals YesInfinity and NANs YesRound to nearest YesRound to zero YesRound to infinity YesIEEE754-2008 fused multiply-add YesSupport is emulated in software NoAddress bits 64, Little-EndianGlobal memory size 2147483648 (2GiB)Error Correction support NoMax memory allocation 1503238553 (1.4GiB)Unified memory for Host and Device YesMinimum alignment for any data type 128 bytesAlignment of base address 1024 bits (128 bytes)Global Memory cache type NoneImage support NoLocal memory type LocalLocal memory size 32768 (32KiB)Max number of constant args 16Max constant buffer size 1503238553 (1.4GiB)Max size of kernel argument 4399549749657 (4.001TiB)Queue propertiesOut-of-order execution NoProfiling YesProfiling timer resolution 0nsExecution capabilitiesRun OpenCL kernels YesRun native kernels NoDevice Extensions cl_khr_global_int32_base_atomics cl_khr_global_int32_extended_atomics cl_khr_local_int32_base_atomics cl_khr_local_int32_extended_atomics cl_khr_byte_addressable_store cl_khr_fp64NULL platform behaviorclGetPlatformInfo(NULL, CL_PLATFORM_NAME, ...) CloverclGetDeviceIDs(NULL, CL_DEVICE_TYPE_ALL, ...) Success [MESA]clCreateContext(NULL, ...) [default] Success [MESA]clCreateContextFromType(NULL, CL_DEVICE_TYPE_DEFAULT) Success (1)Platform Name CloverDevice Name AMD CAPE VERDE (DRM 2.42.0 / 20.09, LLVM 3.8.1)clCreateContextFromType(NULL, CL_DEVICE_TYPE_CPU) No devices found in platformclCreateContextFromType(NULL, CL_DEVICE_TYPE_GPU) Success (1)Platform Name CloverDevice Name AMD CAPE VERDE (DRM 2.42.0 / 20.09, LLVM 3.8.1)clCreateContextFromType(NULL, CL_DEVICE_TYPE_ACCELERATOR) No devices found in platformclCreateContextFromType(NULL, CL_DEVICE_TYPE_CUSTOM) No devices found in platformclCreateContextFromType(NULL, CL_DEVICE_TYPE_ALL) Success (1)Platform Name CloverDevice Name AMD CAPE VERDE (DRM 2.42.0 / 20.09, LLVM 3.8.1)ICD loader propertiesICD loader Name OpenCL ICD LoaderICD loader Vendor OCL Icd free softwareICD loader Version 2.2.12ICD loader Profile OpenCL 2.2NOTE: your OpenCL library declares to support OpenCL 2.2,but it seems to support up to OpenCL 1.0 only.NOTE: your OpenCL library only supports OpenCL 1.0,but some installed platforms support OpenCL 1.1.Programs using 1.1 features may crashor behave unexpectedly
Графическая подсистема ЗОСРВ «Нейтрино»
Предыдущий раздел: Информационные утилиты