Когда я выполняю clinfo, я получаю отказ seg. Я пытался переустановить OpenCL, но он не помог. Я использую Ubuntu 16.04, если это имеет какое-либо значение.
Я также получаю-1 ошибку на clGetDeviceIDs.
Platform Name Clover
Number of devices 0
Platform Name Intel(R) OpenCL HD Graphics
Number of devices 1
Device Name Intel(R) Gen9 HD Graphics NEO
Device Vendor Intel(R) Corporation
Device Vendor ID 0x8086
Device Version OpenCL 2.1 NEO
Driver Version 19.06.12357
Device OpenCL C Version OpenCL C 2.0
Device Type GPU
Device Profile FULL_PROFILE
Max compute units 24
Max clock frequency 1000MHz
Device Partition (core)
Max number of sub-devices 0
Supported partition types None
Max work item dimensions 3
Max work item sizes 256x256x256
Max work group size 256
Segmentation fault (core dumped)
Помогите.
Вы можете получать еще некоторые детали о том, что пошло не так, как надо, если Вы запускаете программу через valgrind, как это:
valgrind clinfo