Установить OpenCL на Ubuntu 17.04, Intel
Я пытаюсь установить OpenCL на ubuntu 17.04 с:
$ lshw :
*-cpu
product: Intel(R) Core(TM) i5-3210M CPU @ 2.50GHz
vendor: Intel Corp.
physical id: 1
bus info: cpu@0
size: 2899MHz
capacity: 3100MHz
width: 64 bits
*-display
description: VGA compatible controller
product: 3rd Gen Core processor Graphics Controller
vendor: Intel Corporation
physical id: 2
bus info: pci@0000:00:02.0
version: 09
width: 64 bits
clock: 33MHz
capabilities: vga_controller bus_master cap_list rom
configuration: driver=i915 latency=0
resources: irq:34 memory:a0000000-a03fffff memory:90000000-9fffffff ioport:2000(size=64) memory:c0000-dffff
До сих пор не удалось найти какие-либо документы. [.d9]
---- В соответствии с @Thomas, я установил: apt-get install beignet clinfo
До сих пор не похоже на opencl gpu support
Здесь выведено сообщение:
$ clinfo :
Number of platforms 1
Platform Name Intel Gen OCL Driver
Platform Vendor Intel
Platform Version OpenCL 2.0 beignet 1.3
Platform Profile FULL_PROFILE
Platform 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_3d_image_writes cl_khr_image2d_from_buffer cl_khr_depth_images cl_khr_spir cl_khr_icd cl_intel_accelerator cl_intel_subgroups cl_intel_subgroups_short
Platform Extensions function suffix Intel
beignet-opencl-icd: no supported GPU found, this is probably the wrong opencl-icd package for this hardware
(If you have multiple ICDs installed and OpenCL works, you can ignore this message)
Platform Name Intel Gen OCL Driver
Number of devices 0
NULL platform behavior
clGetPlatformInfo(NULL, CL_PLATFORM_NAME, ...) Intel Gen OCL Driver
beignet-opencl-icd: no supported GPU found, this is probably the wrong opencl-icd package for this hardware
(If you have multiple ICDs installed and OpenCL works, you can ignore this message)
clGetDeviceIDs(NULL, CL_DEVICE_TYPE_ALL, ...) Intel Gen OCL Driver
clCreateContext(NULL, ...) [default] No devices found in platform
beignet-opencl-icd: no supported GPU found, this is probably the wrong opencl-icd package for this hardware
(If you have multiple ICDs installed and OpenCL works, you can ignore this message)
clCreateContextFromType(NULL, CL_DEVICE_TYPE_CPU) No devices found in platform
beignet-opencl-icd: no supported GPU found, this is probably the wrong opencl-icd package for this hardware
(If you have multiple ICDs installed and OpenCL works, you can ignore this message)
clCreateContextFromType(NULL, CL_DEVICE_TYPE_GPU) No devices found in platform
beignet-opencl-icd: no supported GPU found, this is probably the wrong opencl-icd package for this hardware
(If you have multiple ICDs installed and OpenCL works, you can ignore this message)
clCreateContextFromType(NULL, CL_DEVICE_TYPE_ACCELERATOR) No devices found in platform
beignet-opencl-icd: no supported GPU found, this is probably the wrong opencl-icd package for this hardware
(If you have multiple ICDs installed and OpenCL works, you can ignore this message)
clCreateContextFromType(NULL, CL_DEVICE_TYPE_CUSTOM) No devices found in platform
beignet-opencl-icd: no supported GPU found, this is probably the wrong opencl-icd package for this hardware
(If you have multiple ICDs installed and OpenCL works, you can ignore this message)
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
Вы можете установить пакет beignet для использования с Intel, а clinfo будет полезен для проверки того, что распознано.
apt-get install beignet clinfo
Затем запустите clinfo, чтобы проверить устройства openCL. [ ! d1] clinfo
В зависимости от ваших планов вам также может потребоваться установка пакетов разработки или других библиотек.
apt-get install beignet-dev
Для библиотек или программ, которые вам интересны, используйте следующую команду, чтобы найти их.
apt-cache search opencl
Вы можете установить пакет beignet для использования с Intel, а clinfo будет полезен для проверки того, что распознано.
apt-get install beignet clinfo
Затем запустите clinfo, чтобы проверить устройства openCL. [ ! d1] clinfo
В зависимости от ваших планов вам также может потребоваться установка пакетов разработки или других библиотек.
apt-get install beignet-dev
Для библиотек или программ, которые вам интересны, используйте следующую команду, чтобы найти их.
apt-cache search opencl