简体   繁体   English

AMD OpenCL未将Intel HD 4000检测为GPU设备

[英]AMD OpenCL does not detect Intel HD 4000 as a GPU device

I have a laptop which comes with Intel HD 4000 graphics. 我有一台配备Intel HD 4000图形卡的笔记本电脑。 I am running Ubuntu 12.04. 我正在运行Ubuntu 12.04。 Now, when I ran some opencl examples that come with the AMD OpenCL SDK, the SDK used the CPU, because no GPU device could be recognized. 现在,当我运行AMD OpenCL SDK附带的一些opencl示例时,该SDK使用了CPU,因为无法识别GPU设备。

The System Details screen shows "Graphics Intel® Ivybridge Mobile x86/MMX/SSE2" . 系统详细信息屏幕显示“图形Intel®Ivybridge Mobile x86 / MMX / SSE2” Running lspci shows: 运行lspci显示:

$lspci -nnk | grep -iA3 vga 
00:02.0 VGA compatible controller [0300]: Intel Corporation 3rd Gen Core processor
Graphics Controller [8086:0166] (rev 09)
  Subsystem: Lenovo Device [17aa:2208]
  Kernel driver in use: i915
  Kernel modules: i915

I believe that this confirms that Intel HD 4000 is working on my machine. 我相信这证实了我的计算机上正在运行Intel HD 4000。 But I am not sure why it is not being recognized by the opencl examples as a GPU device. 但是我不确定为什么opencl示例不能将其识别为GPU设备。 Please help. 请帮忙。

Thank you. 谢谢。

The title of your question says it: you need to install Intel OpenCL SDK in order to run on an Intel GPU, since AMD OpenCL is targeted towards AMD GPUs. 您的问题标题是这样的:由于AMD OpenCL面向AMD GPU,因此您需要安装Intel OpenCL SDK才能在Intel GPU上运行。 Download Intel OCL SDK here and make sure that your driver supports OpenCL. 在此处下载Intel OCL SDK 并确保您的驱动程序支持OpenCL。

Having the same problem. 有同样的问题。 Installed Intel's SDK ( opencl_runtime_14.2_x64_4.5.0.8 ). 安装了英特尔的SDK( opencl_runtime_14.2_x64_4.5.0.8 )。 And it sees only the processor, no graphics card. 它只看到处理器,没有图形卡。 (And it is actually strange -- I think I did run OpenCL on this same laptop's graphics couple years ago. Maybe an old version of SDK would catch the card.) (这实际上很奇怪-我认为几年前我曾在同一台笔记本电脑的图形上运行过OpenCL。也许旧版本的SDK会卡住它。)

People say : "Intel doesn't supply OpenCL support for their GPUs under Linux." 人们说 :“英特尔不为Linux下的GPU提供OpenCL支持。”

And add : "go for beignet ." 并添加 :“ beignet Apparently, beignet is an open source project spawned by Intel for developing open driver by the community for Linux. 显然, beignet是英特尔推出的一个开放源代码项目,用于由Linux社区开发开放驱动程序。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM