我已经安装了来自http://support.amd.com/en-us/download/desktop?os=Linux+x86_64的专有 AMD 驱动程序和来自http://developer.amd.com/tools-的用于 OpenCL 的 AMD APP SDK和-sdks/opencl-zone/amd-accelerated-parallel-processing-app-sdk/。我还使用 OpenCL 标志从源代码构建了 go-ethereum。但是,当我尝试在 geth 中设置 GPU 时,我得到:
aaron@o2:~$ lspci | grep VGA
01:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Cypress PRO [Radeon HD 5850]
02:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Cypress PRO [Radeon HD 5850]
aaron@o2:~$ aticonfig --list-adapters
* 0. 01:00.0 AMD Radeon HD 5800 Series
1. 02:00.0 AMD Radeon HD 5800 Series
* - Default adapter
aaron@o2:~$ Documents/go-ethereum/build/bin/geth gpuinfo
=============================================
============ OpenCL Device Info =============
=============================================
Platform id 0
Platform Name AMD Accelerated Parallel Processing
Platform Vendor Advanced Micro Devices, Inc.
Platform Version OpenCL 2.0 AMD-APP (1912.5)
Platform Extensions cl_khr_icd cl_amd_event_callback cl_amd_offline_devices
Platform Profile FULL_PROFILE
Device error (check your GPU drivers) : cl: Device Not Found
有人可以给我指点如何解决驱动程序配置问题,或者如何测试 OpenCL 驱动程序是否安装正确?