如何让OpenCL在ATI Radeon卡上工作 [英] How to get OpenCL working on an ATI Radeon card

查看:81
本文介绍了如何让OpenCL在ATI Radeon卡上工作的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正尝试编译Nintendo模拟器 dolphin .我下载了后备箱,它编译良好,但无法链接.相反,我收到此错误:

I'm trying to compile dolphin, a Nintendo emulator. I downloaded the trunk and it compiled fine but it won't link. Instead, I get this error:


Linking CXX shared library ../../../Binaries/plugins/libPlugin_VideoOGL.so
/usr/bin/ld: cannot find -lOpenCL
collect2: ld returned 1 exit status
make[2]: *** [Binaries/plugins/libPlugin_VideoOGL.so] Error 1
make[1]: *** [Source/Plugins/Plugin_VideoOGL/CMakeFiles/Plugin_VideoOGL.dir/all] Error 2
make: *** [all] Error 2

看起来我需要某种OpenCL库.我进行了一些研究,以某种方式知道需要安装fglrx.它进展不顺利.实际上,当我尝试运行fglrxinfo时,出现段错误..nice.我的视频并没有完全被清除,所以我尝试了制作,并遇到了相同的OpenCL错误.我只想让海豚工作.我有什么选择?

It looks like I need some sort of OpenCL library. I did some research and somehow had an idea that I needed to install fglrx. It did not go smoothly. In fact, when I tried to run fglrxinfo, I got a seg fault..nice. My video wasn't totally hosed, so I tried a make and got the same OpenCL error above. I just want to get Dolphin working. What are my options?

这是我的规格:

  • Ubuntu 10.4
  • Radeon X1200(RS690M)

推荐答案

您需要安装ATI Stream SDK.我认为ubuntu 10.10包含这些软件包,如果没有,您可以在此处找到.

You need to install the ATI Stream SDK. I think ubuntu 10.10 includes the packages, if not, you can find the installed here.

此外,您的GPU不支持OpenCL,因此您将仅获得CPU OpenCL设备,而没有太多性能改进.

Also your GPU doesn't support OpenCL, so you will get only the CPU OpenCL device, without much performance improvement.

这篇关于如何让OpenCL在ATI Radeon卡上工作的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆